๐Ÿš€ How to Create a New Laravel Project Quickly!

๐Ÿ”น Method 1: Using Composer Create-Project

Command:
composer create-project --prefer-dist laravel/laravel LoginAuth "11.*"

Time Taken: โฑ๏ธ Approximately 2โ€“5 minutes
โœ… Directly installs the specific Laravel version you mention.
โœ… Good for complete control over the setup.

๐Ÿ”น Method 2: Using Laravel Installer

Commands:
composer global require laravel/installer
laravel new LoginAuth

Time Taken: โฑ๏ธ Approximately 30โ€“60 seconds
โœ… Faster installation compared to create-project.
โœ… Best if you frequently create new Laravel projects.

๐Ÿ”น Method 3: Using Docker (Laravel Sail)

Command:
curl -s "https://laravel.build/LoginAuth" | bash
cd LoginAuth
./vendor/bin/sail up

Time Taken: โฑ๏ธ Around 1 minute
โœ… Ideal for containerized development.
โœ… Comes pre-configured with PHP, MySQL, Redis, and more.