원클릭으로
atomic-framework-cli-entrypoint
Project-level CLI entrypoint script: shebang, bootstrap and delegation to the framework command handler.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Project-level CLI entrypoint script: shebang, bootstrap and delegation to the framework command handler.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | atomic-framework-cli-entrypoint |
| description | Project-level CLI entrypoint script: shebang, bootstrap and delegation to the framework command handler. |
| argument-hint | entrypoint, shebang, php atomic, bootstrap/app.php, vendor/autoload.php |
| user-invocable | true |
php atomic or execute the atomic file directly.This file is the tiny, project-root executable that boots Composer autoload, loads the application bootstrap and delegates CLI control to the framework.
Place the file in the project root as atomic (preferred) or atomic.php.
Make it executable (chmod +x atomic) so it can be run directly (./atomic).
#!/usr/bin/env php
<?php
define('ATOMIC_START', microtime(true));
require __DIR__.'/vendor/autoload.php';
global $argv;
$app = require_once __DIR__.'/bootstrap/app.php';
$status = $app->handle_command($argv);
exit($status);
bootstrap/app.php MUST return the application/container instance exposing handle_command(array $argv): int../atomic help or php atomic help to list available commands../atomic helpphp atomic initbootstrap/app.php returns a valid application and routes/cli.php is loaded by the bootstrap.vendor/autoload.php exists (run composer install).Use when working on Atomic CLI commands, API entrypoints, console input/output, scaffolders, init flows, migrations/queue/scheduler CLI subcommands, or command-facing bootstrap logic.
Use when working on Atomic App layer (Controller, Model, Page, Storage, PluginManager), Auth flows (Auth, GoogleAuth, TelegramAuth, adapters, services), Session (SessionManager, drivers), and app-level models (Meta, Options, MutexLock).
Use when working on Atomic Core: bootstrap, config loading, App class, request/response helpers, routing, middleware, logging channels, error handling, Prefly checks, DB connections, migrations, crypto, guard roles, ID generation, upload, filesystem, and all route-loader behavior.
Use when working on Atomic data layer: Model, Validator, cache drivers, Codes, Enums, Exceptions hierarchy, file exports (PDF/XLS/CSV), and Support helpers.
Use when you need a fast cross-reference of all 44 Atomic Framework documentation files to find which doc covers which subsystem, feature, or integration.
Use when working on Atomic events (dot-notation typed event bus), hooks (WordPress-style add_action/add_filter), shortcodes, i18n localization, mail sending (Mailer, Notifier), or text-extensibility features.