thephpx / user
User module
dev-main
2024-06-13 14:10 UTC
Requires
- laravel/fortify: ^1.21.3
- spatie/laravel-permission: ^6.0
Requires (Dev)
- fakerphp/faker: ^1.23
- mockery/mockery: ^1.6
- phpunit/phpunit: ^11.0
This package is auto-updated.
Last update: 2024-09-13 14:38:43 UTC
README
Installation
composer require thephpx/user
Post Installation Commands
php artisan vendor:publish --provider="Thephpx\User\Providers\UserServiceProvider" --tag="config" php artisan vendor:publish --provider="Thephpx\User\Providers\UserServiceProvider" --tag="seeder" php artisan migrate php artisan db:seed --class="ThephpxUserDatabaseSeeder"
- make sure in config/auth.php the user model points the this packages user model
'model' => env('AUTH_MODEL', Thephpx\User\Models\User::class)
Packages used
- Fortify
- Laravel permissions