Performance: Laravel installation with Composer
MEDIUM IMPACT
This affects the initial page load speed by determining how quickly Laravel's core files and dependencies are available for the application to run.
composer create-project laravel/laravel myapp
composer create-project laravel/laravel myapp --no-scripts
| Pattern | Dependency Setup | Autoloader Optimization | Runtime Overhead | Verdict |
|---|---|---|---|---|
| Skip scripts during create-project | Complete but unoptimized | No | High | [X] Bad |
| Standard create-project with scripts | Complete and optimized | Yes | Low | [OK] Good |
| Install without optimize-autoloader | Complete | No | Medium | [!] OK |
| Install with optimize-autoloader and no-dev | Complete and optimized | Yes | Low | [OK] Good |