Download the PHP package tonystore/livewire-permission-manager without Composer

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

livewire-permission-manager

Latest Stable Version Packagist Downloads License PHP Version Require

Package that provides a graphical interface to manage roles and permissions.

REQUIREMENTS

Version Compatibility Livewire

Livewire Livewire Permission Manager
2.x 0.2.x
3.x 0.3.x

INSTALLATION VIA COMPOSER

Step 1: Composer

Run this command line in console.

Step 2: Publish Assets

Publish Config File

Publish Views

Publish the views only if any modifications to the interfaces are required.

Publish Migrations

Publishes migrations, only if a new column is created for the detail of a role or permission.

Publish Lang

Publish the translations in case you wish to modify any of them.

Usage

By default, Tailwind is used to create the role and permissions management interface, but you can also choose the Bootstrap theme.

Configure templates

You have 2 alternatives to use with this package, using the blade directives or using the laravel components.

Includes the component that contains the scripts and styles needed for the graphic interface.

To remove a role, SweetAlert is used, so you must have it in your design, and it must be before the script component. Note that you must import it after the Livewire scripts.

Select a Modal design

You will be able to select among the types of manners that the package will have, at the moment only a list type model is available, which is configured here:

Customized page

Here you define the array of numbers for the paging options.

Change tables name

Here you assign the names of the tables to be able to run the migration. By default it uses the tables listed in the Laravel Permission package.

Exclude roles

Here you define the roles you want to exclude from Livewire queries for display and modification. By default you will have an empty array.

Column name

Here you define the name of the new column that will be created in the roles and permissions table defined, with this you can add a description to each role or permission created, by default the name of the column is description. By default the name.

If you mark as true the option to add the description column, you must have previously generated that column in the respective database table.

Route

Set your own prefix and midlewares and name for the role management path and permissions. By default you will have the following:

Now, once everything is configured, you will be able to access the path to manage your roles.


All versions of livewire-permission-manager with dependencies

PHP Build Version
Package Version
Requires livewire/livewire Version ^2.6
spatie/laravel-permission Version ^3.0 || ^4.0 || ^5.1 || ^6.1
php Version ^7.0|^8.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 tonystore/livewire-permission-manager contains the following files

Loading the files please wait ....