Re:Build command line apps using PHP 7
by qualitytime on Sunday September 03, 2017 @04:09PM
(#15163582)
I wouldn't use either as PHP comes with "batteries included".
[ Parent
| on HN ]
Re:Build command line apps using PHP 7
by ceejayoz on Sunday September 03, 2017 @04:14PM
(#15163605)
Batteries are nice, but it's handy to have a breadboard and some wiring. For a super-simple CLI script without interaction, plain PHP's fine, but if you're making something interactive that's prompting, using color codes, logging, etc., a framework's pretty handy - especially if it's for a larger app that's got models and services to interact with.