Composer is a dependency manager for PHP, and you’ll need it to install Laravel. If you haven't installed Composer yet, download it from the official website and follow the installation instructions.
Install Laravel:
Use Composer to create a new Laravel project. Open your terminal and run: -> composer create-project --prefer-dist laravel/laravel admin-panel
This command will create a new Laravel project named admin-panel.
Serve the Application:
Navigate to the project directory and start the development server: -> cd admin-panel -> php artisan serve
Your Laravel application should now be accessible at http://localhost:8000.
Leave a Comment