Laravel Programming: First Getting Started Application – Simple Installation & Setup Procedure

0
121

Installation and Setup Laravel Framework

Web Server Requirements for Laravel Latest Version Framework:

The Laravel structure has a couple framework prerequisites. Obviously, all of these necessities are fulfilled by the Laravel Homestead virtual machine:

 

Composer Installing on your Computer :

If you are on Window OS Computer You need to install:

VirtualBox Download

After download and installed the Composer Download Latest Laravel from Web to Your Local Server

Step 1:

Put Comnmand on Command Line :

Step 2:

Create First Project using Composer Command

Here Laravel/larave blog is your Directory name into your local/web server. You can change it yourself

Step 3:

The system ships with an public/.htaccess document that is utilized to permit URLs without index.php. On the off chance that you utilize Apache to serve your Laravel application, make sure to enable the mod_rewrite module.

Laravel 5 available for final version release, to install it into your local directory than run it –

Details about Command Shell: “myproject” is the name of the project you want to build up laravel – Example myblog, myapp etc. are Laravel files and folders will be put inside this directory

Multi Step Install procedure method:

Download – Click Download ZIP and store into your pc.

Unzip/Unrar it in web directory

Run composer update (not composer install) in directory.

After appliying everything above procedure methods you run URL for your web application in the browser (Example http://localhost/projects/myproject/public depending on your webserver settings )

you will see latest version Laravel website You have arrived.

Configuration Laravel Caching : To run your application as speed boost fast, you should cache your cache configuration files into a single file using the config:cache Artisan command.

Handle Laravel Website on Maintenance Mode :

If you want your web application on STOP for updating/maintenance mode You can do it using Command artisan: Command is –

For Site Down – Artisan command :

To Site Up – Artisan command :

Maintenance Response File Directory Located:

Everything Explained on Screenshot Bellow :

For Local Server

For Web Server

Configure Routes File in Server

Result Laravel View