rector-src
PsySH
| 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 |
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
- Upcoming Hardening in PHP
Like everything... It depends.
Just use rector
https://github.com/rectorphp/rector
- Improved RectorPHP memory managment
PsySH
- Database management in a single PHP file
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
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
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
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
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
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)
Would love to see https://psysh.org incorporated in core.
- Probably the best config option not to use
- Does tinker have a way of paging output?
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
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?
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