rector-src VS PsySH

Compare rector-src vs PsySH and see what are their differences.

InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io
featured
rector-src PsySH
2 22
128 9,829
5.5% 0.1%
9.9 9.3
1 day ago 7 days ago
PHP PHP
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

rector-src

Posts with mentions or reviews of rector-src. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-11-14.

PsySH

Posts with mentions or reviews of PsySH. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-03-17.
  • Database management in a single PHP file
    6 projects | news.ycombinator.com | 17 Mar 2025
    I do similar things with Elixir scripts, though commonly I still turn to PHP because there is some single file library that does what I want with a lot less ceremony than the Java variety would require.

    There's also PsySH, https://psysh.org/, for being something other than a Common Lisp or BEAM interface it's a very nice REPL. Besides Picolisp and iex it's the interactive programming environment I use the most.

  • Upcoming Hardening in PHP
    5 projects | news.ycombinator.com | 14 Nov 2024
    https://psysh.org/

    It's very popular, as in a lot of businesses use it, it's just not fashionable.

    I think it's a great tool to have. It had gradual typing before it was cool. You can type in like a page of code including the layout and render whatever in a PDO-supported database on a web page, served by the builtin web server, which is great for data exploration and things like SQL optimisation. At the moment I'm handling some data flows and conversions in a project with something like a terabyte of email and office documents that need to go into RDBMS, because there are some liberally licensed lightweight libraries (in contrast to the bulky stuff in Jakarta-land) and the performance is good enough to not be a bottleneck.

    There's a degree of clunkiness and incoherence in built-in API:s that might be off-putting at first but the included batteries and PsySH make for a quite decent tool anyway.

  • PHP Doesn't Suck Anymore
    5 projects | news.ycombinator.com | 4 May 2024
    PHP is great, but you need to be a pretty decent developer to use it effectively.

    It has a rather nice interactive shell, https://psysh.org/ . I've built non-trivial, non-web systems in it.

    Concurrency 'within' the language isn't as nice as some alternatives, but the FCGI-style deployment is quite reliable and convenient in practice.

  • Open Source Projects You Can Lay Your Hand On
    9 projects | /r/XBScompany | 6 Dec 2023
    psysh is an interactive shell that enables developers to explore and experiment with PHP code without the need to write the source code for an entire application. It provides a simple and user-friendly shell interface where you can enter PHP code and instantly observe the results. Also, psysh is a configurable tool equipped with various plugins and modules. Therefore, you can customize it the way you want.
  • Tinker in Lumen: Your Ultimate Debugging Companion
    1 project | dev.to | 6 Nov 2023
    Tinker is a REPL built over psysh which is a general-purpose REPL for PHP. Since a Laravel application is not plain PHP and has states, databases, caches, events, and many more complex resources specific to the framework, it's not possible to interact with the application the way one would expect just using psysh.
  • Telegraph and the Unix Shell
    8 projects | /r/commandline | 31 Dec 2022
    Why choose when you can have both in one https://psysh.org/ lol... I testdrove it once, but not convinced (I think the "merged" 2-languages-in-1 is pretty funny but maybe it works for some people).
  • What is your #1 PHP feature request (part 2)
    2 projects | /r/PHP | 26 Nov 2022
    Would love to see https://psysh.org incorporated in core.
  • Probably the best config option not to use
    1 project | /r/ProgrammerHumor | 11 Oct 2022
  • Does tinker have a way of paging output?
    1 project | /r/laravel | 20 Apr 2022
    It does! Or rather it used to (and still does for some things) but looks like it broke for stdout and return value dumping a couple of years ago.
  • 10+The Best PHP Projects GitHub 2022
    25 projects | dev.to | 8 Nov 2021
    PsySH offers a dev console and interactive debugger for PHP projects. In effect, this repo creates a REPL platform for PHP developers.

What are some alternatives?

When comparing rector-src and PsySH you can also consider the following projects:

polyfill-php84 - Symfony polyfill backporting some PHP 8.4+ features to lower PHP versions

Hoa Console - The Hoa\Console library.

php-tensorflow - PHP TensorFlow Binding

CLImate - PHP's best friend for the terminal.

web-pecl - The PECL website

Boris - A tiny REPL for PHP

InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io
featured

Did you know that PHP is
the 14th most popular programming language
based on number of references?