90 likes | 106 Vues
For managing dependencies, Laravel uses composer. Make sure you have a Composer installed on your system before you install Laravel.
E N D
How To Install Laravel Step By Step Guide www.techanical-atom.com
This article will guide you how you can Install Laravel on your system . Before installing laravel you must ensure that the php version of your server is compatible with the laravel. Following are some of the system requiremens for the laravel to meet so that it can be installed on your system. www.techanical-atom.com
PHP >= 7.1.3 • OpenSSL PHP Extension • PDO PHP Extension • Mbstring PHP Extension • Tokenizer PHP Extension • XML PHP Extension • Ctype PHP Extension • JSON PHP Extension www.techanical-atom.com
If your system has all the above requirements fulfilled then you can easily install laravel. Now let’s start and See step by step how you can install laravel. www.techanical-atom.com www.techanical-atom.com
STEP-1 INSTALL COMPOSER Laravel uses composer to manage his dependencies so before doing anything make sure you have composer installed on your machine . If this is your first time installing laravel then open the command promt by pressing Ctrl + R and type cmd . After that go to your htdocs folder and run the following command. www.techanical-atom.com
STEP-2 CREATE NEW PROJECT IN LARAVEL After installing laravel you can the following command to create a new project with all the necessary files and core files being installed. laravel new blog where blog will be the name of your project folder to be created. Some times this command will not create the vendor folder necessary for the laravel to run so you can use composer to create new project by using the following command composer create-project --prefer-distlaravel/laravelname_of_project www.techanical-atom.com
STEP-3 LOCAL DEVELOPMENT SERVER Now you can use your local php server to run the freshly installed laravel on your local system.you may use the serve Artisan command. This command will start a development server at http://localhost:8000 www.techanical-atom.com
PHP artisan serve And Boom that’s it you have freshly installed laravel up and running on your server. You can able to see the following screen on your system. www.techanical-atom.com
Phone: 080766 99040 Website : https://www.techanical-atom.com Email : letstalk@techanical-atom.com www.techanical-atom.com