foostart/package-acl
Composer 安装命令:
composer require foostart/package-acl
包简介
Laravel authentication and ACL package with a cool admin panel. Laravel 12.x
README 文档
README
git remote set-url origin git@github.com-foostart:foostart/package-acl.git
- Access control list
- Verson: 12.x
- Support: Laravel 12.x
- Contact foostart.com@gmail.com to support other versions
- References:
Requirements
- Config database with .env file
- Laravel 12.x
- PHP 8.3
Requirements
- Install with composer: composer require foostart/package-acl
Step 1: Regist package to Laravel
Now open the file config/app.php and add to the providers option the following line:
- Foostart\Acl\Authentication\AuthenticationServiceProvider::class,
- Foostart\Category\CategoryServiceProvider::class,
Step 2: Regist middleware to Laravel
Now open the file app/Http/Kernel.php and add the following lines to your routeMiddleware array:
- 'admin_logged' => \Foostart\Acl\Http\Middleware\AdminLogged::class,
- 'logged' => \Foostart\Acl\Http\Middleware\Logged::class,
- 'can_see' => \Foostart\Acl\Http\Middleware\CanSee::class,
- 'has_perm' => \Foostart\Acl\Http\Middleware\HasPerm::class,
- 'in_context' => \Foostart\Category\Middleware\InContext::class,
Step 3: Delete user and password migration file in database/migrations
Step 4: Install
- php artisan authentication:install
Which provider or tag's files would you like to publish?:
Select option [* ] Provider: Foostart\Acl\Authentication\AuthenticationServiceProvider
- php artisan vendor:publish --provider="Foostart\Category\CategoryServiceProvider" --force
- Ref: https://packagist.org/packages/foostart/package-post
Tips 1: Publish
php artisan vendor:publish --force
foostart/package-acl 适用场景与选型建议
foostart/package-acl 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 25 次下载、GitHub Stars 达 2, 最近一次更新时间为 2025 年 05 月 05 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「Authentication」 「acl」 「signup」 「laravel」 「profile」 「admin panel」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 foostart/package-acl 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 foostart/package-acl 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 foostart/package-acl 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Laravel Multiauth package
Automatically logs-in users if they are already authenticated by a remote source. (e.g. environment variable REMOTE_USER)
GraphQL authentication for your headless Craft CMS applications.
UserBase PHP Client: Identity + Login + Signup Service
Integrate Monk ID authentication and single sign-on for apps and websites on the server-side.
Adds page type for a MailChimp signup form. Form fields are read automatically from the MailChimp list.
统计信息
- 总下载量: 25
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 19
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-05-05