{"repo":"protonemedia/laravel-task-runner","free":true,"listed":false,"github":"https://github.com/protonemedia/laravel-task-runner","clone":"git clone https://github.com/protonemedia/laravel-task-runner.git","description":"A package to write Shell scripts like Blade Components and run them locally or on a remote server","language":"PHP","stars":131,"topics":["laravel","laravel-package","symfony-process","laravel-blade"],"license":"MIT","category":"productivity","readme_excerpt":"Laravel Task Runner A package to write Shell scripts like Blade Components and run them locally or on a remote server. Support for running tasks in the background and test assertions. Built upon the Process feature in Laravel. Sponsor Us ❤️ We proudly support the community by developing Laravel packages and giving them away for free. If this package saves you time or if you're relying on it professionally, please consider sponsoring the maintenance and development and check out our latest premium package: Inertia Table. Keeping track of issues and pull requests takes time, but we're happy to help! Installation This package requires Laravel 11 and PHP 8.2 or higher. You can install the package via composer: Optionally, you can publish the config file with: Basic usage You may use the Artisan make:task command to create a Task class: This will generate two files: app/Tasks/ComposerGlobalUpdate.php and resources/views/tasks/composer-global-update.blade.php . Once you've added your script to the Blade template, you may run it on your local machine by calling the dispatch() method: Alternatively, if you don't want a separate Blade template, you may use the --class option (or -c ): This allows you to specify the script inline: Task output The dispatch() method returns an instance of ProcessOutput , which can return the output and exit code: To interact with the underlying ProcessResult , you may call the getIlluminateResult() method: Script variables Just like Blade Components, the","default_branch":null,"files":null,"tree":[],"storefront":"/r/protonemedia","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/protonemedia/laravel-task-runner/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}