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.
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.
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.
composer test
Please see CHANGELOG for more information on what has changed recently.
The MIT License (MIT). Please see License File for more information.