Laravel:Installasi: Difference between revisions
| (One intermediate revision by the same user not shown) | |||
| Line 121: | Line 121: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
sudo composer create-project laravel/laravel laravelapp | sudo composer create-project laravel/laravel laravelapp | ||
</syntaxhighlight> | |||
Or, you may create new Laravel projects by globally installing the Laravel installer via Composer: | |||
<syntaxhighlight lang="bash"> | |||
composer global require laravel/installer | |||
</syntaxhighlight> | |||
<syntaxhighlight lang="bash"> | |||
laravel new example-app | |||
</syntaxhighlight> | </syntaxhighlight> | ||
| Line 191: | Line 201: | ||
==Source== | ==Source== | ||
*[https://linuxopsys.com/topics/install-laravel-on-ubuntu-20-04 linuxopsys.com] | *[https://linuxopsys.com/topics/install-laravel-on-ubuntu-20-04 linuxopsys.com] | ||
[[Category:Laravel]] | |||
[[Category:Website]] | |||
[[Category:Web Server]] | |||
[[Category:Framework]] | |||
[[Category:PHP]] | |||
[[Category:Apache]] | |||