cable8mm/valet-drivers
最新稳定版本:v2.1.3
Composer 安装命令:
composer create-project cable8mm/valet-drivers
包简介
CakePHP2 and Zeroboard valet drivers collection
README 文档
README
This repository provides custom drivers for both Laravel Valet and Laravel Herb, enabling support for frameworks and tools not officially supported out of the box.
🧰 What is Laravel Valet?
Laravel Valet is a super-fast development environment for macOS (and Linux via Valet Linux), designed for PHP developers. It runs as a local web server using Nginx and DnsMasq to automatically serve projects under a .test domain. Valet is lightweight and ideal for those who prefer minimal overhead without using full virtual machines or Docker.
Laravel Herb is a modern alternative to Valet that provides an isolated and Docker-powered environment, while keeping the simplicity and speed of Valet-style development.
✅ Supported Drivers
- CakePHP 2 – Legacy PHP MVC framework
- ZeroBoard – Classic Korean bulletin board system
- Vite – Modern frontend build tool (for serving Vite projects in dev mode)
🔧 Features
- Plug-and-play support for Valet and Herb
- Auto-detection of project type based on directory structure
- Smooth local development without extra configuration
Whether you're maintaining old-school PHP applications or building fast modern frontends, these custom drivers make local development effortless with both Valet and Herb.
Usage
Installation
git clone git@github.com:cable8mm/valet-drivers.git
cd valet-drivers
composer install
Install custom valet drivers
composer valet # copy drivers to valet custom drivers folder composer herd #copy drivers to herd custom drivers folder
And visit your local site. Everything else is not required except for copying.
Formatting
composer lint # Modify all files to comply with the PSR-12. composer inspect # Inspect all files to ensure compliance with PSR-12.
Test
Testing the Valet driver is challenging; thus, if you encounter any issues, please create an issue to address your situation, and we'll resolve it promptly.
License
The CakePHP2 and Zeroboard Valet Driver Collection is open-sourced software licensed under the MIT license.
统计信息
- 总下载量: 13
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-03-06