Download the PHP package blurrywindows/yii2-api-kit without Composer

On this page you can find all versions of the php package blurrywindows/yii2-api-kit. 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 yii2-api-kit

Yii 2 API Kit

GitHub tag Packagist Packagist GitHub issues

Heavily inspired by trntv/yii2-starter-kit, this API kit may be used to quickly start building your Yii2-based API and not waste any time on initializing your project.

This kit is in development. Please do not use it yet! Would you like to contribute?

TABLE OF CONTENTS

FEATURES

REQUIREMENTS

INSTALLATION

CONFIGURATION

Please follow these instructions carefully to quickly start building your own API. The instructions must be executed in the order in which they are presented here to prevent errors.

Composer

Node.js

Database

Environment

Migrate

Webserver

TESTING

This api-kit is test-ready. The controllers and models are included in both acceptance and unit testing based on Codeception. They are located in . To execute the tests, run .

CONSOLE COMMANDS

AutoController

These actions should normally not run on a production server. The actions mentioned here generate files and data that may be used in development or testing. When executing these actions in a production environment, the controller will generate a warning prompt that you may override.

./yii auto/all

Executes all the actions in the AutoController.

./yii auto/gii-models

Generates ActiveRecords for all the tables in your database in the folder. It automatically overwrites the ActiveRecords if they exist. The ActiveRecords are named and extend . It also creates a class which extends for custom code, extra validation rules, etc. The class will not be overridden when executing the action again.

./yii auto/apidoc

Generates API documentation based on apidoc from the comments in the folder. It outputs the documentation in the Git-ignored folder . You may include this folder in Git manually if you want to export the documentation to a production server. Please note, apidoc is a dev-dependency in Node.js. It will only be installed when using the command.

HOW TO CONTRIBUTE

You may contribute in any way you want, but please contact me beforehand to prevent merge-conflicts by creating an issue.

ISSUES

If you have any questions or experience any issues with this kit, please submit an issue.

READ MORE


All versions of yii2-api-kit with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6.0
yiisoft/yii2 Version ~2.0.5
yiisoft/yii2-bootstrap Version ~2.0.0
yiisoft/yii2-swiftmailer Version ~2.0.0
vlucas/phpdotenv Version ^2.4
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 blurrywindows/yii2-api-kit contains the following files

Loading the files please wait ....