laravel

Published on Slideshow
Static slideshow
Download PDF version
Download PDF version
Embed video
Share video
Ask about this video

Scene 1 (0s)

[Audio] Laravel #laravel. Laravel. #laravel.

Scene 2 (6s)

[Audio] Table of Contents About 1 Chapter 1: Getting started with Laravel 2 Remarks 2 Laravel StackOverflow Slack Community 2 Featured Tutorial 2 Contribution Guidelines 2 Contribution Style Guide 2 About Laravel 2 Main Features 2 MVC 2 Blade Templating Engine 3 Routing & Middleware 3 Artisan 3 Eloquent ORM 3 Event Handling 3 Versions 3 Examples 4 Welcome to Laravel tag documentation! 4 Starter Guide 4 Getting Started 4 Laravel Views 5 Chapter 2: Artisan 6 Syntax 6 Parameters 6 Examples 8 Introduction 8 List all registered routes filtered by multiple methods 8 Running Laravel Artisan commands using PHP code 9 Creating and registering new artisan command 9 Chapter 3: Authentication 10.

Scene 3 (2m 22s)

[Audio] Examples 10 Multi Authentication 10 Chapter 4: Authorization 14 Introduction 14 Examples 14 Using Gates 14 Authorizing Actions with Gates 14 Policies 15 Writing Policies 15 Authorizing Actions with Policies 15 Chapter 5: Blade Templates 17 Introduction 17 Examples 17 Views: Introduction 17 Control Structures 18 Conditionals 18 'If' statements 18 'Unless' statements 18 Loops 18 'While' loop 19 'Foreach' loop 19 'Forelse' Loop 19 Echoing PHP expressions 20 Echoing a variable 20 Echoing an element in an array 20 Echoing an object property 21 Echoing the result of a function call 21 Checking for Existence 21 Raw echos 21 Including Partial Views 21 Layout Inheritance 22.

Scene 4 (4m 44s)

[Audio] Sharing data to all views 24 Using View::share 24 Using View::composer 24 Closure-based composer 24 Class-based composer 24 Execute arbitrary PHP code 25 Chapter 6: Cashier 26 Remarks 26 Examples 26 Stripe Setup 26 Chapter 7: Change default routing behaviour in Laravel 5.2.31 + 28 Syntax 28 Parameters 28 Remarks 28 Examples 28 Adding api-routes with other middleware and keep default web middleware 28 Chapter 8: Collections 30 Syntax 30 Remarks 30 Examples 30 Creating Collections 30 where() 30 Nesting 30 Additions 31 Using Get to lookup value or return default 31 Using Contains to check if a collection satisfies certain condition 32 Using Pluck to extract certain values from a collection 32 Using Map to manipulate each element in a collection 33 Using sum, avg, min or max on a collection for statistical calculations 33 Sorting a collection 33 Sort() 33.

Scene 5 (7m 20s)

[Audio] SortBy() 34 SortByDesc() 35 Using reduce() 35 Using macro() to extend collections 36 Using Array Syntax 37 Chapter 9: Common Issues & Quick Fixes 39 Introduction 39 Examples 39 TokenMisMatch Exception 39 Chapter 10: Constants 40 Examples 40 Example 40 Chapter 11: Controllers 41 Introduction 41 Examples 41 Basic Controllers 41 Controller Middleware 41 Resource Controller 42 Example of how a Resource Controller look 42 Actions Handled By Resource Controller 44 Chapter 12: Cron basics 45 Introduction 45 Examples 45 Create Cron Job 45 Chapter 13: Cross Domain Request 46 Examples 46 Introduction 46 CorsHeaders 46 Chapter 14: Custom Helper function 48 Introduction 48 Remarks 48.

Scene 6 (9m 50s)

[Audio] Examples 48 document.php 48 HelpersServiceProvider.php 48 Use 49 Chapter 15: CustomException class in Laravel 50 Introduction 50 Examples 50 CustomException class in laravel 50 Chapter 16: Database 51 Examples 51 Multiple database connections 51 Chapter 17: Database Migrations 55 Examples 55 Migrations 55 The migration files 56 Generating migration files 56 Inside a database migration 57 Running migrations 58 Rolling Back Migrations 58 Chapter 18: Database Seeding 60 Examples 60 Running a Seeder 60 Creating a Seed 60 Inserting Data using a Seeder 60 Inserting data with a Model Factory 61 Seeding with MySQL Dump 61 Using faker And ModelFactories to generate Seeds 62 Chapter 19: Deploy Laravel 5 App on Shared Hosting on Linux Server 65 Remarks 65 Examples 65 Laravel 5 App on Shared Hosting on Linux Server 65 Chapter 20: Directory Structure 68.

Scene 7 (12m 35s)

[Audio] Examples 68 Change default app directory 68 Override Application class 68 Calling the new class 68 Composer 69 Change the Controllers directory 69 Chapter 21: Eloquent 70 Introduction 70 Remarks 70 Examples 70 Introduction 70 Sub-topic Navigation 71 Persisting 71 Deleting 72 Soft Deleting 73 Change primary key and timestamps 74 Throw 404 if entity not found 75 Cloning Models 75 Chapter 22: Eloquent : Relationship 76 Examples 76 Querying on relationships 76 Inserting Related Models 76 Introduction 77 Relationship Types 77 One to Many 77 One to One 78 How to associate between two models (example: User and Phone model) 78 Explanation 79 Many to Many 79 Polymorphic 80 Many To Many 82 Chapter 23: Eloquent: Accessors & Mutators 85.

Scene 8 (15m 12s)

[Audio] Introduction 85 Syntax 85 Examples 85 Defining An Accessors 85 Getting Accessor: 85 Defining a Mutator 86 Chapter 24: Eloquent: Model 87 Examples 87 Making a Model 87 Model creation 87 Model File Location 88 Model configuration 89 Update an existing model 90 Chapter 25: Error Handling 91 Remarks 91 Examples 91 Send Error report email 91 Catching application wide ModelNotFoundException 92 Chapter 26: Events and Listeners 93 Examples 93 Using Event and Listeners for sending emails to a new registered user 93 Chapter 27: Filesystem / Cloud Storage 95 Examples 95 Configuration 95 Basic Usage 95 Custom Filesystems 97 Creating symbolic link in a web server using SSH 98 Chapter 28: Form Request(s) 99 Introduction 99 Syntax 99 Remarks 99.

Scene 9 (17m 47s)

[Audio] Examples 99 Creating Requests 99 Using Form Request 99 Handling Redirects after Validation 100 Chapter 29: Getting started with laravel-5.3 102 Remarks 102 Examples 102 Installing Laravel 102 Via Laravel Installer 102 Via Composer Create-Project 103 Setup 103 Server Requirements 103 Local Development Server 104 Hello World Example (Basic) and with using a view 104 Hello World Example (Basic) 105 Web Server Configuration for Pretty URLs 105 Chapter 30: Helpers 107 Introduction 107 Examples 107 Array methods 107 String methods 107 Path mehods 107 Urls 108 Chapter 31: HTML and Form Builder 109 Examples 109 Installation 109 Chapter 32: Installation 110 Examples 110 Installation 110 Via Composer 110 Via the Laravel installer 110 Running the application 111.

Scene 10 (20m 30s)

[Audio] Using a different server 111 Requirements 112 Hello World Example (Using Controller and View) 113 Hello World Example (Basic) 114 Installation using LaraDock (Laravel Homestead for Docker) 114 Installation 114 Basic Usage 115 Chapter 33: Installation Guide 116 Remarks 116 Examples 116 Installation 116 Hello World Example (Basic) 117 Hello World Example With Views and Controller 117 The view 117 The controller 117 The router 118 Chapter 34: Introduction to laravel-5.2 119 Introduction 119 Remarks 119 Examples 119 Installation or Setup 119 Install Laravel 5.1 Framework on Ubuntu 16.04, 14.04 & LinuxMint 119 Chapter 35: Introduction to laravel-5.3 123 Introduction 123 Examples 123 The $loop variable 123 Chapter 36: Laravel Docker 124 Introduction 124 Examples 124 Using Laradock 124 Chapter 37: Laravel Packages 125 Examples 125.

Scene 11 (23m 31s)

[Audio] laravel-ide-helper 125 laravel-datatables 125 Intervention Image 125 Laravel generator 125 Laravel Socialite 125 Official Packages 125 Cashier 125 Envoy 126 Passport 126 Scout 126 Socialite 126 Chapter 38: lumen framework 127 Examples 127 Getting started with Lumen 127 Chapter 39: Macros In Eloquent Relationship 128 Introduction 128 Examples 128 We can fetch one instance of hasMany relationship 128 Chapter 40: Mail 129 Examples 129 Basic example 129 Chapter 41: Middleware 130 Introduction 130 Remarks 130 Examples 130 Defining a Middleware 130 Before vs. After Middleware 131 Route Middleware 131 Chapter 42: Multiple DB Connections in Laravel 133 Examples 133 Initial Steps 133 Using Schema builder 133.

Scene 12 (26m 16s)

[Audio] Using DB query builder 134 Using Eloquent 134 From Laravel Documentation 134 Chapter 43: Naming Files when uploading with Laravel on Windows 136 Parameters 136 Examples 136 Generating timestamped file names for files uploaded by users. 136 Chapter 44: Observer 138 Examples 138 Creating an observer 138 Chapter 45: Pagination 140 Examples 140 Pagination in Laravel 140 Changing pagination views 141 Chapter 46: Permissions for storage 142 Introduction 142 Examples 142 Example 142 Chapter 47: Policies 143 Examples 143 Creating Policies 143 Chapter 48: Queues 144 Introduction 144 Examples 144 Use-cases 144 Queue Driver Configuration 144 sync 144 database 144 sqs 144 iron 145 redis 145 beanstalkd 145.