Laravel: Difference between revisions
From AWVVO
Jump to navigationJump to search
Line 20: | Line 20: | ||
laravel new example-app | laravel new example-app | ||
</syntaxhighlight> | </syntaxhighlight> | ||
[[Category:Laravel]] |
Latest revision as of 13:58, 19 January 2025
https://getcomposer.org/download/
Install composer
Command-line installation
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('sha384', 'composer-setup.php') === 'dac665fdc30fdd8ec78b38b9800061b4150413ff2e3b6f88543c636f7cd84f6db9189d43a81e5503cda447da73c7e5b6') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"
Install the Laravel installer via Composer
composer global require laravel/installer
Create new application
laravel new example-app