What is Laravel ?
Laravel, a new php web framework, is popular in its field of MVC architecture. I mean what you cannot do with it! There is a whole new bunch of functionalities from RubyOnRails, integrated seamlessly with Symphony components. And so you get the most popular product of the year LARAVEL.
The thing about laravel is that it has come into the competition with an artisan support. For those unknown with artisan, its a CLI (command line interface) included with laravel. Its driven by powerful Symfony Console component.
Actually the whole laravel framework is based on Symfony components.
Laravel is developed with great features of other frameworks such as Asp.net MVC, Ruby on Rails and Sinatra
The installation and configuration of this web framework is a bit confusing thing. But don’t worry, you will get all the help from other sites as well as from the official docs of laravel website.
Installation and Configuration on Windows OS
On localhost, you need to install the root thing of laravel – Composer (here comes another bold word!).
Composer can be installed from the official website getcomposer.org. Once installed, you will see composer menu whenever you right click your mouse(If you have enabled shell menus). There you will find Use Composer here option. Clicking on it will generate a command prompt window with composer enabled. Type the following command to download a laravel project :
composer create-project laravel/laravel your-project-name --prefer-dist
You will now see laravel project files downloading and installing. After installation you will see a folder named after your-project-name in above command. Now to run project with command line, type in your composer window
php artisan serve
and you will see the laravel localhost server has been started. Keeping the command prompt open, type localhost:8000 in your browser. You will be greeted with message “You have arrived” (which means you have successfully setup laravel project).
If you want to browse the laravel project without any command line, just go to localhost and there you will see your project folder name; click it and you will get the directory structure of your laravel project. Go to public directory and you will succeed (You have arrived!).
That’s all for now. You will find new posts on laravel on website shortly.
Keep subscribing and liking! Stay safe!
This post has been seen 2649 times.