Download the PHP package linearsoft/entrust-cli without Composer

On this page you can find all versions of the php package linearsoft/entrust-cli. 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 entrust-cli

Entrust-Cli

Provides a console interface to Entrust for Laravel

Currently this package only supports Entrust for Laravel 5.

Requirements

You must have Entrust installed and working before attempting to use Entrust-Cli.

Before using Entrust-Cli you must have the Entrust service provider and alias configured.

You must also have the Entrust database tables created.

Visit the Entrust GitHub for more information on installing and configuring Entrust.

Installation

Install the latest version with

Then in your config/app.php you must add

to your providers array.

Usage

Entrust-Cli adds the following artisan commands

Command Action Parameters Example
*:create Creates a role/permission name [display name] [description] entrust-cli:role:create myrole "My Role"
*:delete Deletes a role/permission name entrust-cli:permission:delete perm1
*:list Lists all roles/permissions none entrust-cli:role:list
permission:attach Attaches a permission to a role permission_name role_name entrust-cli:permission:attach perm1 myrole
permission:detach Detaches a permission from a role permission_name role_name entrust-cli:permission:detach perm1 myrole
role:info Provides detailed role info (perms/users) role_name entrust-cli:role:info myrole
role:attach Attaches a role to a user role_name identity [--attr=] entrust-cli:role:attach myrole [email protected]
role:detach Detaches a role from a user role_name identity [--attr=] entrust-cli:role:detach myrole user2

User Identity

Entrust-Cli does not know for certain what attribute your application uses to lookup user records. By default it will check for an email attribute and then fail-over to a username. If your User model does not use either one of these you must manually specify which attribute to search on:

About

Bugs or features requests

Found a problem or would like a feature submit it via GitHub

License

Entrust-Cli is licensed under the GPLv3 License - see the LICENSE file for details


All versions of entrust-cli with dependencies

PHP Build Version
Package Version
Requires php Version >=5.5.9
zizaco/entrust Version 5.2.x-dev
illuminate/console Version ~5.2
illuminate/database Version ~5.2
illuminate/support Version ~5.2
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 linearsoft/entrust-cli contains the following files

Loading the files please wait ....