We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'd like to run this script without CLI. I have tried requiring the library I see:
$isCLI = (php_sapi_name() === 'cli'); if (!$isCLI) { die('This file must run from a console session.'); }
Is there a way I can run this script without being in CLI? The reason being that many webhosts don't allow CLI.
The text was updated successfully, but these errors were encountered:
On last release (0.5.1.72) now you can pass arguments on run method. You can take as example the src/index.php file.
run
src/index.php
Example of usage:
$app = new Application(); $app->run(["-a","--silent"]);
Sorry, something went wrong.
That is very cool @marcocesarato! Thanks for getting back so quick. Will test out
No branches or pull requests
I'd like to run this script without CLI. I have tried requiring the library I see:
Is there a way I can run this script without being in CLI? The reason being that many webhosts don't allow CLI.
The text was updated successfully, but these errors were encountered: