Download the PHP package damidevelopment/yii2-api without Composer
On this page you can find all versions of the php package damidevelopment/yii2-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download damidevelopment/yii2-api
More information about damidevelopment/yii2-api
Files in damidevelopment/yii2-api
Package yii2-api
Short Description Yii 2 API Project Template
License BSD-3-Clause
Homepage http://www.damidev.com/
Informations about the package yii2-api
Yii2 API template
REQUIREMENTS
The minimum requirement by this project template that your Web server supports PHP 7.2.0.
CREATE NEW PROJECT USING TEMPLATE
Install via Composer
If you do not have Composer, you may install it by following the instructions at getcomposer.org.
INSTALLATION
If you do not have Composer, you may install it by following the instructions at getcomposer.org.
You can then install this site using the following command:
php composer.phar install
php yii migrate
In composer.json we have postInstall script which setup permissions on files and folders. But if php script itself can't change his own files and folders, you have to change permissions yourself.
runtime/
- folder for caching and loggingweb/assets/
- folder for caching js and cssyii
- executable for running terminal scripts (on windows machine yii.bat should be executable too, I guess)
Endpoint dev checklist
- create model
- create resource model
- create controller or/and action
- define verbs
- add AccessControl rule?
- API documentation of request (by actions annotation)
- API documentation of response (inside definitions)
- API documentation of resource (by resource's annotation)
All versions of yii2-api with dependencies
yiisoft/yii2 Version ~2.0.14
yiisoft/yii2-bootstrap Version ~2.0.0
yiisoft/yii2-swiftmailer Version ~2.1.0
yii2mod/yii2-swagger Version *
phpmetrics/phpmetrics Version ^2.4
damidevelopment/yii2-api-utils Version ^1.0