php and uncomment this line, // app->withEloquent. You should see the index page like so:Īuthors Index Activate Eloquent and FacadesĪs I mentioned earlier, the entire bootstrap process is located in a single file. Now, run php - S localhost : 8000 -t public to serve the project. Run the following command in your terminal to create a new project with Lumen: composer create-project -prefer-dist laravel/lumen authorsĬd into the newly created project. Author: name, email, twitter, github, location, and latest_article_published.What will be the author attributes? Let's flesh it out like we did the endpoints. Delete an author - DELETE /api /authors / 23. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |