Download the PHP package exceptio/laravel-approval without Composer

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

Dynamic Approval Permission For For Laravel 5.7 or Higher

A Dynamic package for handling model based approval process in Laravel.


Installation

This package is very easy to set up. There are only couple of steps.

Composer

Pull this package in through Composer

Service Provider

Config File

Publish the package config file to your application. Run these commands inside your terminal.

php artisan vendor:publish --provider="Exceptio\ApprovalPermission\ApprovalPermissionServiceProvider" --tag="config"

you may set approvalpermission-enable to false to disable the feature. you may set do-migration to false in config file to disable the migration. Note: database must have all the necessary tables and columns if you disable migration.

View Files

Publish the view file to your application. Run these commands inside your terminal.

php artisan vendor:publish --provider="Exceptio\ApprovalPermission\ApprovalPermissionServiceProvider" --tag="views"

Migration File

Publish the package migration file to your application. Run these commands inside your terminal.

php artisan vendor:publish --provider="Exceptio\ApprovalPermission\ApprovalPermissionServiceProvider" --tag="migration"

Notificaiton File

Publish the package notificaiton file to your application. Run these commands inside your terminal.

php artisan vendor:publish --provider="Exceptio\ApprovalPermission\ApprovalPermissionServiceProvider" --tag="notificaiton"

Approvable Trait

  1. Include Approvable trait to a class for approval process. See example below.

Example Approvable Trait:

Migrations and seeds

This uses the default users table which is in Laravel. You should already have the migration file for the users table available and migrated.

  1. Setup the needed tables:

  2. For seeder publish

  3. Seed an initial set of Approval sample data.

And that's it!


Usage

Creating Process

Blade Extensions

The Blade extensions.

Config File

You can change user model name, primary key and other settings in config. Have a look at config file for more information.

Opening an Issue

Before opening an issue there are a couple of considerations:

License

Dynamic Approval Permission For Laravel Project by Exception Solutions is marked with CC0 1.0 Universal


All versions of laravel-approval with dependencies

PHP Build Version
Package Version
No informations.
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 exceptio/laravel-approval contains the following files

Loading the files please wait ....