-
-
Save aasumitro/d4d590175f217dfcc5f50a5a7c1480c6 to your computer and use it in GitHub Desktop.
php exect
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env php | |
<?php | |
/* | |
|-------------------------------------------------------------------------- | |
| Register The Auto Loader | |
|-------------------------------------------------------------------------- | |
| | |
| Composer provides a convenient, automatically generated class loader | |
| for our application. We just need to utilize it! We'll require it | |
| into the script here so that we do not have to worry about the | |
| loading of any our classes "manually". Feels great to relax. | |
| | |
*/ | |
require __DIR__.'/vendor/autoload.php'; | |
print("input arguments :"); | |
$args = fgets(STDIN); | |
print("/vendor/bin/phinx ${args}"); | |
//exec("/vendor/bin/phinx", $input); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment