/FuelPHP-Rest

Sample Rest API with Testing via Travis CI in FuelPHP and PHP Codeception

Primary LanguagePHPMIT LicenseMIT

Build Status

FuelPHP Rest

This is a sample REST API built with FuelPHP for testing "autonomous testing" in TravisCI

Requirements

  • PHP 7.0 or later
  • Composer
  • Codeception

Dependancies

How to run

  • Run composer install first
  • In the public folder run php -S localhost:8888 to start the development server

How to run tests

  • Run composer install first
  • In the project root, run php fuel/vendor/codeception/codeception/codecept run
  • Or php codecept.phar run if you have downloaded already

Credits

  • Mazhar Ahmed