Have you spent much time to know what is Laravel? I am pretty sure after reading this post you will have basic knowledge about what is Laravel and How many things or technologies you know to run Laravel.
Now in days, Laravel is on number one position in PHP. Why? because Laravel is very flexible and provides all readiest code snippet which is the actual job framework. Framework means ready code snippet or code block that you can implement and modify it as per your own requirements.
Laravel is MVC design pattern framework. Laravel's original creator is Taylor Otwell. Laravel is open source framework Current version of Laravel is 5.4. Official website of Laravel is laravel.com also its contains very powerful documentation and great support of the community. Laravel run on PHP scripting language. if you are familiar with MVC design pattern then it's very easy to understand Laravel.
So here best reasons why Laravel is fast growing framework now in days. Features that I listed:
- Method Injection
- Authentication Scaffolding
- Routing Request
- Eloquent ORM System
- Blade Template Engine
- Event Object
- Multiple File System
- Artisan CLI
- Config file system to manage configurations
- Event Object
After reading the long list you will say wow it's too much but don't worry I will give little bit more explanations on every feature in next posts.
Laravel using default ready components of the Symfony framework which is also the most powerful framework for PHP. Now you are thinking how it's possible to use another framework's component or library. Yes! it is possible and also before we are moving on actual Laravel you need some basic understanding of topic or technologies that I listed below:
I added a link to every item so you can read on it in detail. Here I explained in short. Let's take quick eyes on every topic:
PHP is the world's most popular programming language developed by Rasmus Lerdorf. PHP is server side scripting language which is used to create dynamic pages. To execute or run PHP you need a server on your own system.
A current version of PHP is 7.1. You can use local server system software like WAMP, XAMP or MAMP. Laravel is developed on PHP programming language mean to run Laravel you need PHP installed on your system.
MVC is code pattern which is used to organize your code's into separate levels such as a Business layer, Front layer, and database layer. Laravel uses MVC structure that means you can easily manage your view and coding file and database which different files.
PSR stands for PHP Standards Recommendations. It's rule used in a coding pattern now every framework in PHP uses the PSR standard to develop an application that helps us to debug code easily. Laravel uses PSR-4 structure.
Very important concept to understand. The composer is a way to manage your code dependency. Assume that you are going to built e-commerce website. Now your friend has ready sales module to use that code in your existing project composer can help you.
This means that Composer will pull in all the required libraries, dependencies and manage them all in one place. Laravel also using some external libraries to provide better result like guzzle, PHPUnit and many of components of Symfony. You can also use any related packages in your project there are lots of a package and best this that are open-source.
Assume that you write one piece of code and after some time, you realize that you need your old code back. one solution is you can do UNDO option second is all time you save your file in a different location but this all solution are messy. So how to do it professionally? well to do that or manage the versions of your application Git is coming in a picture.
Git is version control system that helps to manage different version within centralized directory or repository so anyone can access. Laravel has its own repository so anyone can access from anywhere.
Assume Git as the tree that contains multiple branches if we talk technical application contains local, development, stage or live branches.