Download the PHP package rubenvanerk/artisan-window without Composer
On this page you can find all versions of the php package rubenvanerk/artisan-window. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download rubenvanerk/artisan-window
More information about rubenvanerk/artisan-window
Files in rubenvanerk/artisan-window
Download rubenvanerk/artisan-window
More information about rubenvanerk/artisan-window
Files in rubenvanerk/artisan-window
Vendor rubenvanerk
Package artisan-window
Short Description A trait to create a fixed-size window in the Artisan console
License MIT
Homepage https://github.com/rubenvanerk/artisan-window
Package artisan-window
Short Description A trait to create a fixed-size window in the Artisan console
License MIT
Homepage https://github.com/rubenvanerk/artisan-window
Please rate this library. Is it a good library?
Informations about the package artisan-window
A trait to create a fixed-size window in the Artisan console
A simple trait to create a fixed-size Artisan console window.
Installation
You can just copy the trait to your own project or install the package via composer:
Usage
In your console command, add the HasWindows
trait.
Next, you can call the window
function. It takes three arguments:
- The title of the window
- The max number of lines
- A function
In the function you can output anything you'd like. If the output doesn't fit, it will scroll out of the window.
This wil produce something like this:
bash composer test
## Changelog
Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.
## Contributing
Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
## Security Vulnerabilities
Please review [our security policy](../../security/policy) on how to report security vulnerabilities.
## Credits
- [Ruben van Erk](https://github.com/rubenvanerk)
- [All Contributors](../../contributors)
## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.
All versions of artisan-window with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.1
illuminate/contracts Version ^10.0
nunomaduro/termwind Version ^1.15
spatie/laravel-package-tools Version ^1.14.0
illuminate/contracts Version ^10.0
nunomaduro/termwind Version ^1.15
spatie/laravel-package-tools Version ^1.14.0
The package rubenvanerk/artisan-window contains the following files
Loading the files please wait ....