Download the PHP package cloudoki/guardian without Composer

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

Guardian

As extension to the Oauth2 Stack, Guardian provides internal Authorisation scopes for Laravel.

This package is usable in multiple Laravel versions. Right now, however, the Guardian package is only tested in Laravel 4.2 with Eloquent.

Dependencies

Oauth2-Stack - Guardian uses the Account and User models next to the Oauth2Verifier class.

Except-io-nal - The Cloudoki PHP Exception extensions are used to throw manageable errors when authorisations are not valid.

Install Laravel 5.2 MQ

Add our package as requirement in your composer file.

You might want to run an update. If something goes wrong, change your minimum-stability to dev in the composer.json file, for now.

The package is now installed in the project vendor folder. You'll need to register the package provider in your app config file next. Since Laravel 5, the Illuminate\Form is no longer part of the core pack, so you should register it as well.

DB Migration

Of course, your backend workers need db access for validation. It goes something like this:

DB Seeds

In order to create the roles required by the Guardian package itself, run the following command from the root path of the app that uses this package.

Usage

Oauth2 Stack

Please dig into the Oauth2 Stack documentation before implementing Guardian.

Access Token

The access token is requested as Input parameter, in respect to the Oauth2 Stack and MQ alignment. In a production level API request however, the access token should ALWAYS be placed in the Authorisation header of the request.

Management REST Endpoints

The Guardian package provides REST API endpoints to view and manage Rolegroups and Roles. Detailed documentation in this wiki page.


All versions of guardian with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4.0
cloudoki/oauth2-stack Version dev-master
cloudoki/except-io-nal Version v0.5.*
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 cloudoki/guardian contains the following files

Loading the files please wait ....