Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
22 views15 pages

Unit 1 - Basic Laravel

Laravel is an open-source PHP web framework designed for building high-end web applications with a focus on elegant syntax and robust tools. It follows the MVC architectural pattern and includes features like routing, authentication, and ORM capabilities. The current version is Laravel 8, released on September 8, 2020, and its application structure includes directories for core code, configuration, database migrations, and more.

Uploaded by

Anisha Jain
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views15 pages

Unit 1 - Basic Laravel

Laravel is an open-source PHP web framework designed for building high-end web applications with a focus on elegant syntax and robust tools. It follows the MVC architectural pattern and includes features like routing, authentication, and ORM capabilities. The current version is Laravel 8, released on September 8, 2020, and its application structure includes directories for core code, configuration, database migrations, and more.

Uploaded by

Anisha Jain
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 15

INT221:MVC PROGRAMMING

What is Laravel ?
Laravel is a PHP based web framework for
building high-end web applications using its
significant and graceful syntaxes.
It comes with a robust collection of tools and
provides application architecture.
What is Laravel ?
Moreover, it includes various characteristics of
technologies like ASP.NET MVC, CodeIgniter, Ruby
on Rails, and many more.
This framework is an open-source framework.
It facilitates developers by saving huge time and
helps reduce thinking and planning to develop the
entire website from scratch.
What is Laravel ?
The security of the application is also taken care
of by Laravel
The current version of Laravel is 8, which is a
stable release, released on September 8, 2020.
And anyone can check its open-source GitHub
repository from this link below:
https://github.com/laravel/framework
Facts about Laravel
• Taylor Otwell developed Laravel in July 2011, and it
was released more than five years after the release
of the Codeigniter framework.
• Laravel is a PHP based web-framework
like Codeigniter.
• Laravel is one of the open-source PHP frameworks.
• Laravel follows the model-view-controller (MVC)
architectural pattern.
• Laravel is one of the most popular PHP frameworks
after Codeigniter.
Features of Laravel
• Routing controllers.
• Configuration management.
• Testability.
• Authentication and authorization of users.
• Modularity.
• ORM (Object Relational Mapper) features.
• Provides a template engine.
• Building schemas.
• E-mailing facilities.
MVC
MVC
LARAVEL INSTALLATION

https://laravel.com/docs/4.2

composer create-project --prefer-dist


laravel/laravel mvc
Laravel Application Structure
Laravel Application Structure
The App Directory
The app directory contains the core code of user application.
Almost all of the classes in user application will be in this
directory.
The Bootstrap Directory
The bootstrap directory contains the app.php file which
bootstraps the framework.
The Config Directory
The config directorycontains all of user application's
configuration files.
Laravel Application Structure
The Database Directory
The database directory contains user database migrations,
model factories, and seeds.

The Public Directory


The public directory contains the index.php file, which is the
entry point for all requests entering user application and
configures autoloading.
This directory also houses users assets such as images,
JavaScript, and CSS.
Laravel Application Structure
The Resources Directory
The resources directory contains user views as well as raw,
un-compiled assets such as CSS or JavaScript.
This directory also houses all of language files..

The Routes Directory


The routes directory contains all of the route definitions for
user application.
By default, several route files are included with Laravel:
web.php, api.php, console.php, and channels.php.
Laravel Application Structure
The Storage Directory
The storage directory contains user logs, compiled Blade
templates, file based sessions, file caches, and other files
generated by the framework.
The app directory may be used to store any files generated
by user application.
The Tests Directory
The tests directory contains automated tests.
The Vendor Directory
The vendor directory contains Composer dependencies.
app Directory

You might also like