Download the PHP package aqilix/zf3-apigilty-oauth2 without Composer

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

API Development using ZF3, Apigility with OAuth2 support

Requirements

Please see the composer.json file.

Installation

Via Composer (create-project)

You can use the create-project command from Composer to create the project in one go (you need to install composer):

Via Git (clone)

First, clone the repository:

I have prepare docker-compose.yml, so you can use docker-compose to build this application.

Install dependencies via the container:

Manipulate dev mode from the container:

Creating Database

Importing Data Fixtures

Or if you don't want to use Docker, you need to use Composer to install dependencies. Assuming you already have Composer:

Configuration

There are several configuration files in config/autoload/*.local.php.dist need to be configured to use this application. And please remove .dist extension on the files. Example:

Database Configuration

For database configuration, the related files need to be configured are:

Email Transport Configuration

To configure mail transport, please modify this file mailtransport.local.php.dist. For this example, I use Mailgun you can use another mail service by configure host, username and password.

Email Configuration

At the moment, there are 3 events send emails from this application.

You can configure the From, Sender Name, and Subject from this file user.local.php.dist

Project Configuration

For project configuration, there are 2 sections configuration. Those are sites and php_process. I think you just need to configure sites section to adjust with url on your site. And php_process is purposed to configure cli.

CORS Configuration

You can configure zfr-cors on this file zfr_cors.local.php.dist

Run Application

After configure all configs, you can access this application from browser http://localhost:8080 (I configure this container using port 8080).

If you have set this as dev mode you will see Apigility Admin on this url http://localhost:8080/apigility/ui#/

API Testing

I use Swagger for built in API Documentation. You can see it on dev mode by access this URL http://localhost:8080/apigility/swagger. You also can try the API Resources by using this Swagger


All versions of zf3-apigilty-oauth2 with dependencies

PHP Build Version
Package Version
Requires php Version ^5.6 || ^7.0
zendframework/zend-component-installer Version ^1.0 || ^0.3 || ^1.0.0-dev@dev
zfcampus/zf-apigility Version ^1.3
zfcampus/zf-apigility-documentation Version ^1.2.2
zfcampus/zf-development-mode Version ^3.0
zfcampus/zf-http-cache Version ^1.3
zfr/zfr-cors Version ^1.2
zendframework/zend-cache Version ^2.7.1
zendframework/zend-mime Version ^2.6.0
zendframework/zend-mail Version ^2.7.1
zendframework/zend-mvc-i18n Version ^1.0
zendframework/zend-log Version ^2.9
zendframework/zend-mvc-console Version ^1.1.10
doctrine/doctrine-orm-module Version ^1.1
symfony/process Version ^3.1
aqilix/doctrine-data-fixture-module Version ^0.0.6
gedmo/doctrine-extensions Version ^2.4.23
psr/log Version ^1.0
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 aqilix/zf3-apigilty-oauth2 contains the following files

Loading the files please wait ....