Laravel
Beginner
1 min read
What Is Laravel and Why Use It
Example
# Install Laravel via Composer globally
composer global require laravel/installer
# Create a new Laravel project
laravel new my-app
# OR create via Composer directly
composer create-project laravel/laravel my-app
# Move into the project directory
cd my-app
# Start the built-in development server
php artisan serve
# => Application running on http://127.0.0.1:8000
# List all available Artisan commands
php artisan list
# Display the current Laravel version
php artisan --version
# Generate a new application key (required for encryption)
php artisan key:generate
# Inspect the current environment configuration
php artisan env
# Clear all framework caches
php artisan optimize:clear
Related Resources
Laravel Reference
Complete tag & property list
Laravel How-To Guides
Step-by-step practical guides
Laravel Exercises
Practice what you've learned
More in Laravel