July 2018
Intermediate to advanced
420 pages
8h 46m
English
Now it is time to use the artisan to generate our controller, let's see how we can do that:
php artisan make:controller BandController
After the command, you should see a message in green, stating: Controller created successfully.
<?phpnamespace App\Http\Controllers;use Illuminate\Http\Request;use App\Http\Requests;class BandController extends Controller{ //}Read now
Unlock full access