Answer the question
In order to leave comments, you need to log in
PHP artisan make: Why doesn't SomeController create a restfull controller?
Good night, actually the question is in the title. Entering
php artisan make: SomeController
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Http\Requests;
class SomeController extends Controller
{
//
}
Answer the question
In order to leave comments, you need to log in
The catch in Laravel 5.2
In 90% of cases, people generate an empty controller, so they did it by default.
You can generate crud using the functionphp artisan make:controller Test --resource
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question