foostart / package-acl
Laravel authentication and ACL package with a cool admin panel. Laravel 12.x
12.0.9
2025-05-09 01:43 UTC
Requires
- foostart/package-category: ^12.0
- foostart/package-pexcel: ^12.0
- foostart/package-sentry: ^12.0
- gregwar/captcha: 1.1.9
- intervention/image: 2.*
- spatie/laravel-html: 3.12.0
Requires (Dev)
- fzaninotto/faker: ~1.4
- mockery/mockery: 0.9.*
- phpunit/phpunit: ~5.7
- sebastian/exporter: ^2.0
- dev-master
- 12.0.9.x-dev
- 12.0.9
- 12.0.8
- 12.0.7
- 12.0.6
- 12.0.5
- 12.0.4
- 12.0.3
- 12.0.2
- 12.0.1
- 12.0.0
- 11.1.1
- 11.1.0
- 10.0.10
- 10.0.9
- 10.0.8
- 10.0.7
- 10.0.6
- 10.0.5
- 10.0.4
- 10.0.3
- 10.0.2
- 10.0.1
- 10.0.0
- 9.42.2
- 9.42.1
- 9.0.0
- 8.25.0
- 8.24.1
- 8.0.5
- 8.0.4
- 8.0.3
- 8.0.2
- 8.0.1
- 8.0.0
- 7.23.0
- 7.0.1
- 7.0.0
- 5.0.2
- 5.0.1
- 5.0.0
- 4.0.2
- 4.0.1
- 4.0.0
- 3.1.6
- 3.1.5
- 3.1.4
- 3.1.3
- 3.1.2
- 3.1.1
- 3.1.0
- 3.0.9
- 3.0.8
- 3.0.7
- 3.0.6
- 3.0.5
- 3.0.3
- 3.0.2
- 3.0.1
- 3.0.0
- 1.0.2
- 1.0.1
- 1.0.0
- dev-3-laravel-12x/2-convert-laravelcollective-to-spatie
- dev-3-laravel-12x/1-core
- dev-2-laravel-9x/1-core
- dev-1-review/2-fixbug
- dev-1-review/1-overview
This package is auto-updated.
Last update: 2025-05-09 09:24:17 UTC
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