Download the PHP package laraditz/permission-plus without Composer

On this page you can find all versions of the php package laraditz/permission-plus. 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 permission-plus

Laravel Permission Plus

Latest Version on Packagist Total Downloads GitHub Actions

Laravel permission management for the lazy. The permission plus is a RRBAC (Role/Route Based Access Control) which is a method to restrict access control based on the application routes and roles. (Warning: This package is still in an early stage of development and may contain bugs).

Prerequisites

You can install the package via composer:

If you don't have one, you may create a new user account to be able to access the permission plus page. Use Laravel starter kits to get ur application up and running in no time.

Setup

Run the migration command to create the necessary database table.

Add HasPermissionPlus trait to your User model.

(Optional) You can publish the config file via this command:

Usage

After login, go to /permission-plus/permissions to manage your permission and you will see below page. You may click Generate button to generate all routes in your applications to start adding permissions.

Repeat the step if you add more routes.

Deploy to production

By default, all App\Models\Users can access Permission Page locally. To allow them to access Permission Page in production, you must take a few extra steps to ensure that only the correct users have access to the page.

To set up your App\Models\User to access Permission Page in non-local environments, you must overwrite the canAccessPermissionPlus method.

To Do

Testing

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

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

Credits

License

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


All versions of permission-plus with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
illuminate/support Version ^8.0||^9.0
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 laraditz/permission-plus contains the following files

Loading the files please wait ....