feripratama/advancetrust

This package is abandoned and no longer maintained. No replacement package was suggested.

Advance trust

1.0.2 2017-11-01 13:32 UTC

This package is not auto-updated.

Last update: 2022-02-01 13:10:35 UTC


README

This package inspired and extend the santigarcor/laratrust.

Latest Stable Version Software License Total Downloads

Install

Via composer

$ composer require feripratama/advancetrust

1. In your config/app.php add for laravel <= 5.4 only:

'providers' => array(

    App\Providers\EventServiceProvider::class,
    App\Providers\RouteServiceProvider::class,
    ...
    feripratama\advancetrust\advancetrustServiceProvider::class,
    Laratrust\LaratrustServiceProvider::class,
    Collective\Html\HtmlServiceProvider::class,
    'That0n3guy\Transliteration\TransliterationServiceProvider',

),
'aliases' => [

    'Validator' => Illuminate\Support\Facades\Validator::class,
    'View' => Illuminate\Support\Facades\View::class,
    ...
    'Laratrust'   => Laratrust\LaratrustFacade::class,
    'Form' => Collective\Html\FormFacade::class,
    'Html' => Collective\Html\HtmlFacade::class,

2. php artisan

$ php artisan vendor:publish --tag="laratrust"
$ php artisan laratrust:setup
$ php artisan laratrust:seeder
$ php artisan migrate
$ composer dump-autoload
$ php artisan db:seed --class=LaratrustSeeder
$ php artisan serve

Please run this available command after finished installation

php artisan advancetrust:add-route
php artisan advancetrust:create-controller
php artisan advancetrust:create-view
php artisan advancetrust:version

The MIT License (MIT). Please see License File for more information.