06.10.2016 Views

laravel-5

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Laravel Valet 75<br />

Database<br />

If you need a database, try MariaDB by running brew install mariadb on your command line.<br />

You can connect to the database at 127.0.0.1 using the root username and an empty string for the<br />

password.<br />

Release Notes<br />

Version 1.1.5<br />

The 1.1.5 release of Valet brings a variety of internal improvements.<br />

Upgrade Instructions<br />

After updating your Valet installation using composer global update, you should run the valet<br />

install command in your terminal.<br />

Version 1.1.0<br />

The 1.1.0 release of Valet brings a variety of great improvements. The built-in PHP server has been<br />

replaced with Caddy⁶⁶ for serving incoming HTTP requests. Introducing Caddy allows for a variety<br />

of future improvements and allows Valet sites to make HTTP requests to other Valet sites without<br />

blocking the built-in PHP server.<br />

Upgrade Instructions<br />

After updating your Valet installation using composer global update, you should run the valet<br />

install command in your terminal to create the new Caddy daemon file on your system.<br />

Serving Sites<br />

Once Valet is installed, you’re ready to start serving sites. Valet provides two commands to help you<br />

serve your Laravel sites: park and link.<br />

The park Command<br />

- Create a new directory on your Mac by running<br />

something like mkdir ∼/Sites. Next, cd ∼/Sites and run valet park. This command will register<br />

your current working directory as a path that Valet should search for sites. - Next, create a new<br />

⁶⁶https://caddyserver.com/

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!