All Projects → danielroe → trellis-valet-driver

danielroe / trellis-valet-driver

Licence: other
A driver for Laravel Valet that supports the default Trellis install.

Programming Languages

PHP
23972 projects - #3 most used programming language

danielroe/trellis-valet-driver

A driver for Laravel Valet or Valet Linux that supports the default Trellis/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 for more information. TangRufus has written Enveigle which creates site/.env file from the settings in your /trellis/group_vars/ directory.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].