engoreoo/atomic-starter-kit
Composer 安装命令:
composer require engoreoo/atomic-starter-kit
包简介
A comprehensive Laravel package that provides rapid setup for Authentication, Dynamic Authorization (ACL), and a full-featured Admin Dashboard.
关键字:
README 文档
README
A comprehensive Laravel package that provides rapid setup for Authentication, Dynamic Authorization (ACL), and a full-featured Admin Dashboard.
Created by Ahmed Hany
✨ Features
- 🚀 One-Command Installation: Setup your entire admin panel in minutes.
- 🔐 Integrated Authentication: Built-in, fully customizable authentication system (Login, Register, Password Reset) replacing the need for external Breeze installation.
- 👥 Dynamic Role & Permission System: Granular access control with a database-driven permission system.
- 🎨 Modern Admin Dashboard: Sleek, glassmorphism-inspired UI built with Tailwind CSS.
- 🔑 Super Admin System: Dedicated Super Admin role with global access.
- 📊 User Management: Complete user CRUD operations.
- 🛡️ Permission Middleware: Protect routes easily using
ultimate.permission. - ⚙️ Settings Management: Built-in settings configuration.
- 🔍 Auto-Route Scanning: Automatically detects routes and generates permissions.
📦 Installation
Step 1: Add Repository Configuration
IMPORTANT: Since this package is hosted on GitHub, you need to tell Composer where to find it. Add the following to your project's composer.json file in the repositories array:
"repositories": [ { "type": "vcs", "url": "https://github.com/EngOREOO/atomic-starter-kit.git" } ],
Step 2: Require the Package
Run the following command in your terminal:
composer require engoreoo/ultimate-starter-kit
Step 3: Install & Setup
Run the installation command to set up the database, publish assets, and configure the system:
php artisan ultimate:install
Follow the interactive prompts to set up your Super Admin account.
Step 4: Frontend Development
Install dependencies and start the development server to compile the Tailwind CSS styles:
npm install npm run dev
🔧 Configuration
The package configuration file is located at config/ultimate.php.
return [ // The role name for the super admin who has all permissions 'super_admin_role' => 'Super Admin', // The URI prefix for all admin routes (e.g., yoursite.com/admin/dashboard) 'route_prefix' => 'admin', // The middleware group to apply to admin routes 'middleware_group' => 'web', // Whether to automatically scan routes for permissions after installation 'scan_on_install' => true, ];
🔐 Authentication & Customization
This package comes with its own authentication controllers and views, giving you full control over the login flow without relying on third-party scaffolding like Laravel Breeze.
Views
All authentication views are located in vendor/ultimate/auth. To customize them, you can publish the views to your main resources/views directory:
php artisan vendor:publish --tag=ultimate-views
This will copy all package views to resources/views/vendor/ultimate. You can then edit files like:
resources/views/vendor/ultimate/auth/login.blade.phpresources/views/vendor/ultimate/layouts/guest.blade.php(The layout used for auth pages)
Routes
Authentication routes are automatically registered with the prefix defined in your config (default: /admin).
- Login:
/admin/login - Register:
/admin/register - Dashboard:
/admin/dashboard
🛡️ Usage
Protecting Routes
To protect your own routes using the dynamic permission system, use the ultimate.permission middleware. The middleware automatically checks if the user has permission to access the route based on the route name (e.g., admin.posts.create).
Route::middleware(['auth', 'ultimate.permission'])->group(function () { Route::resource('posts', PostController::class); });
Route Scanning
Whenever you add new routes that you want to be controlled by permissions, run the scan command:
php artisan ultimate:scan-routes
This will detect new routes and add them to the permissions table in your database.
🛠️ Available Commands
| Command | Description |
|---|---|
php artisan ultimate:install |
Installs the package, runs migrations, and creates the Super Admin. |
php artisan ultimate:scan-routes |
Scans your application routes and syncs them with the permissions table. |
📋 Troubleshooting
"Could not find a matching version"
- Ensure you added the
repositoriesblock to yourcomposer.jsoncorrectly. - Run
composer clear-cache.
"GitHub API limit exhausted"
- Use a personal access token with Composer:
composer config --global github-oauth.github.com <YOUR_TOKEN>
Styles look broken
- Ensure you are running
npm run devor have runnpm run build. - Verify that
ultimate-starter-kitviews are being scanned by Tailwind (this is handled automatically during install, but checktailwind.config.jsif issues persist).
Author
Ahmed Hany
- 🌐 GitHub: @EngOREOO
- 📧 Email: engoreoo@gmail.com
License
The MIT License (MIT).
engoreoo/atomic-starter-kit 适用场景与选型建议
engoreoo/atomic-starter-kit 是一款 基于 Blade 开发的 Composer 扩展包,目前已累计 3 次下载、GitHub Stars 达 0, 最近一次更新时间为 2025 年 12 月 04 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「admin」 「authorization」 「Authentication」 「acl」 「laravel」 「dashboard」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 engoreoo/atomic-starter-kit 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 engoreoo/atomic-starter-kit 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 engoreoo/atomic-starter-kit 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Automatically logs-in users if they are already authenticated by a remote source. (e.g. environment variable REMOTE_USER)
2lenet/EasyAdminPlusBundle
GraphQL authentication for your headless Craft CMS applications.
Ory-Hydra OAuth 2.0 Client Provider for The PHP League OAuth2-Client
A lightweight and powerful OAuth 2.0 authorization and resource server library with support for all the core specification grants. This library will allow you to secure your API with OAuth and allow your applications users to approve apps that want to access their data from your API.
Analysis module for finding problematical shop data.
统计信息
- 总下载量: 3
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 19
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-12-04