SlideShare una empresa de Scribd logo
1 de 19
laravel
INTRODUCTION
Laravel is a popular PHP web application framework designed to simplify
web development with a modular structure, elegant syntax, and built-in-
features. It was created by Taylor otwell in 2011
WHY LARAVEL ?
Simplicity: Laravel has a simple and elegant syntax that makes it easy to
learn and use. It follows the Model-View-Controller (MVC) architectural pattern, which
separates the application logic, presentation, and data into distinct layers, making it easier
to maintain and test code.
Modularity: Laravel is designed with modularity in mind, which
means that it is highly customizable and adaptable. It comes with a wide range of built-in
features, such as routing, middleware, database management, authentication, and more,
that can be easily added or removed depending on the needs of the application.
Built-in features: Laravel has a rich set of built-in features that
help streamline the web development process, including the Blade templating engine,
Eloquent ORM, Artisan command-line interface, and more. These features help developers
to write cleaner, more maintainable, and efficient code in less time.
Active community: Laravel has a large and active community
of developers, which means that there is a wealth of documentation, tutorials, and other
resources available to help developers learn and use the framework. The community also
contributes to the development of the framework by providing feedback, reporting bugs,
and creating packages and extensions to add new functionality.
Laravel Features
• Routing
• Middleware
• Blade template engine
• Eloquent ORM
• Artisan command line interface
• Security features
Getting Started with Laravel
Installation
First, download the Laravel installer using Composer:
~ composer global require laravel/installer
~ laravel new test
~cd example-app
~php artisan serve
Directory structure
app/Http folder contains the Controller, Middlewares and Kernel file
All model should be located in app/Models folder
All the config files are located in app/config folder
Database folder contains the migrations
MVC
MVC is a software
architectural pattern
commonly used for
developing user interface that
divide the related
program logic into a three
interconnected elements.
Routing
The route is a way of creating a
request URL for your application
In Laravel, routes are created
inside the routes folder. They are
created in the web.php file for
websites. And for APIs, they are
created inside api.php
Blade
blade is a powerful template
engine provided by Laravel
All the code inside blade file is
compiled to static html file
support plain PHP
Eloquent & database
The Eloquent ORM included with
Laravel provides a beautiful,
simple ActiveRecord
implementation for working with
your database .
Each database table has a
corresponding “model ” which is
used to interact with that table
middleware
The middleware is mechanism for
filtering the HTTP requests
Laravel include several middleware’s -
Authentication, CSRF Protection
The auth middleware check if the user
visiting the page is authenticated
through session cookie
The CSRF token proctection middleware
protects your application from cross- site
request forgery attack by adding token
key for each generated form
Validation :
Model:
Artisan
Artisan is the command-line
interface included with Laravel. It
provides a number of helpful
commands that can assist you
while you build your application.
This tool allows us to perform the
majority of those repetitive and
tedious programming tasks that
most of the developers avoid
performing manually.
SECURITY
SECURITY
***

Más contenido relacionado

La actualidad más candente

Lecture 2_ Intro to laravel.pptx
Lecture 2_ Intro to laravel.pptxLecture 2_ Intro to laravel.pptx
Lecture 2_ Intro to laravel.pptx
SaziaRahman
 
Object Oriented Programming with Laravel - Session 3
Object Oriented Programming with Laravel - Session 3Object Oriented Programming with Laravel - Session 3
Object Oriented Programming with Laravel - Session 3
Shahrzad Peyman
 

La actualidad más candente (20)

Introduction to laravel framework
Introduction to laravel frameworkIntroduction to laravel framework
Introduction to laravel framework
 
Why Laravel?
Why Laravel?Why Laravel?
Why Laravel?
 
Laravel Introduction
Laravel IntroductionLaravel Introduction
Laravel Introduction
 
Angular 8
Angular 8 Angular 8
Angular 8
 
Python/Flask Presentation
Python/Flask PresentationPython/Flask Presentation
Python/Flask Presentation
 
ReactJS presentation.pptx
ReactJS presentation.pptxReactJS presentation.pptx
ReactJS presentation.pptx
 
Introduction To PHP
Introduction To PHPIntroduction To PHP
Introduction To PHP
 
Web Development with Laravel 5
Web Development with Laravel 5Web Development with Laravel 5
Web Development with Laravel 5
 
Php array
Php arrayPhp array
Php array
 
PHP - Introduction to Object Oriented Programming with PHP
PHP -  Introduction to  Object Oriented Programming with PHPPHP -  Introduction to  Object Oriented Programming with PHP
PHP - Introduction to Object Oriented Programming with PHP
 
Lecture 2_ Intro to laravel.pptx
Lecture 2_ Intro to laravel.pptxLecture 2_ Intro to laravel.pptx
Lecture 2_ Intro to laravel.pptx
 
Angular
AngularAngular
Angular
 
Introduction to JavaScript
Introduction to JavaScriptIntroduction to JavaScript
Introduction to JavaScript
 
What-is-Laravel-23-August-2017.pptx
What-is-Laravel-23-August-2017.pptxWhat-is-Laravel-23-August-2017.pptx
What-is-Laravel-23-August-2017.pptx
 
Introduction to Javascript
Introduction to JavascriptIntroduction to Javascript
Introduction to Javascript
 
Php
PhpPhp
Php
 
Php introduction
Php introductionPhp introduction
Php introduction
 
Angular Data Binding
Angular Data BindingAngular Data Binding
Angular Data Binding
 
Learn react-js
Learn react-jsLearn react-js
Learn react-js
 
Object Oriented Programming with Laravel - Session 3
Object Oriented Programming with Laravel - Session 3Object Oriented Programming with Laravel - Session 3
Object Oriented Programming with Laravel - Session 3
 

Similar a laravel.pptx

Web application development with laravel php framework version 4
Web application development with laravel php framework version 4Web application development with laravel php framework version 4
Web application development with laravel php framework version 4
Untung D Saptoto
 

Similar a laravel.pptx (20)

Laravel: Unleashing the power of PHP
Laravel: Unleashing the power  of PHPLaravel: Unleashing the power  of PHP
Laravel: Unleashing the power of PHP
 
Web presentation
Web presentationWeb presentation
Web presentation
 
Why is Laravel the best framework for startups?
Why is Laravel the best framework for startups?Why is Laravel the best framework for startups?
Why is Laravel the best framework for startups?
 
Laravel : A Fastest Growing Kid
Laravel : A Fastest Growing KidLaravel : A Fastest Growing Kid
Laravel : A Fastest Growing Kid
 
Unleashing the Power of Laravel A Journey to Modern Web Development | CETPA I...
Unleashing the Power of Laravel A Journey to Modern Web Development | CETPA I...Unleashing the Power of Laravel A Journey to Modern Web Development | CETPA I...
Unleashing the Power of Laravel A Journey to Modern Web Development | CETPA I...
 
Laravel Web Development: A Comprehensive Guide
Laravel Web Development: A Comprehensive GuideLaravel Web Development: A Comprehensive Guide
Laravel Web Development: A Comprehensive Guide
 
Laravel - A Trending PHP Framework
Laravel - A Trending PHP FrameworkLaravel - A Trending PHP Framework
Laravel - A Trending PHP Framework
 
13 Advantages of Using Laravel for Web Development.pdf
13 Advantages of Using Laravel for Web Development.pdf13 Advantages of Using Laravel for Web Development.pdf
13 Advantages of Using Laravel for Web Development.pdf
 
Latest Laravel Practice 2023 Experts Guidance.pdf
Latest Laravel Practice 2023 Experts Guidance.pdfLatest Laravel Practice 2023 Experts Guidance.pdf
Latest Laravel Practice 2023 Experts Guidance.pdf
 
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)
 
Who Should Consider Using Laravel for Web Development?
Who Should Consider Using Laravel for Web Development?Who Should Consider Using Laravel for Web Development?
Who Should Consider Using Laravel for Web Development?
 
Web application development with laravel php framework version 4
Web application development with laravel php framework version 4Web application development with laravel php framework version 4
Web application development with laravel php framework version 4
 
Why Should You Use Laravel for Web Application Development
Why Should You Use Laravel for Web Application DevelopmentWhy Should You Use Laravel for Web Application Development
Why Should You Use Laravel for Web Application Development
 
Advanced features of Laravel development
Advanced features of Laravel developmentAdvanced features of Laravel development
Advanced features of Laravel development
 
Frequently Asked Questions About Laravel
Frequently Asked Questions About LaravelFrequently Asked Questions About Laravel
Frequently Asked Questions About Laravel
 
Laravel Presentation
Laravel PresentationLaravel Presentation
Laravel Presentation
 
What’s New in Laravel 8 for a Laravel Development Company?
What’s New in Laravel 8 for a Laravel Development Company?What’s New in Laravel 8 for a Laravel Development Company?
What’s New in Laravel 8 for a Laravel Development Company?
 
laravel development company
laravel development companylaravel development company
laravel development company
 
What makes Laravel the optimal framework for your project.pdf
What makes Laravel the optimal framework for your project.pdfWhat makes Laravel the optimal framework for your project.pdf
What makes Laravel the optimal framework for your project.pdf
 
Why Laravel is the first choice for Web development_.pdf
Why Laravel is the first choice for Web development_.pdfWhy Laravel is the first choice for Web development_.pdf
Why Laravel is the first choice for Web development_.pdf
 

Último

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 

Último (20)

Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 

laravel.pptx

  • 2. INTRODUCTION Laravel is a popular PHP web application framework designed to simplify web development with a modular structure, elegant syntax, and built-in- features. It was created by Taylor otwell in 2011
  • 3. WHY LARAVEL ? Simplicity: Laravel has a simple and elegant syntax that makes it easy to learn and use. It follows the Model-View-Controller (MVC) architectural pattern, which separates the application logic, presentation, and data into distinct layers, making it easier to maintain and test code. Modularity: Laravel is designed with modularity in mind, which means that it is highly customizable and adaptable. It comes with a wide range of built-in features, such as routing, middleware, database management, authentication, and more, that can be easily added or removed depending on the needs of the application. Built-in features: Laravel has a rich set of built-in features that help streamline the web development process, including the Blade templating engine, Eloquent ORM, Artisan command-line interface, and more. These features help developers to write cleaner, more maintainable, and efficient code in less time. Active community: Laravel has a large and active community of developers, which means that there is a wealth of documentation, tutorials, and other resources available to help developers learn and use the framework. The community also contributes to the development of the framework by providing feedback, reporting bugs, and creating packages and extensions to add new functionality.
  • 4. Laravel Features • Routing • Middleware • Blade template engine • Eloquent ORM • Artisan command line interface • Security features
  • 5. Getting Started with Laravel Installation First, download the Laravel installer using Composer: ~ composer global require laravel/installer ~ laravel new test ~cd example-app ~php artisan serve
  • 6. Directory structure app/Http folder contains the Controller, Middlewares and Kernel file All model should be located in app/Models folder All the config files are located in app/config folder Database folder contains the migrations
  • 7. MVC MVC is a software architectural pattern commonly used for developing user interface that divide the related program logic into a three interconnected elements.
  • 8. Routing The route is a way of creating a request URL for your application In Laravel, routes are created inside the routes folder. They are created in the web.php file for websites. And for APIs, they are created inside api.php
  • 9.
  • 10. Blade blade is a powerful template engine provided by Laravel All the code inside blade file is compiled to static html file support plain PHP
  • 11. Eloquent & database The Eloquent ORM included with Laravel provides a beautiful, simple ActiveRecord implementation for working with your database . Each database table has a corresponding “model ” which is used to interact with that table
  • 12. middleware The middleware is mechanism for filtering the HTTP requests Laravel include several middleware’s - Authentication, CSRF Protection The auth middleware check if the user visiting the page is authenticated through session cookie The CSRF token proctection middleware protects your application from cross- site request forgery attack by adding token key for each generated form
  • 15. Artisan Artisan is the command-line interface included with Laravel. It provides a number of helpful commands that can assist you while you build your application. This tool allows us to perform the majority of those repetitive and tedious programming tasks that most of the developers avoid performing manually.
  • 16.
  • 19. ***