Access to a shell url is possible.

Hello I would like to have the url to run the shell as I could show it. Thank you very much

You could use a route + a controller to do so with the exec() function from PHP, but do note that this is INSECURE.

Why would you want to access the shell from the website anyways?

Thank you very much for your answer, for testing.

CakePHP seems to have a build-in shell class for this purpose:

$shell = new ShellDispatcher();
$output = $shell->run(['cake', 'foo']);

this will be the equivalent of running bin/cake foo in the CLI.
You can see this article on Medium for more information:

However, I still would advise against this in a production environment, especially if you want to get some of the input from the visitor.