Live data from Hacker News

Boris – A tiny REPL for PHP

github.com

1–10 of 31 posts

Re: Boris – A tiny REPL for PHP

#4

What advantage does this have over the built in REPL you can find with php -a (assuming readline instead of libedit)? They fixed fatal behavior a few versions ago, which was my last gripe with it.

PHP's built-in interactive mode isn't a REPL, there's no "P".

Re: Boris – A tiny REPL for PHP

#5

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?

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

#6

What advantage does this have over the built in REPL you can find with php -a (assuming readline instead of libedit)? They fixed fatal behavior a few versions ago, which was my last gripe with it.

PHP's built-in interactive mode isn't a REPL, there's no "P".

How a single missing letter can turn into a major inconvenience.

Re: Boris – A tiny REPL for PHP

#8

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?

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 A…

I would attribute a percentage of the downloads for Boris to being included in Laravel 4.

Laravel 5 is now using PsySH.

Re: Boris – A tiny REPL for PHP

#10

Earlier quoted context omitted.

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 A…

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.
Post reply on HN