php-laravelHow do I install Laravel using XAMPP and PHP?
- Make sure you have XAMPP and PHP installed on your local machine.
- Download the latest version of Laravel from the Laravel website.
- Unzip the downloaded file and move the extracted folder to the
htdocsdirectory of your XAMPP installation. - Open the
php.inifile located in thexampp/phpdirectory and enable the following extensions:extension=php_openssl.dllextension=php_mbstring.dllextension=php_fileinfo.dll
- Open the command prompt and navigate to the laravel project directory.
- Run the following command to install the Laravel dependencies:
composer install
- Once the dependencies are installed, you can start the Laravel server by running the following command:
php artisan serve
Output example
Laravel development server started: <http://127.0.0.1:8000>More of Php Laravel
- How do I set up a .gitlab-ci.yml file for a Laravel project using PHP?
- How do I decide between using PHP Laravel and Yii for my software development project?
- ¿Cómo configurar PHP y Laravel desde cero?
- How can I create a website using the Laravel PHP framework and a template?
- How do I update a model using PHP Laravel?
- How can I access an undefined array key in PHP Laravel?
- How can I convert JSON data to XML using PHP Laravel?
- How can I get the current year in PHP Laravel?
- How can I use PHP and XML to create a Laravel application?
- How can I use PHP XLSXWriter with Laravel?
See more codes...