A common need for a modern web application is having an API that third-parties can run queries against. Since Laravel is built with RESTful patterns as a focus, it's quite easy to build a full API with very little work.
For this recipe, we need a standard Laravel installation with a properly configured MySQL database tied into our application.
To complete this recipe, follow these steps:
php artisan migrate:make create_shows_table
app/database/migrationsdirectory, find the file similar to
2012_12_01_222821_create_shows_table.phpand create the schema ...