SlideShare a Scribd company logo
Laravel Installation for
Beginners
Presented By :
Sandhya Kumari
Samarth Singh
HeaderLabs Infotech Pvt. Ltd.
What is Laravel?
Laravel is a open-source PHP framework
developed by Taylor Otwell used for Developing
the websites.
Laravel helps you create applications using
simple, expressive syntax.
It is based on model–view–controller (MVC)
architectural pattern.
Benefits of Laravel over other Php
frameworks
1). Setup and customization process is easy and fast as
compared to others.
2). Inbuilt Authentication System.
3). Supports multiple file systems.
4). Pre-loaded packages like Laravel Socialite, Laravel cashier,
Passport,Laravel Scout.
5). Built in command line tool “Artisan” for creating a code
skeleton ,database structure and build their migration.
History of Laravel
Laravel 1 was released in June 9, 2011.
Laravel 1 included built-in support for authentication, localisation,
models, views, sessions, routing and other mechanisms, but
lacked support for controllers that prevented it from being a true
MVC framework.
Laravel 2 was released in September 2011, bringing various
improvements from the author and community.
Major new features included the support for controllers, which
made Laravel 2 a fully MVC-compliant framework.As a downside,
support for third-party packages was removed in Laravel 2.
Server requirements To install Laravel
PHP >= 5.6.4
OpenSSL PHP Extension
PDO PHP Extension
Mbstring PHP Extension
Tokenizer PHP Extension
XML PHP Extension
Checking PHP version
To check your PHP version, please type below
command on your Terminal.
php -version
if your php version is less than 5.6.4 ,then
you need to upgrade your Php version.
Installing composer globally
Run below commands to install composer.
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('SHA384', 'composer-setup.php') ===
'669656bab3166a7aff8a7506b8cb2d1c292f042046c5a994c43155c0b
e6190fa0355160742ab2e1c88d40d5be660b410') { echo 'Installer
verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php');
} echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"
OR
curl -sS https://getcomposer.org/installer | sudo php -- --install-
dir=/usr/local/bin --filename=composer
Installing composer globally
Show on your terminal
Read More:-
https://getcomposer.org/download/
Install Mbstring PHP Extension
Run below command to install Mbstring PHP
Extension
sudo apt-get install php7.0-mbstring
Installing XML PHP Extension
sudo apt-get install php7.0-xml
Restarting apache after installation of XML &
Mbstring PHP Extension
sudo service apache2 restart
Installing latest laravel Framework.
Run below command to install Laravel
composer create-project --prefer-dist laravel/laravel blog
Checking installed version of laravel.
php artisan -V
Start Local Development Server
php artisan serve
This command will start a development server at
http://localhost:8000:
Change folder permissions
Run below command to folder permissions
sudo chmod -R 777 public/ storage/ bootstrap/
Now access it from the browser to check
http://localhost:8000:
What are Advantages of Laravel?
1). Easy and consistent syntax.
2). Set-up process is easy.
3). customization process is easy.
THANK-YOU

More Related Content

PPTX
Steps on macfee epo console icon
PPS
VirusScan Enterprise v8.8
PPTX
Mcafee Epolicy Orchestrator
PDF
Knowing Laravel 5 : The most popular PHP framework
PPTX
What's New in Laravel 5 (Laravel Meetup - 23th Apr 15, Yogyakarta, ID)
PDF
Console Apps: php artisan forthe:win
PDF
Intermediate/Compliance training Guide
PPTX
Learn SELENIUM at ASIT
Steps on macfee epo console icon
VirusScan Enterprise v8.8
Mcafee Epolicy Orchestrator
Knowing Laravel 5 : The most popular PHP framework
What's New in Laravel 5 (Laravel Meetup - 23th Apr 15, Yogyakarta, ID)
Console Apps: php artisan forthe:win
Intermediate/Compliance training Guide
Learn SELENIUM at ASIT

Similar to Laravel intallation (20)

PDF
Adventures in Laravel 5 SunshinePHP 2016 Tutorial
PPTX
Introduction of laravel framework.
PDF
Laravel (8) php_framework_handbook__start_from_zer_18604872_(z-lib.org)
PPTX
Laravel development (Laravel History, Environment Setup & Laravel Installatio...
PPTX
Web programming using PHP and Introduction with sample codes
PPTX
Laravel 9_ Unlock the Exciting Features Here!.pptx
PDF
All the Laravel Things – Up & Running to Making $$
PDF
Web services with laravel
PDF
Web Development with Laravel 5
PPTX
Laravel : A Fastest Growing Kid
PPTX
Getting started with laravel
PDF
The Ultimate Guide to Laravel Performance Optimization in 2022.pdf
PPT
Web service with Laravel
PPTX
introduction to web programming using PHP
PPTX
New Features of Laravel 9​ - Storeemart a Best Laravel Ecommerce Platform
PDF
All the Laravel things: up and running to making $$
PPT
Laravel Starter Kit | Laravel Admin Template-ChandraAdmin
PDF
Web Programming - 3 Laravel Framework
PPT
Integrating LAMP with Mkahawa Cyber Manager & SQLite
PDF
Building RESTful APIs with Laravel A Complete Guide.pdf
Adventures in Laravel 5 SunshinePHP 2016 Tutorial
Introduction of laravel framework.
Laravel (8) php_framework_handbook__start_from_zer_18604872_(z-lib.org)
Laravel development (Laravel History, Environment Setup & Laravel Installatio...
Web programming using PHP and Introduction with sample codes
Laravel 9_ Unlock the Exciting Features Here!.pptx
All the Laravel Things – Up & Running to Making $$
Web services with laravel
Web Development with Laravel 5
Laravel : A Fastest Growing Kid
Getting started with laravel
The Ultimate Guide to Laravel Performance Optimization in 2022.pdf
Web service with Laravel
introduction to web programming using PHP
New Features of Laravel 9​ - Storeemart a Best Laravel Ecommerce Platform
All the Laravel things: up and running to making $$
Laravel Starter Kit | Laravel Admin Template-ChandraAdmin
Web Programming - 3 Laravel Framework
Integrating LAMP with Mkahawa Cyber Manager & SQLite
Building RESTful APIs with Laravel A Complete Guide.pdf
Ad

Recently uploaded (20)

PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
Big Data Technologies - Introduction.pptx
DOCX
The AUB Centre for AI in Media Proposal.docx
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
Cloud computing and distributed systems.
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
A comparative analysis of optical character recognition models for extracting...
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
Machine Learning_overview_presentation.pptx
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Advanced methodologies resolving dimensionality complications for autism neur...
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Big Data Technologies - Introduction.pptx
The AUB Centre for AI in Media Proposal.docx
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Cloud computing and distributed systems.
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Diabetes mellitus diagnosis method based random forest with bat algorithm
Chapter 3 Spatial Domain Image Processing.pdf
Mobile App Security Testing_ A Comprehensive Guide.pdf
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Spectral efficient network and resource selection model in 5G networks
Reach Out and Touch Someone: Haptics and Empathic Computing
20250228 LYD VKU AI Blended-Learning.pptx
NewMind AI Weekly Chronicles - August'25-Week II
A comparative analysis of optical character recognition models for extracting...
Per capita expenditure prediction using model stacking based on satellite ima...
Machine Learning_overview_presentation.pptx
“AI and Expert System Decision Support & Business Intelligence Systems”
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Ad

Laravel intallation

  • 1. Laravel Installation for Beginners Presented By : Sandhya Kumari Samarth Singh HeaderLabs Infotech Pvt. Ltd.
  • 2. What is Laravel? Laravel is a open-source PHP framework developed by Taylor Otwell used for Developing the websites. Laravel helps you create applications using simple, expressive syntax. It is based on model–view–controller (MVC) architectural pattern.
  • 3. Benefits of Laravel over other Php frameworks 1). Setup and customization process is easy and fast as compared to others. 2). Inbuilt Authentication System. 3). Supports multiple file systems. 4). Pre-loaded packages like Laravel Socialite, Laravel cashier, Passport,Laravel Scout. 5). Built in command line tool “Artisan” for creating a code skeleton ,database structure and build their migration.
  • 4. History of Laravel Laravel 1 was released in June 9, 2011. Laravel 1 included built-in support for authentication, localisation, models, views, sessions, routing and other mechanisms, but lacked support for controllers that prevented it from being a true MVC framework. Laravel 2 was released in September 2011, bringing various improvements from the author and community. Major new features included the support for controllers, which made Laravel 2 a fully MVC-compliant framework.As a downside, support for third-party packages was removed in Laravel 2.
  • 5. Server requirements To install Laravel PHP >= 5.6.4 OpenSSL PHP Extension PDO PHP Extension Mbstring PHP Extension Tokenizer PHP Extension XML PHP Extension
  • 6. Checking PHP version To check your PHP version, please type below command on your Terminal. php -version if your php version is less than 5.6.4 ,then you need to upgrade your Php version.
  • 7. Installing composer globally Run below commands to install composer. php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" php -r "if (hash_file('SHA384', 'composer-setup.php') === '669656bab3166a7aff8a7506b8cb2d1c292f042046c5a994c43155c0b e6190fa0355160742ab2e1c88d40d5be660b410') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" php composer-setup.php php -r "unlink('composer-setup.php');" OR curl -sS https://getcomposer.org/installer | sudo php -- --install- dir=/usr/local/bin --filename=composer
  • 8. Installing composer globally Show on your terminal Read More:- https://getcomposer.org/download/
  • 9. Install Mbstring PHP Extension Run below command to install Mbstring PHP Extension sudo apt-get install php7.0-mbstring Installing XML PHP Extension sudo apt-get install php7.0-xml Restarting apache after installation of XML & Mbstring PHP Extension sudo service apache2 restart
  • 10. Installing latest laravel Framework. Run below command to install Laravel composer create-project --prefer-dist laravel/laravel blog Checking installed version of laravel. php artisan -V Start Local Development Server php artisan serve This command will start a development server at http://localhost:8000:
  • 11. Change folder permissions Run below command to folder permissions sudo chmod -R 777 public/ storage/ bootstrap/ Now access it from the browser to check http://localhost:8000:
  • 12. What are Advantages of Laravel? 1). Easy and consistent syntax. 2). Set-up process is easy. 3). customization process is easy.