Download the PHP package cloudoki/oauth2-stack without Composer

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

Oauth2 Stack

A complete Oauth2 Server and Views stack

With the Oauth2 Stack one can integrate the complete Open Authentication 2.0 flow in a single require. The package includes DB migration files, the Oauth2 Server, Account/User models and all the required web and e-mail views.

The goal of this package is to split it up in multiple Framework Branches. Right now, however, the Oauth2-Stack package is focussed on Laravel 4.2 with Eloquent in MQ alignment (3-layer environment).

v0.4 is the stable Laravel 4.2 compatible release

v0.5 is the stable Laravel 5.2 compatible release

Dependencies

Oauth2 Server - The Oauth2 Stack is based on Brent Shaffer's Oauth2 Server, tweaked for multi-layer usage.

Views - The Views are based on Bootstrap 3 for easy styling.


For this package, you should have some knowledge of Composer and Laravel. If you need your local environment set up, read this guide. If you want a simple Laravel app set up, read this guide.


Laravel 5.2 MQ Install

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.

Laravel 4.2 MQ Install

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. Finish it off with dump to be on the safe side.

If you go deep into the package you'll find out that the /oauth2 routes are defined right there. Feel free to override this by copy-pasting the routes to your project ./app/routes.php file and disabling the include in OaStackServiceProvider.php. The same goes for the filters file, which identifies auth, a basic token check.

Config

You will need to edit the uri's to match your project. We have created a config file for this purpose. Run this command to copy it in your .app/config folder:

Laravel 4.2

You may also create environment specific configs by placing them like so app/config/packages/cloudoki/oastack/environment.

Laravel 5.2

This will publish the package and everything in the boot method on the pacakage ServiceProvider file

Note that your app/config/app.php file needs a valid timezone setting.

Models

The Oauth2 related models, Oauth2AccessToken, Oauth2Authorization, Oauth2Client should be created into your database straight from the migration files. The User and Account models can be integrated (eg. by class extending) in your existing project, or also be built straight from the migration files.

Laravel 4.2

Laravel 5.2

Make sure your project database is connected, first...

This package is all MIT.


All versions of oauth2-stack with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4.0
laravelcollective/html Version 5.2.*
bshaffer/oauth2-server-php Version v1.6
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/oauth2-stack contains the following files

Loading the files please wait ....