ramonpego / laravel-local
Execute artisan commands on local machine with different users based on spatie/laravel-remote
Fund package maintenance!
ramonpego
Requires
- php: ^7.4
- illuminate/contracts: ^7.0
- ramonpego/cli: 0.5
- spatie/laravel-package-tools: ^1.4.3
Requires (Dev)
- orchestra/testbench: ^5.0
- phpunit/phpunit: ^9.3
- spatie/laravel-ray: ^1.9
- vimeo/psalm: ^4.4
This package is auto-updated.
Last update: 2024-05-25 01:41:47 UTC
README
This package provides a command to execute CLI or Artisan command on a local server.
Based on Spatie package consider support them
Installation
You can install the package via composer:
composer require ramonpego/laravel-local
You can publish the config file with:
php artisan vendor:publish --provider="RamonPego\Local\CommandServiceProvider" --tag="local-config"
This is the contents of the published config file:
return [ /* * Here you can define the path prefix where the commands should be executed. */ 'default' => '/home', 'path'=>env('COMMAND_PATH_PREFIX') ];
Usage
php artisan local whoami php artisan local cache:clear --artisan php artisan local optimize -a
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.