llabbasmkhll/artisan-route

add route to access artisan

v1.0.2 2023-05-08 08:23 UTC

This package is auto-updated.

Last update: 2024-11-08 11:34:34 UTC


README


Logo

artisan route

add a route to run artisan commands

About

This package helps you run laravel artisan commands by calling the api. this will be usefull in shared hosts that give you cPanel or FTP and dosent give you access to command line or SSH.

Usage

Installation

You can install the package via composer by this command:

composer require llabbasmkhll/artisan-route 

Once you added the package to your project the api will be added. you can verify that by runngin this command:

php artisan route:list

this route should be added to your route list: image


Usage Example

you can call the api with the artisan command as a payload like bellow. image


if you want to run a specific flag add the flag keyword as a key like below.

image

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.



License

Distributed under the MIT License. See LICENSE for more information.



Contact

Abbas mkhzomi - Telegram@llabbasmkhll - llabbasmkhll@gmail.com

Project Link: https://github.com/llabbasmkhll/artisan-route