Bart SalléFreelance webdeveloper Plan een gesprek
PHP

Laravel installeren op een Mac

Laravel installeren op een Mac

Run the following command using composer:

composer <span class="token keyword">global</span> <span class="token keyword">require</span> <span class="token string">"laravel/installer"</span>

Put an alias to the freshly installed Laravel installer in your user configuration .bashrc:

nano ~/.bashrc

And place this inside the file:

alias laravel='~/.composer/vendor/bin/laravel'

And run the following to make sure your bashrc profile is reloaded:

source ~/.bashrc

From now on, when you want to create a new Laravel project. All you have to do is run the following command and in just seconds you have a fresh copy of the latest Laravel version in the directory you specify. In this case “project” is the name of the folder where Laravel will be installed to. It’s much faster than using just Composer!

laravel new project
Vraag advies over dit onderwerp
Algemeen

Ik wil web developer worden maar welke opleiding of cursus kan ik dan het beste volgen?

25 september 2022 Lees meer
PHP

Class gebruiken in een WordPress plugin

9 oktober 2021 Lees meer
PHP

Taxonomy aan custom post type toekennen via script

7 oktober 2021 Lees meer