How to Install Laravel on CentOSLaravel is a free and open source web framework written in PHP. It is created by Taylor Otwell. It follows MVC development approach. As of March, 2015, Laravel is regarded as one of the most popular PHP based framework. It provides advanced alternative to CodeIgniter which is not intended to built-in user authorization. In this tutorial, we will install Laravel on CentOS. IntroductionPrerequisites
InstallationInstallation includes following steps. 1. Verify Composer 2. Install Laravel Execute the following command to install Laravel by using composer. 3. Edit bash profile Open .bashrc in VI editor and add the following line to the file. export PATH="/opt/lampp/php/composer/vendor/bin:$PATH" Then execute the following command to source .bashrc file 4.Create new Application Execute the following command to create new application named as mylaravel in my case. Now, the Application is ready. We can now build something amazing. 5. Start Laravel server Laravel uses its own development server which can be started by using a simple command. First, we have to change the current working directory by typing cd mylaravel on the terminal and then execute the following command. 6. Access on Browser Just type localhost:8000 in the browser's search bar to access Laravel on browser. Hence, we have installed and get started with Laravel. Next TopicInstall CakePHP |