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
- Install the package as a development dependency via Packagist:
composer require --dev ashjoory/radicle-valet-driver
- Upon installation, the driver file
LocalValetDriver.phpwill be automatically copied to your project root if it does not already exist. The file is also added to your.gitignoreto 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
/publicdirectory. - Handle trailing slashes for
/wp/wp-adminroutes 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
.gitignoremanagement help maintain a clean project setup without manual steps. - If you need to customize the driver, edit the copied
LocalValetDriver.phpin your project root.
统计信息
- 总下载量: 14
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-06-04