SlideShare a Scribd company logo
1 of 40
What’s New in Laravel 5
An Introduction to Laravel 5
by Roes Wibowo
Supported By
About Laravel
- Fullstack PHP Web Framework
- Open Source (MIT License)
Version:
- v1, June 2011
- v2, November 2011
- v3, February 2012
- v4, May 2013
- v5 (4.3), February 2015
About Laravel
In Narnia (The Chronicles of Narnia), Cair Paravel is the
name of the castle where the kings and queens of Narnia
live. Laravel rhymes with Paravel. I thought the name had a
classy and sophisticated ring to it.
– Taylor Otwell
source: https://laravel-news.com/2014/03/in-narnia-cair-paravel-is-the-name-of-the-castle
About Laravel
Server Requirements:
- PHP >= 5.4
- Mcrypt PHP Extension
- OpenSSL PHP Extension
- Mbstring PHP Extension
- Tokenizer PHP Extension
- JSON PHP Extension
Why should we use Laravel?
Laravel powered by Composer,
tool dependency management and
autoloader for PHP.
https://packagist.org
main composer repository.
http://packalyst.com
directory of packages for Laravel.
Why should we use Laravel?
Laravel not just be trend, but future (of PHP Framework)!
Why should we use Laravel?
- Laravel is clean, classy and elegant PHP Framework
- Dependency Injection (DI) for reusable code
- Built in unit testing for TDD approach
- Follows PSR (L5 follow PSR-4)
- Use latest technology of PHP language
- Good documentation
- Great Community
Installing Laravel 5
- Using composer create-project
- Using laravel installer
Installing Laravel 5
- Download or clone via github then install using composer
Updating Laravel 5
- Update using composer
- Generate autoload composer
Removed Features in Laravel 5
- Annotation (Route,
Controller, Event, Model)
- Remote SSH
- HTML Form
- Whoops error handler
New Features in Laravel 5
- Artisan command
- Helpers
- Eloquent attribute casting
- Event object
- Event scheduler
- Form request & request validation
- Elixir
- Socialite
- Command (queue)
New Features in Laravel 5
- Folder structure
- DotEnv
- Cache route & config
- Symfony var dumper
- Middleware
- Contract
- Controller method injection
- Blade changes
- PsySH in Tinker
- Flysystem / Cloud Storage
Laravel 5 Folder Structure
Laravel 5 Folder Structure
DotEnv Configuration in Laravel 5
Catch environment variables from server configuration
DotEnv Configuration in Laravel 5
DotEnv Configuration in Laravel 5
DotEnv Configuration in Laravel 5
Symfony VarDumper in Laravel 5
The VarDumper component provides mechanisms for
walking through any arbitrary PHP variable
Cache Config and Route in Laravel 5
- Create and delete cache config
- Create and delete cache route
Cache Config and Route in Laravel 5
Cache route only for non Closure.
Cache location:
- /vendor/file.php, or
- /storage/framework/file.php
Middleware in Laravel 5
Middleware replace position Filter (L4)
- Generate Middleware:
Middleware in Laravel 5
- Before Middleware, perform some task before the
request is handled by the application
Middleware in Laravel 5
- After Middleware, perform some task after the request
is handled by the application
Middleware in Laravel 5
- Register Before/After Middleware:
Middleware in Laravel 5
- Terminable Middleware, perform some task after the
HTTP response has already been sent to the browser
Middleware in Laravel 5
- Register Terminable Middleware:
Middleware Route in Laravel 5
- Defining Middleware in Route:
Contract in Laravel 5
Controller Method Injection in Laravel 5
Blade changes in Laravel 5
PsySH in Laravel 5 tinker
Flysystem / Cloud Storage in Laravel 5
The Laravel Flysystem integration provides simple to use
drivers for working with local filesystems, Amazon S3, and
Rackspace Cloud Storage.
Flysystem / Cloud Storage in Laravel 5
Flysystem / Cloud Storage in Laravel 5
- Sample Route
- Check connection to AWS S3
Flysystem / Cloud Storage in Laravel 5
- Upload file from local storage
- Check file in storage
Flysystem / Cloud Storage in Laravel 5
- Edit it locally and upload it to cloud storage
Flysystem / Cloud Storage in Laravel 5
- Delete file
Discuss Session
Lets discuss about Laravel 5! 

More Related Content

What's hot

All the Laravel things: up and running to making $$
All the Laravel things: up and running to making $$All the Laravel things: up and running to making $$
All the Laravel things: up and running to making $$Joe Ferguson
 
A introduction to Laravel framework
A introduction to Laravel frameworkA introduction to Laravel framework
A introduction to Laravel frameworkPhu Luong Trong
 
An Introduction to the Laravel Framework (AFUP Forum PHP 2014)
An Introduction to the Laravel Framework (AFUP Forum PHP 2014)An Introduction to the Laravel Framework (AFUP Forum PHP 2014)
An Introduction to the Laravel Framework (AFUP Forum PHP 2014)daylerees
 
Getting to know Laravel 5
Getting to know Laravel 5Getting to know Laravel 5
Getting to know Laravel 5Bukhori Aqid
 
Introduction to Laravel Framework (5.2)
Introduction to Laravel Framework (5.2)Introduction to Laravel Framework (5.2)
Introduction to Laravel Framework (5.2)Viral Solani
 
Digpen 7: Why choose Laravel?
Digpen 7: Why choose Laravel?Digpen 7: Why choose Laravel?
Digpen 7: Why choose Laravel?John Blackmore
 
10 Laravel packages everyone should know
10 Laravel packages everyone should know10 Laravel packages everyone should know
10 Laravel packages everyone should knowPovilas Korop
 
MidwestPHP 2016 - Adventures in Laravel 5
MidwestPHP 2016 - Adventures in Laravel 5 MidwestPHP 2016 - Adventures in Laravel 5
MidwestPHP 2016 - Adventures in Laravel 5 Joe Ferguson
 
Laravel Starter Kit | Laravel Admin Template-ChandraAdmin
Laravel Starter Kit | Laravel Admin Template-ChandraAdmin Laravel Starter Kit | Laravel Admin Template-ChandraAdmin
Laravel Starter Kit | Laravel Admin Template-ChandraAdmin Lorvent56
 
From CakePHP to Laravel
From CakePHP to LaravelFrom CakePHP to Laravel
From CakePHP to LaravelJason McCreary
 
Adventures in Laravel 5 SunshinePHP 2016 Tutorial
Adventures in Laravel 5 SunshinePHP 2016 TutorialAdventures in Laravel 5 SunshinePHP 2016 Tutorial
Adventures in Laravel 5 SunshinePHP 2016 TutorialJoe Ferguson
 
Laravel introduction
Laravel introductionLaravel introduction
Laravel introductionSimon Funk
 
php[world] 2015 Training - Laravel from the Ground Up
php[world] 2015 Training - Laravel from the Ground Upphp[world] 2015 Training - Laravel from the Ground Up
php[world] 2015 Training - Laravel from the Ground UpJoe Ferguson
 
Laravel 5 Annotations: RESTful API routing
Laravel 5 Annotations: RESTful API routingLaravel 5 Annotations: RESTful API routing
Laravel 5 Annotations: RESTful API routingChristopher Pecoraro
 
Projects In Laravel : Learn Laravel Building 10 Projects
Projects In Laravel : Learn Laravel Building 10 ProjectsProjects In Laravel : Learn Laravel Building 10 Projects
Projects In Laravel : Learn Laravel Building 10 ProjectsSam Dias
 
Laravel development (Laravel History, Environment Setup & Laravel Installatio...
Laravel development (Laravel History, Environment Setup & Laravel Installatio...Laravel development (Laravel History, Environment Setup & Laravel Installatio...
Laravel development (Laravel History, Environment Setup & Laravel Installatio...Dilouar Hossain
 
Laravel - The PHP Framework for Web Artisans
Laravel - The PHP Framework for Web ArtisansLaravel - The PHP Framework for Web Artisans
Laravel - The PHP Framework for Web ArtisansWindzoon Technologies
 

What's hot (20)

All the Laravel things: up and running to making $$
All the Laravel things: up and running to making $$All the Laravel things: up and running to making $$
All the Laravel things: up and running to making $$
 
A introduction to Laravel framework
A introduction to Laravel frameworkA introduction to Laravel framework
A introduction to Laravel framework
 
An Introduction to the Laravel Framework (AFUP Forum PHP 2014)
An Introduction to the Laravel Framework (AFUP Forum PHP 2014)An Introduction to the Laravel Framework (AFUP Forum PHP 2014)
An Introduction to the Laravel Framework (AFUP Forum PHP 2014)
 
Getting to know Laravel 5
Getting to know Laravel 5Getting to know Laravel 5
Getting to know Laravel 5
 
Laravel Introduction
Laravel IntroductionLaravel Introduction
Laravel Introduction
 
Introduction to Laravel Framework (5.2)
Introduction to Laravel Framework (5.2)Introduction to Laravel Framework (5.2)
Introduction to Laravel Framework (5.2)
 
Digpen 7: Why choose Laravel?
Digpen 7: Why choose Laravel?Digpen 7: Why choose Laravel?
Digpen 7: Why choose Laravel?
 
10 Laravel packages everyone should know
10 Laravel packages everyone should know10 Laravel packages everyone should know
10 Laravel packages everyone should know
 
Laravel
LaravelLaravel
Laravel
 
MidwestPHP 2016 - Adventures in Laravel 5
MidwestPHP 2016 - Adventures in Laravel 5 MidwestPHP 2016 - Adventures in Laravel 5
MidwestPHP 2016 - Adventures in Laravel 5
 
Laravel Starter Kit | Laravel Admin Template-ChandraAdmin
Laravel Starter Kit | Laravel Admin Template-ChandraAdmin Laravel Starter Kit | Laravel Admin Template-ChandraAdmin
Laravel Starter Kit | Laravel Admin Template-ChandraAdmin
 
From CakePHP to Laravel
From CakePHP to LaravelFrom CakePHP to Laravel
From CakePHP to Laravel
 
Adventures in Laravel 5 SunshinePHP 2016 Tutorial
Adventures in Laravel 5 SunshinePHP 2016 TutorialAdventures in Laravel 5 SunshinePHP 2016 Tutorial
Adventures in Laravel 5 SunshinePHP 2016 Tutorial
 
Laravel introduction
Laravel introductionLaravel introduction
Laravel introduction
 
php[world] 2015 Training - Laravel from the Ground Up
php[world] 2015 Training - Laravel from the Ground Upphp[world] 2015 Training - Laravel from the Ground Up
php[world] 2015 Training - Laravel from the Ground Up
 
Laravel 5 Annotations: RESTful API routing
Laravel 5 Annotations: RESTful API routingLaravel 5 Annotations: RESTful API routing
Laravel 5 Annotations: RESTful API routing
 
Projects In Laravel : Learn Laravel Building 10 Projects
Projects In Laravel : Learn Laravel Building 10 ProjectsProjects In Laravel : Learn Laravel Building 10 Projects
Projects In Laravel : Learn Laravel Building 10 Projects
 
Laravel 5.4
Laravel 5.4 Laravel 5.4
Laravel 5.4
 
Laravel development (Laravel History, Environment Setup & Laravel Installatio...
Laravel development (Laravel History, Environment Setup & Laravel Installatio...Laravel development (Laravel History, Environment Setup & Laravel Installatio...
Laravel development (Laravel History, Environment Setup & Laravel Installatio...
 
Laravel - The PHP Framework for Web Artisans
Laravel - The PHP Framework for Web ArtisansLaravel - The PHP Framework for Web Artisans
Laravel - The PHP Framework for Web Artisans
 

Similar to What's New in Laravel 5 (Laravel Meetup - 23th Apr 15, Yogyakarta, ID)

Laravel (8) php_framework_handbook__start_from_zer_18604872_(z-lib.org)
Laravel (8) php_framework_handbook__start_from_zer_18604872_(z-lib.org)Laravel (8) php_framework_handbook__start_from_zer_18604872_(z-lib.org)
Laravel (8) php_framework_handbook__start_from_zer_18604872_(z-lib.org)ssuser337865
 
Laravel Code Generators and Packages
Laravel Code Generators and PackagesLaravel Code Generators and Packages
Laravel Code Generators and PackagesPovilas Korop
 
Frequently Asked Questions About Laravel
Frequently Asked Questions About LaravelFrequently Asked Questions About Laravel
Frequently Asked Questions About LaravelAResourcePool
 
Laravel, beyond the framework
Laravel, beyond the frameworkLaravel, beyond the framework
Laravel, beyond the frameworkRamesh Mhetre
 
Laravel 4 package development
Laravel 4 package developmentLaravel 4 package development
Laravel 4 package developmentTihomir Opačić
 
laravel-interview-questions.pdf
laravel-interview-questions.pdflaravel-interview-questions.pdf
laravel-interview-questions.pdfAnuragMourya8
 
Introduction of laravel framework.
Introduction of laravel framework.Introduction of laravel framework.
Introduction of laravel framework.Omid Nikrah
 
What’s new in laravel 9
What’s new in laravel 9What’s new in laravel 9
What’s new in laravel 9Katy Slemon
 
Laravel installation
Laravel installationLaravel installation
Laravel installationphptpoint0123
 
data_laravel.pptx
data_laravel.pptxdata_laravel.pptx
data_laravel.pptxwarisskom
 
What is Laravel Octane The Future of High-Performance Web Applications.pdf
What is Laravel Octane The Future of High-Performance Web Applications.pdfWhat is Laravel Octane The Future of High-Performance Web Applications.pdf
What is Laravel Octane The Future of High-Performance Web Applications.pdfSufalam Technologies
 
10 less-known Laravel Packages: May 2016
10 less-known Laravel Packages: May 201610 less-known Laravel Packages: May 2016
10 less-known Laravel Packages: May 2016Povilas Korop
 
Laravel - The PHP Framework For Web Artisans
Laravel  - The PHP Framework For Web ArtisansLaravel  - The PHP Framework For Web Artisans
Laravel - The PHP Framework For Web ArtisansViktor Lalev
 
The Ultimate Guide to Laravel Performance Optimization in 2022.pdf
The Ultimate Guide to Laravel Performance Optimization in 2022.pdfThe Ultimate Guide to Laravel Performance Optimization in 2022.pdf
The Ultimate Guide to Laravel Performance Optimization in 2022.pdfKaty Slemon
 
Laravel 9 is now out – how is an improvement over its predecessors
Laravel 9 is now out – how is an improvement over its predecessorsLaravel 9 is now out – how is an improvement over its predecessors
Laravel 9 is now out – how is an improvement over its predecessorsMoon Technolabs Pvt. Ltd.
 
Why Laravel PHP Framework Is Preferred By Web Developers?
Why Laravel PHP Framework Is Preferred By Web Developers?Why Laravel PHP Framework Is Preferred By Web Developers?
Why Laravel PHP Framework Is Preferred By Web Developers?KrishaWeb Technologies
 

Similar to What's New in Laravel 5 (Laravel Meetup - 23th Apr 15, Yogyakarta, ID) (20)

Laravel (8) php_framework_handbook__start_from_zer_18604872_(z-lib.org)
Laravel (8) php_framework_handbook__start_from_zer_18604872_(z-lib.org)Laravel (8) php_framework_handbook__start_from_zer_18604872_(z-lib.org)
Laravel (8) php_framework_handbook__start_from_zer_18604872_(z-lib.org)
 
Laravel Lab
Laravel LabLaravel Lab
Laravel Lab
 
Laravel Code Generators and Packages
Laravel Code Generators and PackagesLaravel Code Generators and Packages
Laravel Code Generators and Packages
 
Getting started with laravel
Getting started with laravelGetting started with laravel
Getting started with laravel
 
Frequently Asked Questions About Laravel
Frequently Asked Questions About LaravelFrequently Asked Questions About Laravel
Frequently Asked Questions About Laravel
 
Laravel, beyond the framework
Laravel, beyond the frameworkLaravel, beyond the framework
Laravel, beyond the framework
 
Laravel intallation
Laravel intallationLaravel intallation
Laravel intallation
 
Laravel 4 package development
Laravel 4 package developmentLaravel 4 package development
Laravel 4 package development
 
laravel-interview-questions.pdf
laravel-interview-questions.pdflaravel-interview-questions.pdf
laravel-interview-questions.pdf
 
Introduction of laravel framework.
Introduction of laravel framework.Introduction of laravel framework.
Introduction of laravel framework.
 
What’s new in laravel 9
What’s new in laravel 9What’s new in laravel 9
What’s new in laravel 9
 
Laravel installation
Laravel installationLaravel installation
Laravel installation
 
data_laravel.pptx
data_laravel.pptxdata_laravel.pptx
data_laravel.pptx
 
What is Laravel Octane The Future of High-Performance Web Applications.pdf
What is Laravel Octane The Future of High-Performance Web Applications.pdfWhat is Laravel Octane The Future of High-Performance Web Applications.pdf
What is Laravel Octane The Future of High-Performance Web Applications.pdf
 
10 less-known Laravel Packages: May 2016
10 less-known Laravel Packages: May 201610 less-known Laravel Packages: May 2016
10 less-known Laravel Packages: May 2016
 
Laravel - The PHP Framework For Web Artisans
Laravel  - The PHP Framework For Web ArtisansLaravel  - The PHP Framework For Web Artisans
Laravel - The PHP Framework For Web Artisans
 
The Ultimate Guide to Laravel Performance Optimization in 2022.pdf
The Ultimate Guide to Laravel Performance Optimization in 2022.pdfThe Ultimate Guide to Laravel Performance Optimization in 2022.pdf
The Ultimate Guide to Laravel Performance Optimization in 2022.pdf
 
Laravel 9 is now out – how is an improvement over its predecessors
Laravel 9 is now out – how is an improvement over its predecessorsLaravel 9 is now out – how is an improvement over its predecessors
Laravel 9 is now out – how is an improvement over its predecessors
 
Laravel.pptx
Laravel.pptxLaravel.pptx
Laravel.pptx
 
Why Laravel PHP Framework Is Preferred By Web Developers?
Why Laravel PHP Framework Is Preferred By Web Developers?Why Laravel PHP Framework Is Preferred By Web Developers?
Why Laravel PHP Framework Is Preferred By Web Developers?
 

Recently uploaded

Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Hyundai Motor Group
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 

Recently uploaded (20)

Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 

What's New in Laravel 5 (Laravel Meetup - 23th Apr 15, Yogyakarta, ID)

  • 1. What’s New in Laravel 5 An Introduction to Laravel 5 by Roes Wibowo Supported By
  • 2. About Laravel - Fullstack PHP Web Framework - Open Source (MIT License) Version: - v1, June 2011 - v2, November 2011 - v3, February 2012 - v4, May 2013 - v5 (4.3), February 2015
  • 3. About Laravel In Narnia (The Chronicles of Narnia), Cair Paravel is the name of the castle where the kings and queens of Narnia live. Laravel rhymes with Paravel. I thought the name had a classy and sophisticated ring to it. – Taylor Otwell source: https://laravel-news.com/2014/03/in-narnia-cair-paravel-is-the-name-of-the-castle
  • 4. About Laravel Server Requirements: - PHP >= 5.4 - Mcrypt PHP Extension - OpenSSL PHP Extension - Mbstring PHP Extension - Tokenizer PHP Extension - JSON PHP Extension
  • 5. Why should we use Laravel? Laravel powered by Composer, tool dependency management and autoloader for PHP. https://packagist.org main composer repository. http://packalyst.com directory of packages for Laravel.
  • 6. Why should we use Laravel? Laravel not just be trend, but future (of PHP Framework)!
  • 7. Why should we use Laravel? - Laravel is clean, classy and elegant PHP Framework - Dependency Injection (DI) for reusable code - Built in unit testing for TDD approach - Follows PSR (L5 follow PSR-4) - Use latest technology of PHP language - Good documentation - Great Community
  • 8. Installing Laravel 5 - Using composer create-project - Using laravel installer
  • 9. Installing Laravel 5 - Download or clone via github then install using composer
  • 10. Updating Laravel 5 - Update using composer - Generate autoload composer
  • 11. Removed Features in Laravel 5 - Annotation (Route, Controller, Event, Model) - Remote SSH - HTML Form - Whoops error handler
  • 12. New Features in Laravel 5 - Artisan command - Helpers - Eloquent attribute casting - Event object - Event scheduler - Form request & request validation - Elixir - Socialite - Command (queue)
  • 13. New Features in Laravel 5 - Folder structure - DotEnv - Cache route & config - Symfony var dumper - Middleware - Contract - Controller method injection - Blade changes - PsySH in Tinker - Flysystem / Cloud Storage
  • 14. Laravel 5 Folder Structure
  • 15. Laravel 5 Folder Structure
  • 16. DotEnv Configuration in Laravel 5 Catch environment variables from server configuration
  • 20. Symfony VarDumper in Laravel 5 The VarDumper component provides mechanisms for walking through any arbitrary PHP variable
  • 21. Cache Config and Route in Laravel 5 - Create and delete cache config - Create and delete cache route
  • 22. Cache Config and Route in Laravel 5 Cache route only for non Closure. Cache location: - /vendor/file.php, or - /storage/framework/file.php
  • 23. Middleware in Laravel 5 Middleware replace position Filter (L4) - Generate Middleware:
  • 24. Middleware in Laravel 5 - Before Middleware, perform some task before the request is handled by the application
  • 25. Middleware in Laravel 5 - After Middleware, perform some task after the request is handled by the application
  • 26. Middleware in Laravel 5 - Register Before/After Middleware:
  • 27. Middleware in Laravel 5 - Terminable Middleware, perform some task after the HTTP response has already been sent to the browser
  • 28. Middleware in Laravel 5 - Register Terminable Middleware:
  • 29. Middleware Route in Laravel 5 - Defining Middleware in Route:
  • 32. Blade changes in Laravel 5
  • 33. PsySH in Laravel 5 tinker
  • 34. Flysystem / Cloud Storage in Laravel 5 The Laravel Flysystem integration provides simple to use drivers for working with local filesystems, Amazon S3, and Rackspace Cloud Storage.
  • 35. Flysystem / Cloud Storage in Laravel 5
  • 36. Flysystem / Cloud Storage in Laravel 5 - Sample Route - Check connection to AWS S3
  • 37. Flysystem / Cloud Storage in Laravel 5 - Upload file from local storage - Check file in storage
  • 38. Flysystem / Cloud Storage in Laravel 5 - Edit it locally and upload it to cloud storage
  • 39. Flysystem / Cloud Storage in Laravel 5 - Delete file
  • 40. Discuss Session Lets discuss about Laravel 5! 