How to Install Laravel in Ubuntu?
In this post we will give you information about How to Install Laravel in Ubuntu?. Hear we will give you detail about How to Install Laravel in Ubuntu?And how to use it also give you demo for it if it is necessary.
In this post, i will show you how to install laravel in ubuntu using composer. you can easily install laravel in ubuntu 16.04, ubuntu 18.04 and ubuntu 19.04 version. we can install laravel 6 using composer command.
I will give you step by step instruction of how to install laravel in ubuntu os. so you have to just follow bellow step to installing laravel in ubuntu.
First you can see basic information of what is laravel let’s see:
How to solve "Cannot find module 'bplist-parser'" ?
In this post we will give you information about How to solve "Cannot find module 'bplist-parser'" ?. Hear we will give you detail about How to solve "Cannot find module 'bplist-parser'" ?And how to use it also give you demo for it if it is necessary.
When i was working in my ionic mobile application on my ubuntu 14.04 system and i try to remove android platform at that time i see bellow error :
module.js:340
throw err;
^
Error: Cannot find module 'bplist-parser'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
.....
I also did try to remove all platform directly but i still found this error. I also search on google but i notice this error also phonegap, cordova, node.js etc. at last i found bellow command and solved, if you have also this error then you can try bellow command and check...
sudo npm install -g bplist-parser
Hope this code and post will helped you for implement How to solve "Cannot find module 'bplist-parser'" ?. if you need any help or any feedback give it in comment section or you have good idea about this post you can give it comment section. Your comment will help us for help you more and improve us. we will give you this type of more interesting post in featured also so, For more interesting post and code Keep reading our blogs
What is Laravel?
Laravel is a free open source PHP framework based on the MVC pattern. It’s creatd by Taylor Otwell. Laravel provides expressive and elegant syntax that helps in creating a wonderful web application easily and quickly.
You can follow bellow step to install laravel in ubuntu:
Install Composer:
First step, we need to install composer. we must have to install composer in ubuntu system. you can install composer in your ubuntu system by using following command:
curl -sS https://getcomposer.org/installer | php
sudo mv composer.phar /usr/local/bin/composer
sudo chmod +x /usr/local/bin/composer
Laravel Requirements:
You must have some basic requirement of your ubuntu system. so you can see bellow basic requirement as listed bellow:
PHP >= 7.2.0
BCMath PHP Extension
Ctype PHP Extension
JSON PHP Extension
Mbstring PHP Extension
OpenSSL PHP Extension
PDO PHP Extension
Tokenizer PHP Extension
XML PHP Extension
Install Laravel:
Now you can run bellow command to install laravel project in your ubuntu system. so let’s run bellow command:
composer create-project --prefer-dist laravel/laravel blog
You can see bellow screen shot of your terminal:
Now it’s install completed.
But if you have any permission issue then you can give permission to your storage folder as like bellow:
sudo chmod -R 777 storage
sudo chmod -R 777 bootstrap
Now we are ready to run project using serve command:
php artisan serve
Now you can open url as bellow:
http://localhost:8000
You can see layout as bellow:
I hope it can help you…
Hope this code and post will helped you for implement How to Install Laravel in Ubuntu?. if you need any help or any feedback give it in comment section or you have good idea about this post you can give it comment section. Your comment will help us for help you more and improve us. we will give you this type of more interesting post in featured also so, For more interesting post and code Keep reading our blogs