0.3.18 2023-02-01 14:19 UTC


Package adds users, basic auth, users CRUD.


1. Require package in your composer.json:

composer require studiocreativateam/auth

2. Add the service provider to your app/config/app.php:

    'providers' => [

3. Run below command to overwrite config/auth.php settings. To use User model from auth package

php artisan vendor:publish --provider="SCTeam\Auth\SCTeamServiceProvider" --tag="config-auth" --force

4. Run revisions migration:

php artisan migrate

5. Compile views:

npm run dev

6. (Optional) run seeds:

php artisan db:seed --class "SCTeam\Auth\Database\Seeders\PermissionsAndRolesSeeder"
php artisan db:seed --class "SCTeam\Auth\Database\Seeders\UsersSeeder"


The lib allows

  • create
  • read
  • update
  • delete


You can publish file by using command

php artisan vendor:publish --provider="SCTeam\Auth\SCTeamServiceProvider" --tag="{{tag1|tag2}}"

Available tags:

  • migrations
  • breadcrumbs
  • views
  • config