定制 ashjoory/radicle-valet-driver 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

ashjoory/radicle-valet-driver

最新稳定版本:1.0.10

Composer 安装命令:

composer require ashjoory/radicle-valet-driver

包简介

Custom Valet driver for Bedrock/Radicle setup

README 文档

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.

统计信息

  • 总下载量: 14
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-06-04