1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-05 16:40:05 +01:00
Chris Brown 67546f1fc3 Updated loading of server environment variables
- added `putenv()` for Laravel compatibility
- added `$_ENV` for generic compatibility
- added wildcard processing, so site array named `*` gets processed always (if present), and then site-specific entries are added and will override the wildcard.

Sample `.valet-env.php`:
```php
<?php

return [
    '*' => [
        'USER' => 'vagrant',
    ],
    'demo' => [
        'MY_CUSTOM_VAR' => 'special_value',
        'USER' => 'travis',
    ],
];
```
(Note: order of entries in the array is irrelevant, as the parser reads `*` first, followed by site-specific entries.)
2019-01-02 17:27:02 -05:00
2018-12-29 23:12:02 -05:00
2016-05-19 10:37:55 -05:00
2018-11-26 12:31:59 -05:00
2016-05-04 21:34:34 -05:00
2016-05-07 22:10:32 -05:00
2018-10-02 09:51:22 -05:00

Build Status Total Downloads Latest Stable Version License

Introduction

Valet is a Laravel development environment for Mac minimalists. No Vagrant, no /etc/hosts file. You can even share your sites publicly using local tunnels. Yeah, we like it too.

Laravel Valet configures your Mac to always run Nginx in the background when your machine starts. Then, using DnsMasq, Valet proxies all requests on the *.test domain to point to sites installed on your local machine.

In other words, a blazing fast Laravel development environment that uses roughly 7mb of RAM. Valet isn't a complete replacement for Vagrant or Homestead, but provides a great alternative if you want flexible basics, prefer extreme speed, or are working on a machine with a limited amount of RAM.

Official Documentation

Documentation for Valet can be found on the Laravel website.

License

Laravel Valet is open-sourced software licensed under the MIT license.

Description
MIRROR. Laravel's Valet repository on GitHub. (Because it is relevant to PHP Monitor as a dependency, I mirror it here.)
https://laravel.com/docs/master/valet Readme 152 MiB
Languages
PHP 98.7%
Shell 1.2%