Installing LaravelIn previous post i have explain you how to install composer, today we will learn how to install Laravel using composer.
becouse i'm using apache webserver then my default Documentroot is in the /var/www/html.
so, open you terminal and go to /var/www/html and then run this command
Now go to the /etc/apache2/sites-available directory and use
the following command to create a configuration file for our laravel install.
sudo nano laravel.conf
Now we have to enable this newly created .conf file and disable the default .conf file that is installed with the default Apache install. Also we need to enable mod_rewrite so that permalinks can function properly.
now open browser and hit http://webtoken.faiz . picture below is screesshoot of my project
On next post we will learn about crud in laravel and postgre.