An open API service indexing awesome lists of open source software.

https://github.com/abbasudo/artisan-route

add route to access artisan
https://github.com/abbasudo/artisan-route

artisan artisan-command cpanel laravel laravel-artisan laravel-package laravel-route shared-host

Last synced: 6 months ago
JSON representation

add route to access artisan

Awesome Lists containing this project

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:
```sh
composer require abbasudo/artisan-route
```


Once you added the package to your project the api will be added. you can verify that by runngin this command:
```sh
php artisan route:list
```
this route should be added to your route list:
![image](https://user-images.githubusercontent.com/86796762/147836635-b383db1e-670d-4fb8-80e3-8b463a827538.png)


### Usage Example

you can call the api with the artisan command as a payload like bellow.
![image](https://user-images.githubusercontent.com/86796762/147836917-9b1b14e1-58a8-46d0-8af3-e5d6ce6d0408.png)








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

![image](https://user-images.githubusercontent.com/86796762/147836989-a49000e7-7aa5-457c-82d7-62fcaa21cd68.png)

## 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@abbasudo](https://t.me/abbasudox) - amkhzomi@gmail.com

Project Link: [https://github.com/abbasudo/artisan-route](https://github.com/abbasudo/artisan-route)