2017 © Pedro Peláez
 

library roles-admin

Package creates plain Roles and serves for CRUD operations of Roles in administrative panel

image

vadiasov/roles-admin

Package creates plain Roles and serves for CRUD operations of Roles in administrative panel

  • Tuesday, March 13, 2018
  • by vadiasov
  • Repository
  • 0 Watchers
  • 0 Stars
  • 18 Installations
  • HTML
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 20 % Grown

The README.md

Laravel RolesAdmin

This package creates plain roles for users and CRUD pages for them in administrative panel., (*1)

It includes a ServiceProvider to register the package and attach it to the output. It includes migrations to create DB roles. You can publish seeds and use it to create demo roles. It includes views of the CRUD pages (blade sections)., (*2)

Installation

Add the package to root composer.json:, (*3)

"require": {
        ...
        "vadiasov/roles-admin": "dev-master",
  }

Then run:, (*4)

composer update

Register package in config/app.php, (*5)

'providers' => [
        /*
         * Package Service Providers...
         */
        Vadiasov\RolesAdmin\RolesServiceProvider::class,

Create model:, (*6)

php artisan make:model Role

Publish migrations and seeds. Run:, (*7)

php artisan vendor:publish

and enter appropriate number of this package (see terminal output after last command)., (*8)

Migrate:, (*9)

php artisan migrate

Seed if you need demo data:, (*10)

php artisan db:seed class=RolesSeeder

Routes

The routes are in the package:, (*11)

admin/roles
admin/roles/create
admin/roles/{id}/edit
admin/roles/{id}/delete

The Versions

13/03 2018

dev-master

9999999-dev

Package creates plain Roles and serves for CRUD operations of Roles in administrative panel

  Sources   Download

MIT

by Vadis
by Vadis

13/03 2018

1.1.0

1.1.0.0

Package creates plain Roles and serves for CRUD operations of Roles in administrative panel

  Sources   Download

MIT

by Vadis

19/02 2018

1.0.1

1.0.1.0

Package creates plain Roles and serves for CRUD operations of Roles in administrative panel

  Sources   Download

MIT

by Vadis