patrikgrinsvall / xconsole
Laravel xconsole is a local development web server in pure php with file watching, powerfull cache cleaning and more..
dev-master
2022-03-28 01:22 UTC
Requires
- php: ^8.0
- ext-yaml: *
- illuminate/console: ^9
- illuminate/support: ^9
- symfony/console: ^6.0
- symfony/yaml: ^6.0
Requires (Dev)
- phpunit/phpunit: ^8.5.8|^9.0
This package is auto-updated.
Last update: 2025-02-28 07:19:25 UTC
README
PHP Development helper with:
- Local development server
- File watcher
- Process runner/manager with support for multiple processes and their output (through symfony process)
- Process manager with multiple windows tasks (wip)
- Laravel local dev server
- Some slight color output variations (wip)
- Helpers for setting up easier command line debug tools
- Logger helper for better console and phpstorm log watcher. (wip)
Install
- Only
composer require patrikgrinsvall/xconsole
should be needed, anything else is a bug
Usage
- Show built in commands with
./x x:help
,x.bat x:help
,x.sh x:help
,php artisan x:help
,php x:help
- Meaning, the
x
is a helper that can be runned in several ways - Create Installation, migration, and other customizable setup helpers with
x:install
- Cusomize dev server by extending Commands/SrvCommand (to be improved with recepies)
Why?
After starting some frontend experiments, like quasar and electron where there is a separate frontend build process, which is quite complex, i didnt want to have to run multiple tasks. This project aims to fix that small issue, together with the fact that artisan console command is not detecting any changes except for .env changes. I wanted a way to clear all laravel caches and reoptimize when files are changed.