sunchayn/aion
Composer 安装命令:
composer create-project sunchayn/aion
包简介
The initial composer file to start a new project via Aion Starter Kit. This file will be re-populated based on the starter kit variant.
README 文档
README
A modular customizable Laravel starter kit
Aion is an agentic-ai ready, modular Laravel 13 starter kit that is customizable to your applications' requirements. It provides a modular and clutter-free foundation for both stateful and stateless applications, optimized for quick-starting your next project with full code ownership.
Why Aion?
Aion is designed for developers who want full control over their application's foundation without the technical debt typically associated with complex starter kits or heavy packages.
- Full Code Ownership: Unlike other options that provide capabilities like authentication or strict configuration via vendor packages, Aion places them directly in your codebase. You own every line, making customization and debugging straightforward.
- Architectural Modularity: By utilizing single-responsibility Actions, your business logic is decoupled from transport layers. This allows you to reuse the same domain logic across different application types, whether it's a REST API, an Inertia-powered frontend, or a CLI tool.
- Clutter-free: A minimalist repository structure where unnecessary folders (e.g.,
resources) are omitted when not required. Routes are isolated within Application directories inapp/Http, and tool configurations are centralized in thetools/folder. - Customizable: The configuration wizard allows you to pick the application type, support FE or not and perform granular cleanups, such as selecting only required database and log channel, ensuring you start with a lean and clutter-free repository.
Kit Technical Details
- Modular (Pseudo-DDD): Business logic is decoupled into domain modules (
app/Modules) and transport layers (a.k.a. Applications) living inapp/Http. - Agentic-AI Ready: Aion provides specialized AI guidelines and skills that build upon Laravel Boost. These are native to the codebase, enabling AI assistants to understand and follow your local architectural patterns with precision.
- Flexible Stacks: Supports Headless (API-only), or bare-minimum frontend implementations using Vue or Blade (no UI is provided as of now, only the infrastructure).
- Strict Defaults: Enforces strict Laravel standards (CarbonImmutable dates, strict models, and auto-eager loading).
- ECS Logs Provided: Supports using Elastic Common Schema (ECS) standardized logs across the board.
Available Features
Feature-wise, the authentication flow is shipped with the kit by default.
- Registration/login (stateless and stateful) [configurable/opt-in]
- Password Reset
- Email verification
- Token refresh (for stateless auth) [configurable/opt-in]
- Two-Factor Auth
- Oauth [configurable/opt-in]
- Magic Links
Directory Structure
.ai: Developer guidelines and skill definitions for AI agents..aion: Engine configuration (Features, Stacks, and Pruning Operations). This directory is deleted once the kit is initialized.app/Http: Transport Layers (REST API vs. Web/Session) consuming module logic.app/Modules: Domain logic (Auth, User, Shared) containing Actions, DTOs, and Contracts.tools: Tools configurations like phpstan.
Getting Started
Installation
You can create a new project using composer create-project:
composer create-project sunchayn/aion <project-name>
Alternatively, clone the repository and run:
composer install
Configuration Wizard
Initialize the codebase interactively using the Spark engine:
The wizard will pop-up once a new project is initialized it will help configure your application and dependency installation based on your selected stack.
Note: the command will cleanup after itself once done.
Stacks & Features
| Category | Option | Description |
|---|---|---|
| Architecture | Stack Choice | Toggle between a Bare API (headless) or API + Frontend. |
| Authentication | API Type | Choose between Stateless (JWT-based) or Stateful (Session/Cookie) security. |
| Social OAuth | Enable OAuth authentication and select providers (Google, GitHub, Apple). | |
| Infrastructure | Databases | Select needed connections. |
| Logging | Select needed logging channels. | |
| ECS | Choose ECS (Elastic Common Schema) format or default logging formats. | |
| Code Quality | PHPStan | Define the static analysis strictness level (5 to 10). |
Development Commands
| Command | Result |
|---|---|
composer test:coverage |
Runs the tests in parallel with coverage (html format). |
composer test:coverage-ci |
Runs the tests in parallel with coverage optimized for CI (clover format). |
composer style:fix |
Applies Laravel Pint code style rules. |
composer phpstan |
Performs static analysis on the core modules. |
composer rector |
Executes automated refactoring and modernization. |
License
Aion is open-source software licensed under the MIT license.
sunchayn/aion 适用场景与选型建议
sunchayn/aion 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 58 次下载、GitHub Stars 达 29, 最近一次更新时间为 2026 年 03 月 23 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「starter-kit」 「laravel-starter-kit」 「modular-laravel」 「agentic-ai」 「aion」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 sunchayn/aion 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 sunchayn/aion 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 sunchayn/aion 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Speed up the kickoff of your Laravel projects.
Laravel Starter Kits with all the necessary tools and configurations to kickstart your next project.
This is my package laravel-starter-kit
Batteries included ready to use empty laravel starter project template.
A modern PHP starter kit with MVC.
统计信息
- 总下载量: 58
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 29
- 点击次数: 32
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-03-23

