ilbronza/accountmanager

:package_description

1.0 2022-09-19 19:40 UTC

This package is auto-updated.

Last update: 2024-12-10 14:50:10 UTC


README

Latest Version on Packagist Total Downloads Build Status StyleCI

This is where your description should go. Take a look at contributing.md to see a to do list.

Installation

Before install CRUD Package, (https://packagist.org/packages/ilbronza/crud) following the readme instructions

Before install activity log (https://spatie.be/docs/laravel-activitylog/v4/introduction) USE php artisan vendor:publish to publish activity-log migrations and config. Installation is bugged

Install laravel breeze

Via Composer

composer require ilbronza/accountmanager

$ php artisan vendor:publish --tag=accountmanager.migrations
$ php artisan migrate
$ php artisan vendor:publish --tag=accountmanager.views --force

Edit config.permissions

'permission' => IlBronza\AccountManager\Models\Permission::class,
'role' => IlBronza\AccountManager\Models\Role::class,

Edit config.auth

'users' => [
    'driver' => 'eloquent',
    'model' => IlBronza\AccountManager\Models\User::class,
],

Edit App\Models\User, add AccountManagerUserPermissionsTrait

    use AccountManagerUserPermissionsTrait;

Usage

Change log

Please see the changelog for more information on what has changed recently.

Testing

$ composer test

Contributing

Please see contributing.md for details and a todolist.

Security

If you discover any security related issues, please email author email instead of using the issue tracker.

Credits

License

license. Please see the license file for more information.