LaravelPackages.net
Acme Inc.
Toggle sidebar
foostart/package-acl

Laravel authentication and ACL package with a cool admin panel. Laravel 12.x

25
2
12.2.9
About foostart/package-acl

foostart/package-acl is a Laravel package for laravel authentication and acl package with a cool admin panel. laravel 12.x. It currently has 2 GitHub stars and 25 downloads on Packagist (latest version 12.2.9). Install it with composer require foostart/package-acl. Discover more Laravel packages by foostart or browse all Laravel packages to compare alternatives.

Last updated

Foostart: Package ACL

git remote set-url origin [email protected]:foostart/package-acl.git

  • Access control list
  • Verson: 12.x
  • Support: Laravel 12.x
  • Contact [email protected] to support other versions
  • References:
  • https://cartalyst.com
  • https://sentry.io

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:

  1. Foostart\Acl\Authentication\AuthenticationServiceProvider::class,
  2. 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:

  1. 'admin_logged' => \Foostart\Acl\Http\Middleware\AdminLogged::class,
  2. 'logged' => \Foostart\Acl\Http\Middleware\Logged::class,
  3. 'can_see' => \Foostart\Acl\Http\Middleware\CanSee::class,
  4. 'has_perm' => \Foostart\Acl\Http\Middleware\HasPerm::class,
  5. 'in_context' => \Foostart\Category\Middleware\InContext::class,

Step 3: Delete user and password migration file in database/migrations

Step 4: Install

  1. php artisan authentication:install
Which provider or tag's files would you like to publish?:
Select option [* ] Provider: Foostart\Acl\Authentication\AuthenticationServiceProvider
  1. php artisan vendor:publish --provider="Foostart\Category\CategoryServiceProvider" --force
  2. Ref: https://packagist.org/packages/foostart/package-post

Tips 1: Publish

php artisan vendor:publish --force

Star History Chart