knutle/isoview
最新稳定版本:v0.1.2
Composer 安装命令:
composer require knutle/isoview
包简介
Quickly and easily isolate and test your package views during development
README 文档
README
This package allows you to quickly and easily preview your package views in isolation during development.
You simply define some test routes specifically for testing, then you can view your changes immediately.
This works exactly the same as your normal php artisan serve, without requiring a full Laravel install or build step.
Installation
You can install the package via composer:
composer require --dev knutle/isoview
Then run the install command through the CLI:
./vendor/bin/isoview install
You should now see a new isoview.php file in ./routes at the root of your package.
This is where you will define all your test routes.
Usage
Once you have some routes ready, you can start the server using the CLI again:
./vendor/bin/isoview serve
This will serve your pages from http://127.0.0.1:8010.
By default, an index page at / is provided that provides a list of links for all your available test routes.
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 43
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-10-04