September 2017
Intermediate to advanced
244 pages
6h 44m
English
I left comment endpoints implementation to you, because it is very much similar to Post endpoints implementation. However, as comment's two routes are different than others, just to give you an idea of what you need to implement, I am going to tell what you will add in the routes file so that you can implement CommentController accordingly. Here is the routes/web.php file:
<?php/*|----------------------------------------------------------------| Application Routes|----------------------------------------------------------------|| Here is where you can register all of the routes for an application.| It is a breeze. Simply tell Lumen the URIs it should respond to| and give it the Closure to call when that URI ...
Read now
Unlock full access