2017 © Pedro Peláez
 

library api-skeleton

skeleton app for developing restful apis

image

api-skeleton/api-skeleton

skeleton app for developing restful apis

  • Sunday, July 22, 2018
  • by SherifElfadaly
  • Repository
  • 1 Watchers
  • 1 Stars
  • 66 Installations
  • CSS
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 23 Versions
  • 14 % Grown

The README.md

Api Skeleton

Latest Version on Packagist ![Software License][ico-license] Build Status ![Coverage Status][ico-scrutinizer] Total Downloads, (*1)

Install

Via Composer, (*2)

Run this command: ``` bash composer require api-skeleton/api-skeleton, (*3)


publish files ``` bash php artisan vendor:publish --force

run this command ``` bash php artisan module:optimize, (*4)


run database migrations ``` bash php artisan module:migrate

run database seeds ``` bash php artisan module:seed roles php artisan module:seed, (*5)


Install passport ``` bash php artisan module:passport:install

run ``` bash php artisan doc:generate, (*6)


Install php code sniffer ``` bash composer require --dev squizlabs/php_codesniffer

Add php code sniffer command to composer.json ``` bash "phpcs" :"./vendor/bin/phpcs ./", "phpcbf" :"./vendor/bin/phpcbf ./",, (*7)


Generate module ``` bash php artisan generate:module {slug}

Credits

License

The MIT License (MIT). Please see License File for more information., (*8)

The Versions