Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
What i can do by Oil console?
I know we can use oil for do jobs like generating, refining tasks, migrations and so one, there is an other nice thing about oil, Console,
witch tasks OIL CONSOLE can do and witch tasks it can not do?
Oil console gives you a framework commandline prompt.
You could compare it to running "php -a", but inside the framework. You can type any PHP command on the prompt, and all framework classes are accessable like they are in a controller.
So you can for example do:
$result = Model_Something::find(1);
You could also use it for interactive tasks, by just writing a static class for it.
it is very handy and useful tool, each day i found new useful thing in fuelphp,
thanks for reply.
One of tasks that I do with oil console is:
and copy-paste it to migration...
it is good idea, thanks for share
Add a Comment
It looks like you're new here. If you want to get involved, click one of these buttons!
Apply for Membership
↳ Job Board
↳ Installation & Setup
↳ Tips and Tutorials
↳ Code share
In this Discussion