Skip to content
A driver for Laravel Valet that supports the default Trellis install.
PHP
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
TrellisValetDriver.php

README.md

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.

You can’t perform that action at this time.