-
Notifications
You must be signed in to change notification settings - Fork 52
Easy Install
We can use Composer to create an project. Change directory to wherever you want to put your new project, and then run this command:
composer.phar create-project -sdev zfcampus/zf-apigility-skeleton music
if we run these Code we can install Apigility and then show this messages:
Installing zfcampus/zf-apigility-skeleton (dev-master cccdb2485e80e19b8f9f850865da6bc54f0be797)
- Installing zfcampus/zf-apigility-skeleton (dev-master master)
Cloning master
Created project in music
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
- Installing bshaffer/oauth2-server-php (v1.8.0)
Loading from cache
- Installing container-interop/container-interop (1.1.0)
Loading from cache
- Installing symfony/process (v2.8.2)
Loading from cache
- Installing kriswallsmith/assetic (v1.2.1)
Loading from cache
- Installing phpdocumentor/reflection-docblock (2.0.4)
Loading from cache
- Installing phpunit/php-token-stream (1.4.8)
Loading from cache
- Installing symfony/yaml (v2.8.2)
Downloading: 100%
- Installing sebastian/version (1.0.6)
Loading from cache
- Installing sebastian/global-state (1.1.1)
Loading from cache
..........
......
then you can show this mensagge:
Generating autoload files
Do you want to remove the existing VCS (.git, .svn..) history? [Y,n]? N
PcNAme MINGW64 /c/xampp/htdocs/Apigility
$ php public/index.php development enable
Could not open input file: public\index.php
then we can open our browser and check this url
http://localhost:8080/apigility/ui
Reference:
http://techportal.inviqa.com/2013/12/03/create-a-restful-api-with-apigility/