Download the PHP package wovosoft/laravel-permissions without Composer

On this page you can find all versions of the php package wovosoft/laravel-permissions. 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-permissions

Wovosoft Software Development Compnay

Laravel Role & Permissions Front-End Implementation using spatie/laravel-permission

Latest Stable Version Total Downloads Latest Unstable Version License

Package description

The package is a Front-End Implementationf of the spatie/laravel-permission package. The spatie/laravel-permission is an awesome package for managing Roles & Permissionf for Laravel applications out of the box. But currently it doesn't have the front-end to easily deploy in your application.

This package comes to solve this problem. The package implements almost every features provided by spatie/laravel-permission.

Features

Installation

Install via composer

Publish Configuration File

  1. Publish the configuration file.

  2. Publish the Vue Components. The Published components will be copied to resources/laravel-permissions/permissions folder. You need to add the Main.vue component to your app.js

  3. Publish the Migrations

  4. Publish the Seeds

Configuration

  1. In App\User.php model add the HasRoles.php Trait.

  2. Now Run

  3. Go to config/laravel-permissions.php . Add Default Permissions and Roles.

  4. The package adds the routes automatically prefixed by backend, so your other routes should't be prefixed by backend. But you can change it in config/laravel-permissions.php config file. To check the registered routes, run in your terminal from project the root,

  5. The gates are automatically registered during boot-up by spatie/laravel-permission

Usage

  1. So, according to config/laravel-permissions.php (#3) you can perform user abilities as follows:

  2. Check the main spatie/laravel-permission for more details.

Note

Please keep in mind, the default Role and Permission models provided by spatie/laravel-permission are extended in the package. That's why rather than using Spatie\Permission\Models\Role for Role and Spatie\Permission\Models\Permission please use Wovosoft\LaravelPermissions\Models\Roles for Role and Wovosoft\LaravelPermissions\Models\Permissions for Permission respectively.

Example Project

Click here to check the demo project https://github.com/wovosoft/laravel-permissions-example

Security

If you discover any security related issues, please email [email protected] or create issue in the Github Repository.

Credits

This package is bootstrapped with the help of wovosoft/crud.


All versions of laravel-permissions with dependencies

PHP Build Version
Package Version
Requires php Version >=7.3
spatie/laravel-permission Version ^3.11
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 wovosoft/laravel-permissions contains the following files

Loading the files please wait ....