ashjoory/radicle-valet-driver

Custom Valet driver for Bedrock/Radicle setup

Installs: 14

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

Type:composer-plugin

pkg:composer/ashjoory/radicle-valet-driver

1.0.10 2025-06-04 09:49 UTC

This package is auto-updated.

Last update: 2025-12-04 11:05:29 UTC


README

This package provides a custom Valet driver tailored for Bedrock/Radicle-style WordPress projects to be used exclusively in local development environments. It ensures Valet serves the /public directory and properly handles trailing slashes for /wp/wp-admin. This driver is intended for local use only and should not be deployed to production.

Installation

  1. Install the package as a development dependency via Packagist:
composer require --dev ashjoory/radicle-valet-driver
  1. Upon installation, the driver file LocalValetDriver.php will be automatically copied to your project root if it does not already exist. The file is also added to your .gitignore to prevent it from being committed to your repository.

Purpose

  • Provide a seamless local development experience for Radicle/Bedrock WordPress projects using Valet or Herd.
  • Automatically map Valet to the correct /public directory.
  • Handle trailing slashes for /wp/wp-admin routes correctly.
  • Ensure the driver is only used in local environments by keeping it out of version control.

Notes

  • This driver should not be used or deployed in production environments.
  • The automatic copying and .gitignore management help maintain a clean project setup without manual steps.
  • If you need to customize the driver, edit the copied LocalValetDriver.php in your project root.