Laravel From Scratch [Part 1] - Series Introduction

Traversy Media · 1.2M views · 2017 · 17:16

Open on YouTube

Web developmentPython, Ruby & scripting languagestutorialdated

Why Stack Overflow recommends it

Stack Overflow users link it when newcomers ask how to learn Laravel and want a practical, project-based walkthrough instead of reading source code or looking at finished sites.

Recommended by 2 people across 2 different months, 2018 to 2018.

What it is

The first video in Traversy Media's Laravel From Scratch series, presented by Brad Traversy. It explains what Laravel and the MVC pattern are and demos the app that the series builds, covering routing, controllers, models, migrations, Blade views, authentication, CRUD and file uploads on Laravel 5.4.

What people said

Strong rec domdambrogia · 2018-02 · Stack Overflow · on “PHP Laravel 5.5 Site”

This is a very vague question. Truthfully, you're not really asking a question, but rather looking for a reference. Also looking at a site will not allow you to understand how it works "under the hood". I would recommend the Laravel from Scratch video series uploaded by Traversy Media on YouTube. [this video] I've watched through this video series online and it really allows you to understand how to use all of the tools (artisan especially) Laravel has to offer. It goes in depth past the typical MVC design pattern and generic PHP functionality. It showcases why Laravel is an awesome, elegant and quality framework. Hope this helps you get a little further and find what you're looking for. Edit: As

Recommends num8er · 2018-10 · Stack Overflow · on “Displaying MYSQL data filtered for value of input field using PHP script”

@NickSF better switch to `Laravel` and be happy, it has all best practices conventions out of box (: [this video]

Cites Striker · 2018-06 · Stack Overflow · on “The place to make main functions laravel”

The controller is where I hold all of my main logic and the model is where I put things involved with it. Like for example, I have a program with a incidents controller in which does all of my crud functionality and a Incidents model in which defines my one-to-many relationship with other models as well calls a notification class when a new incident is created. Code is posted below. Incidents.php <?php namespace App; use Illuminate\Database\Eloquent\Model; use Illuminate\Notifications\Notifiable; use App\Notifications\IncidentCreatedNotification; class Incident extends Model { use Notifiable; protected static function boot(){ parent::boot(); self::created(function($model){ $model->notify(new