webappid / laravel-user
Core simple user management for laravel
5.3.0
2022-10-09 11:32 UTC
Requires
- php: >=8.0.0
- doctrine/dbal: ^2.5
- illuminate/support: ^8.0|^9.0
- laravel/sanctum: ^2.15|^3.0
- nesbot/carbon: ^2.0
- webappid/lazy: ^1.0@dev
- webappid/smartresponse: ^2.0
Requires (Dev)
- mockery/mockery: ^1.0
- orchestra/testbench: ^6.0|^7.0
- phpunit/phpunit: ^9.0|^10.0
- squizlabs/php_codesniffer: ^3.0
- 5.3.0
- 5.2.0
- 5.1.2
- 5.1.1
- 5.1.0
- 5.0.1
- 5.0.0
- 4.7.0
- 4.6.5
- 4.6.4
- 4.6.3
- 4.6.2
- 4.6.1
- 4.6.0
- 4.5.4
- 4.5.3
- 4.5.2
- 4.5.1
- 4.5.0
- 4.4.3
- 4.4.2
- 4.4.1
- 4.4.0
- 4.3.7
- 4.3.6
- 4.3.5
- 4.3.4
- 4.3.3
- 4.3.2
- 4.3.1
- 4.3.0
- 4.2.4
- 4.2.3
- 4.2.2
- 4.2.1
- 4.2.0
- 4.1.3
- 4.0.3
- 4.0.2
- 4.0.1
- 4.0.0
- 3.1.0
- 3.0.0
- 2.0.2
- 2.0.1
- 2.0.0
- 1.6.0
- 1.5.6
- 1.5.5
- 1.5.4
- 1.5.3
- 1.5.2
- 1.5.1
- 1.5.0
- 1.4.0
- 1.3.9
- 1.3.8
- 1.3.7
- 1.3.6
- 1.3.5
- 1.3.4
- 1.3.3
- 1.3.2
- 1.3.1
- 1.2.1
- 1.1.1
- dev-master / 1.0.x-dev
- 1.0.1
- 1.0.0
This package is auto-updated.
Last update: 2024-11-09 16:11:50 UTC
README
this package is the core of user management based on laravel.
This package required laravel auth.
Step by step to use :
- run
php artisan make:auth
. - run
php artisan migrate
. - run
composer require webappid/laravel-user
. - run
php artisan migrate
one more time. - run
webappid:user:seed
to create default data. - run
php artisan db:seed --class='WebAppId\User\Seeds\AdminResetPasswordTableSeeder'
to reset admin use. - default root / admin email is root@noname.com
Use as route middleware :
add new middleware in $routeMiddleware
section in app\Http\Kernel.php
'role' => \WebAppId\User\Middleware\RoleCheck::class, 'permission' => \WebAppId\User\Middleware\PermissionCheck::class,
Usage
Route::group(['middleware' => ['auth', 'role:admin', 'permission:allaccess']], function () { })
If you have any question about this package, please don't hesitate to drop me an email at dyan.galih@gmail.com
Thanks to everyone to help me build this package.