L
L
lemonlimelike2018-10-08 22:21:30
Laravel
lemonlimelike, 2018-10-08 22:21:30

How to call a command from a controller?

Hello! Created a command( php artisan make:command) called command:p. How can I call it from the controller?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
J
JhaoDa, 2018-10-08
@lemonlimelike

Do you keep ignoring the documentation ?

D
Danny Chase, 2018-10-08
@Dase23

PHP exec()
php.net/manual/en/function.exec.php

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question