https://github.com/zephinzer/seedapiphp
Seed project for a REST-ful API using the Slim framework for routing and PHPUnit for testing.
https://github.com/zephinzer/seedapiphp
Last synced: 2 months ago
JSON representation
Seed project for a REST-ful API using the Slim framework for routing and PHPUnit for testing.
- Host: GitHub
- URL: https://github.com/zephinzer/seedapiphp
- Owner: zephinzer
- License: mit
- Created: 2015-04-22T06:44:30.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-04-22T07:41:40.000Z (about 10 years ago)
- Last Synced: 2025-02-01T18:27:56.990Z (4 months ago)
- Language: PHP
- Size: 1.41 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# seedApiPhp
Seed project for a REST-ful API using the Slim framework for routing and PHPUnit for testing.This project has been successfully deployed on Ubuntu 14.04 LTS with Apache 2.4, PHP 5.4 and MySQL CE 5.16.
## Get Started
### Install dependencies with Composer
```
php composer.phar install
```
This will install PHPUnit and Slim.### Set Apache configuration
Direct a local address to the root folder where seedApiPhp was unzipped to.### Edit template values
Access `bootstrap-config.php` and change all `[[value]]` fields accordingly.## Longer Description
This is a work-in-progress. The objective of this project is a seed project which I can clone and quickly build a REST-ful API for a service-oriented architecture web application. To that extent, the only configuration required is of Apache, and for unique values such as database fields and hostname configurations. Development can begin by making a copy of the `/demo` folder and adding in code into the placeholders.