Skip to the content.


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 artisan command as a key like bellow.

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