Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 487 Bytes

README.md

File metadata and controls

41 lines (29 loc) · 487 Bytes

Mage

Not for Production

Install

composer require omatech/mage

Setup

php artisan vendor:publish --tag=mage-publish

Will seed the tables after migrate

php artisan migrate

Update assets

php artisan vendor:publish --tag=mage-assets --force

Create User

php artisan mage:users-create

Blade

Improve @can directive adding guard for spatie

@can('permission-name', 'guard')
@elseif('permission-name', 'guard')
@end