https://github.com/simonewebdesign/laravel-rest
Sample implementation of Ruby on Rails's RESTful architecture, built in PHP.
https://github.com/simonewebdesign/laravel-rest
Last synced: about 1 year ago
JSON representation
Sample implementation of Ruby on Rails's RESTful architecture, built in PHP.
- Host: GitHub
- URL: https://github.com/simonewebdesign/laravel-rest
- Owner: simonewebdesign
- License: wtfpl
- Created: 2013-01-21T09:45:34.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2015-04-10T11:53:59.000Z (about 11 years ago)
- Last Synced: 2025-04-04T17:51:50.638Z (about 1 year ago)
- Language: PHP
- Homepage:
- Size: 5.61 MB
- Stars: 14
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Laravel-REST
A demo implementation of the Ruby on Rails RESTful architecture, built in Laravel. This demo app is complete of documentation ~~and a PHPUnit test suite~~ (not yet).
## Installation
4 easy steps:
1. Check the Laravel [requirements](http://laravel.com/docs/install#requirements);
2. Clone the repo:
$ git clone git://github.com/simonewebdesign/Laravel-REST.git
3. Create the `laravelrest` database:
$ mysql -uroot
Welcome to the MySQL monitor. Commands end with ; or \g.
mysql> create database laravelrest;
Query OK, 1 row affected (0.00 sec)
4. Run the migrations:
$ php artisan migrate:install
Migration table created successfully.
$ php artisan migrate
Migrated: application/2013_01_19_162009_create_companies_table
Migrated: application/2013_02_05_154929_add_description_to_company.php
...
## License
Laravel is open-sourced software licensed under the MIT License.
Laravel-REST is open-sourced software licensed under the WTFPL License.
See LICENSE.md for more.