Re:Boris – A tiny REPL for PHP
by fishnchips on Saturday February 28, 2015 @06:36PM
(#9125463)
How does it differ from HHVM REPL or PsySH? I'm not a PHP dev so I may be missing some finer points of this project - care to elaborate?
[ Parent
| on HN ]
Re:Boris – A tiny REPL for PHP
by tejasmanohar on Saturday February 28, 2015 @07:03PM
(#9125528)
I'll compare it to PsySH. Though this doesn't indicate any superiority in quality, I think it's important to note that Boris is arguably much more popular (measured in downloads from Packagist + stars on GitHub). From the start (back in 2011, before PsySH), Boris was meant to be tiny and light-weight in its core, weighing in at a few hundred lines of fairly straightforward code (brainstorming ideas for an extension API). Vanilla Boris is not as advanced as PsySH out-of-the-box, mostly a taste thing.
Re:Boris – A tiny REPL for PHP
by jeremyworboys on Saturday February 28, 2015 @07:39PM
(#9125602)
I would attribute a percentage of the downloads for Boris to being included in Laravel 4.
Laravel 5 is now using PsySH.
Data point: PsySH went from ~15k Packagist downloads total to ~6-8k downloads per day when Laravel 5 shipped.
Re:Boris – A tiny REPL for PHP
by tejasmanohar on Saturday February 28, 2015 @10:39PM
(#9125950)
Wait, a decrease... That's strange!
Sorry, my sentence was a bit ambiguous. Before Laravel 5 shipped, there had only been 15k Packagist installs total. After Laravel 5, it increased to almost half that every day.
Re:Boris – A tiny REPL for PHP
by tejasmanohar on Saturday February 28, 2015 @10:39PM
(#9125952)
Yeah, Boris downloads did spike quite a bit when Laravel 4 included it.
Re:Boris – A tiny REPL for PHP
by juliangregorian on Saturday February 28, 2015 @09:46PM
(#9125836)
PsySH has a tendency to crash on fatal errors. If Boris figured out how to recover gracefully that would be a huge point in its favor.
Are you running Windows? If not, you've found a bug and should report it. If you are, you've discovered the reason Boris doesn't run at all on Windows :)
Seriously, though, if you're running on Windows you should report fatal errors that make PsySH crash as well. It works around a lot of them, but there will always be more, so let us know.