Download the PHP package lwj/laravel-rbac without Composer

On this page you can find all versions of the php package lwj/laravel-rbac. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-rbac

基于数据的RBAC

适用于前后端分离项目的权限管理

树形菜单 角色管理 用户管理 API管理

Install

Require this package with composer using the following command:

After updating composer, add the service provider to the providers array in config/app.php

Laravel 5.5 uses Package Auto-Discovery, so doesn't require you to manually add the ServiceProvider.

Add the middleware alias routeMiddleware array in app/Http/Kernel.php

Generate the ENV option:

Config

You can also publish the config file to change implementations (ie. interface to specific class) or set defaults for --helpers or --sublime.

Inside the config/auth.php file you will need to make a few changes to configure Laravel to use the jwt guard to power your application authentication.

Make the following changes to the file 'config/auth':

And change the array:

Migration

You can also migrate tables and base data:

User

Default User:

'SUPER_ADMIN' env option to set super admin in this system: if you want to add new super admin,you can use '|' separator

进入docker之后 ln -sf /var/www/html/pay-php/service2/packages/laravel-rbac/public /var/www/html/pay-php/service2/public/vendor/rbac


All versions of laravel-rbac with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1.0
tymon/jwt-auth Version 1.*
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package lwj/laravel-rbac contains the following files

Loading the files please wait ....