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
htdocs
directory of your XAMPP installation. - Open the
php.ini
file located in thexampp/php
directory and enable the following extensions:extension=php_openssl.dll
extension=php_mbstring.dll
extension=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 can I use PHP, Laravel, and Vue together to create a web application?
- How can I use the @yield directive in PHP Laravel?
- How do I set up a websocket connection using Laravel and PHP?
- How can I set up a Telegram bot using PHP and Laravel?
- How do I write a PHP Laravel query to access a database?
- How do I set up a Laravel worker using PHP?
- How can I find a vacancy for a PHP Laravel developer?
- How can I use PHP Laravel's ZipArchive library to create a zip file?
- How do I deploy a Laravel application to a Kubernetes cluster using PHP?
- How can I get the current year in PHP Laravel?
See more codes...