https://github.com/danielroe/trellis-valet-driver
A driver for Laravel Valet that supports the default Trellis install.
https://github.com/danielroe/trellis-valet-driver
Last synced: about 1 year ago
JSON representation
A driver for Laravel Valet that supports the default Trellis install.
- Host: GitHub
- URL: https://github.com/danielroe/trellis-valet-driver
- Owner: danielroe
- Created: 2018-03-17T14:27:32.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T05:37:31.000Z (over 2 years ago)
- Last Synced: 2025-04-30T22:48:36.474Z (about 1 year ago)
- Language: PHP
- Size: 9.77 KB
- Stars: 28
- Watchers: 5
- Forks: 5
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# danielroe/trellis-valet-driver
A driver for [Laravel Valet](https://github.com/laravel/valet) or [Valet Linux](https://github.com/cpriego/valet-linux) that supports the default
[Trellis](https://roots.io/trellis)/[Bedrock](https://roots.io/bedrock/)
install.
## Installing
Download `TrellisValetDriver.php` and place it in your `~/.config/valet/Drivers` folder. Now your Trellis/Bedrock folders will display correctly - no configuration required.
This assumes your Trellis directory structure looks like:
example/ # → Root folder for the project
├── trellis/ # → Your clone of this repository
└── site/ # → A Bedrock-based WordPress site
└── web/
├── app/ # → WordPress content directory (themes, plugins, etc.)
└── wp/ # → WordPress core (don't touch!)
If you're migrating from Trellis, you'll need to create a `site/.env` file. See [here](https://roots.io/bedrock/docs/environment-variables/) for more information. [TangRufus](https://github.com/TangRufus) has written [Enveigle](https://github.com/ItinerisLtd/enveigle) which creates `site/.env` file from the settings in your `/trellis/group_vars/` directory.