Download the PHP package philo/artisan-remote without Composer
On this page you can find all versions of the php package philo/artisan-remote. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package artisan-remote
About Artisan Remote
Artisan Remote is a package for Laravel to interact with your Artisan Commands via an HTTP API.
Artisan Remote Desktop
If you want an easy way to interact with your Artisan commands via the UI, be sure to download the desktop app, which integrates with the Artisan Remote API.
- Execute commands with just a click.
- Provider command parameters via simple input fields.
- Track output of previously executed commands.
- Supports unlimited Laravel application.
- Your application environment details in one single overview.
- Works on Mac, Windows and Linux.
Download for Mac, Windows or Linux distribution via Unlock.
Installation
To get started, require the package via Composer:
API endpoints
The environment endpoint will return information about your application environment, like your PHP and Laravel version.
Get a list of the available commands. You can define the commands you want to make available in the artisan-remote.php
config file.
And finally, you can use the invoke endpoint to execute your command.
API authorization
Before you can make requests to the API endpoints, you need to set up authorization. You can authorize access to specific commands in the artisan-remote.php
config file. For example, you might want to allow your client to run the artisan up and down commands.
It's best practice not to include any credentials directly in your configuration file, so make sure to use environment variables in production.
Running commands when your application is in maintenance mode
By default, you will not be able to execute commands when your application is in maintenance. To run commands while your application is in maintenance mode, you will need to adjust the CheckForMaintenanceMode middleware.
Credits
- Philo Hermans
- All Contributors
License
Artisan Remote is open-sourced software licensed under the MIT license.