12.02.2018 Views

laravel_tutorial

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Laravel<br />

Example<br />

Step 1: Create a controller called CreateStudentController by executing the following<br />

command.<br />

php artisan make:controller CreateStudentController --plain<br />

Step 2: After successful execution, you will receive the following output:<br />

Step 3: Copy the following code in<br />

app/Http/Controllers/CreateStudentController.php file.<br />

app/Http/Controllers/CreateStudentController.php<br />

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!