Title: PsySH
Description: PsySH PsySH Installation Features Usage Configuration GitHub PsySH A runtime developer console, interactive debugger and REPL for PHP. Watch on GitHub Fork on GitHub Follow @bobthecow Share on Twitter is ranked 1239420 in the world (amongst the 40 million domains). A low-numbered rank means that this website gets lots of visitors. This site is relatively popular among users in the united states. It gets 50% of its traffic from the united states .This site is estimated to be worth $6,720. This site has a low Pagerank(0/10). It has 1 backlinks. has 43% seo score. Information

Website / Domain:
Website IP Address:
Domain DNS Server:,,, Rank

Alexa Rank: 1239420
Google Page Rank: 0/10 (Google Pagerank Has Been Closed) Traffic & Earnings

Purchase/Sale Value: $6,720
Daily Revenue: $18
Monthly Revenue $552
Yearly Revenue: $6,720
Daily Unique Visitors 1,694
Monthly Unique Visitors: 50,820
Yearly Unique Visitors: 618,310 WebSite Httpheader

StatusCode 200
Cache-Control max-age=600
Content-Type text/html; charset=utf-8
Date Thu, 04 Aug 2016 00:14:30 GMT
Server Keywords accounting

Keyword Count Percentage Traffic Sources Chart Similar Website

Domain Site Title Alexa Rank History Chart aleax Html To Plain Text

PsySH PsySH Installation Features Usage Configuration GitHub PsySH A runtime developer console, interactive debugger and REPL for PHP. Watch on GitHub Fork on GitHub Follow @bobthecow Share on Twitter Share on Google+ Share on Facebook Have eight seconds? Try PsySH The easy way ~ $ wget ~ $ chmod +x psysh ~ $ ./psysh or The other easy way ~ $ composer g require psy/psysh:@stable ~ $ psysh (Be sure set up your $PATH for Composer) Stop die()ing all the time PsySH can be used as an interactive debugger, much like JavaScript's debugger statement, saving you from endless var_dump() and die() iterations. Just drop this line in where you'd like to have a breakpoint: eval(\Psy\sh()); Auto[tab][tab]Complete PsySH has tab completion for variable names, functions, classes, methods, properties, and even files! Just start typing, then hit [tab]. But you probably already guessed that. (Tab completion requires Readline- or Libedit-enabled PHP. But you really should have that anyway) Name all the spaces Most PHP shells are terrible at namespaces. PsySH does just what you'd expect. Read documentation in context Have a question about a core PHP function? Try doc array_map. Want to read the documentation for an object property? Run doc $response->statusTexts. >>> help doc Reflect like a boss The list command knows all about your code — and everyone else's. Easily list and search all variables, constants, classes, interfaces, traits, functions, methods and properties. >>> help list Use the source! Easily show the source code for any userland object, class, interface, trait, constant, method or property. >>> help show Forget to catch that last exception? No worries, PsySH has your back. We caught it for you, and made it available via the wtf command. >>> help wtf Learn from your history and repeat your past Show, search, save and replay your shell history. >>> help history Roll your own commands If the awesome features listed above aren't enough for you, you can write your own commands! PsySH has first-class support for custom commands — just register them in your ~/.config/psysh/config.php. How is this thing better than $shell_?ive_used_?since_2008? Check out the slides from Interactive Debugging in PHP at OSCON 2013 for an overview of the state of PHP debugging and why PsySH might be for you. Usage PsySH as a REPL PsySH functions as a REPL for PHP right out of the box! Once you’ve installed PsySH, running it directly (psysh or ./psysh) will drop you into an interactive prompt, like so: ~ $ ./psysh Psy Shell v0.1.0-dev (PHP 5.4.9-4ubuntu2.2 — cli) by Justin Hileman >>> From here, you can type PHP code and see the result interactively: >>> function timesFive($x) { ... $result = $x * 5; ... return $result; ... } => null >>> timesFive(10); => 50 >>> PsySH as a Debugger To use PsySH as a debugger, install it as a Composer dependency or include the Phar directly in your project: Then, drop this line into your script where you’d like to have a breakpoint: … which is just a shorter way of saying: When your script reaches this point, execution will be suspended and you’ll be dropped into a PsySH shell. Your program state is loaded and available for you to inspect and experiment with. Pro Tip?: You don’t have to use get_defined_vars… You can pass anything you want in as your debugging context: $myApp]); ?> If you’re starting the debug shell from inside a class context, you can pass an optional second argument to add a bound object to the shell. This is super useful because you’ll be able to call things on $this inside your debug shell, and you will have full access to private and protected members of your current context: If you call the shortcut eval(\Psy\sh()) from inside a class context, you’ll get $this bound for free. Magic Variables The result of the last (successful) statement is available as $_, and the last error or exception is available as $_e. You can use these just like you’d use any other variable: >>> 'wat' => "wat" >>> $_ => "wat" >>> throw new Exception($_) Exception with message 'wat' >>> $_e => { message: "wat", file: "phar:///psysh/src/Psy/ExecutionLoop/Loop.php(67) : eval()'d code", line: 1 } >>> Configuration While PsySH strives to detect the right settings automatically, you might want to configure it yourself. Just add a file to ~/.config/psysh/config.php: 'more', // Sets the maximum number of entries the history can contain. // If set to zero, the history size is unlimited. 'historySize' => 0, // If set to true, the history will not keep duplicate entries. // Newest entries override oldest. // This is the equivalent of the HISTCONTROL=erasedups setting in bash. 'eraseDuplicates' => false, // By default, PsySH will use a 'forking' execution loop if pcntl is // installed. This is by far the best way to use it, but you can override // the default by explicitly enabling or disabling this functionality here. 'usePcntl' => false, // PsySH uses readline if you have it installed, because interactive input // is pretty awful without it. But you can explicitly disable it if you hate // yourself or something. 'useReadline' => false, // PsySH automatically inserts semicolons at the end of input if a statement // is missing one. To disable this, set `requireSemicolons` to true. 'requireSemicolons' => true, // PsySH uses a couple of UTF-8 characters in its own output. These can be // disabled, mostly to work around code page issues. Because Windows. // // Note that this does not disable Unicode output in general, it just makes // it so PsySH won't output any itself. 'useUnicode' => false, // While PsySH respects the current `error_reporting` level, and doesn't throw // exceptions for all errors, it does log all errors regardless of level. Set // `errorLoggingLevel` to 0 to prevent logging non-thrown errors. Set it to any // valid `error_reporting` value to log only errors which match that level. 'errorLoggingLevel' => E_ALL & ~E_NOTICE, // "Default includes" will be included once at the beginning of every PsySH // session. This is a good place to add autoloaders for your favorite // libraries. 'defaultIncludes' => array( __DIR__ . '/include/bootstrap.php', ), // While PsySH ships with a bunch of great commands, it's possible to add // your own for even more awesome. Any Psy command added here will be // available in your Psy shell sessions. 'commands' => array( // The `parse` command is a command used in the development of PsySH. // Given a string of PHP code, it pretty-prints the // [PHP Parser]( parse tree. It // prolly won't be super useful for most of you, but it's there if you // want to play :) new \Psy\Command\ParseCommand, ), // PsySH uses symfony/var-dumper's casters for presenting scalars, resources, // arrays and objects. You can enable additional casters, or write your own! // See 'casters' => array( 'MyFooClass' => 'MyFooClassCaster::castMyFooObject', ), // You can disable tab completion if you want to. Not sure why you'd want to. 'tabCompletion' => false, // You can write your own tab completion matchers, too! Here are some that enable // tab completion for MongoDB database and collection names: 'tabCompletionMatchers' => array( new \Psy\TabCompletion\Matcher\MongoClientMatcher, new \Psy\TabCompletion\Matcher\MongoDatabaseMatcher, ), // If multiple versions of the same configuration or data file exist, PsySH will // use the file with highest precedence, and will silently ignore all others. With // this enabled, a warning will be emitted (but not an exception thrown) if multiple // configuration or data files are found. // // This will default to true in a future release, but is false for now. 'warnOnMultipleConfigs' => true, // By default, output contains colors if support for them is detected. To override: 'colorMode' => \Psy\Configuration::COLOR_MODE_FORCED, // force colors in output 'colorMode' => \Psy\Configuration::COLOR_MODE_DISABLED, // disable colors in output ); ?> PsySH is the `rails c` of PHP and it's becoming one of my must-have PHP tools ?— Jay El-Kaake (@jayelkaake) March 3, 2016 Probably the best discovery of the day:, an awesome #php REPL !— Morgan TQ (@toverux) February 11, 2016 Acabo de usar psysh para testear una regex... Tener una "repl" decente en php va bien y todo xD— Rafa Gómez (@rafaoe) January 26, 2016 how did I develop in PHP without #psysh?! best tool I came across in ages, debugging will never be the same again— Tito Miguel Costa (@titomiguelcosta) November 16, 2015 Just discovered PsySH and I wish I had done so before - this will be saving me an awful lot of grief— Matthew Daly (@mattbd) November 13, 2015 PsySH 这个console插件不错,可以像 irb 那样使用 PHP,再也不用为了写几行 PHP 而新建一个.php 文件了— 徐羿君 (@jun_cn) July 15, 2015 Psysh is so good that I'm kinda upset nobody told me enough about it before today #php #repl #interactive #debugging— Daniele Alessandri (@JoL1hAHN) July 13, 2015 Oh awesome! How did I not know about this before!— Jack Skinner'; -- (@developerjack) June 6, 2015 PsySH Now why didn't anyone tell me about this sooner?— Dan Revel (@nopolabs) May 25, 2015 Late to the game but I just massively/instantly got into #psysh @bobthecow ??— Mike Whiting (@mikejw) May 22, 2015 Interactive debuger for PHP #joy— Grégoire Hubert (@chanmix51) April 30, 2015 Even as Boris contrib, going to step back and say PsySH is my new favorite #PHP console/debugger/REPL. Just switched, nice work @bobthecow!— Tejas Manohar (@tejasmanohar) April 29, 2015 I know this is baked into Laravel 5, but it's seriously awesome on its own:— Chris (@ninthspace) April 9, 2015 #PsySH where have you been all my (developer) life! check out this PHP REPL at— YourWebDevGuy (@YourWebDevGuy) March 17, 2015 psysh - The best REPL (runtime developer console, interactive debugger) for PHP.— Logan Lindquist (@llbbl) March 3, 2015 Found a great REPL for php because it's the replacement for boris in @laravelphp Thanks guys! #laravel5— christianthomas (@christianthomas) February 10, 2015 adote nosso amigo PsySH tb! #psysh— Raffael Tancman (@rtancman) February 10, 2015 If you write PHP, give a go. It's awesome. "A runtime developer console, interactive debugger and REPL for PHP."— Dave Hulbert (@dave1010) February 2, 2015 Just installed Psysh. This thing is AMAZING. PHP devs should definitely check it out— Ali Smith (@40_thieves) February 1, 2015 #PsySH THE most awesome #php #repl and debug console— #!/bin/flatline (@___flatline___) January 30, 2015 PHP has never been more fun before! PsySH rocks! #php— Abu Ashraf Masnun (@masnun) January 28, 2015 #PHP gone #REPL!— Abhinandan (@nmabhinandan) January 28, 2015 Awesome! Laravel 5 now using psysh on the console!— Joe Cohen (@joecohens) January 27, 2015 psyshべんり。— takscape (@takscape) November 29, 2014 Una consola interactiva y debugger para #PHP #WebBizarro— Web Bizarro (@BizarroWeb) November 7, 2014 AND THE HEAVENS OPENED:— Gemma Lynn (@ellotheth) October 31, 2014 Interactive PHP Debugging with PsySH :— SitePoint (@sitepointdotcom) September 29, 2014 My favorite PHP interactive console (REPL) is by @bobthecow Really cool project with awesome website!— davert (@davert) September 27, 2014 #ezsh: Interactive debug shell for #ezpublish available now for testing! On top of #PsySH by @bobthecow #symfony— Jér?me Vieilledent (@jvieilledent) August 28, 2014 Just discovering #PsySH, a #PHP #REPL (and more). Thank you @bobthecow.— Thierry Goettelmann (@byscripts) August 2, 2014 PSA: if you’re a php dev you should be using psysh (— Ciaran Downey (@ciarandowney) July 15, 2014 @pockystar j'approuve. Et psysh aussi. C'est le meilleur REPL php— Florent Viel (@florent_viel) July 15, 2014 使いやすいPHPのREPL— ryo hongo (@rhong_) July 8, 2014 めっちゃ便利なPHPのREPL PsySH— numa (@numa08) May 7, 2014 Ohai psysh (, time to get you on this machine. #php #repl— Raphael Stolt (@raphaelstolt) April 15, 2014 New Blog Post: Working with Psysh, an amazing PHP REPL @phpsblog #PHP— Allan MacGregor (@allanmacgregor) April 13, 2014 @gonzaloserrano @ricardclau @theUniC @javiereguiluz psysh viene genial para debugar modelo dominio y comandos— jhvaras (@jhvaras) April 7, 2014 なにこれ凄い / “PHP - 高機能REPL psysh - Qiita”— Hiraku (@Hiraku) February 21, 2014 Finally a decent PHP REPL. PsySH ~ By @bobthecow— Marnu Lombard (@mr_springtime) February 4, 2014 How could I live without a wtf command ?— Antoine Guigan (@AntoineGuigan) January 29, 2014 Love this project #psysh— Clint Tyler (@cdtweb) January 28, 2014 PsySH, debugging in #php just got serious— Alessandro Nadalin (@_odino_) January 27, 2014 PsySH: Finally, a good REPL / developer console for PHP? Inline doc, debugger... I'm only missing tab completion— Fran?ois Zaninotto (@francoisz) January 23, 2014 Just found @bobthecow's 2013 OSCON presentation on interactive PHP debugging with PsySH: It's my go-to PHP REPL.— Jeremy Mikola (@jmikola) January 21, 2014 thank you @bobthecow!— everzet (@everzet) January 21, 2014 Great presentation by @bobthecow and a new #php tool (PsySH) that I need to try.— Jeremy Lindblom (@jeremeamia) January 23, 2014 is the #php REPL shell we have been waiting for. How to start an interactive shell with a…— Barnaby Walters (@BarnabyWalters) November 18, 2013 Interactive debugging for PHP,, because we can do better than var_dump($data); #REPL— Adrian Kuhn (@akuhn) September 11, 2013 I’m now 30% more sane, thanks to Psy Shell. #php /cc @bobthecow— Graham Weldon (@predominant) September 10, 2013 If you haven't already tried it, @bobthecow 's PsySH is pretty freaking awesome.— John David Anderson (@raisinbread) September 2, 2013 Awesome interactive PHP REPL /cc: @jamiehannaford— Glen Campbell (@glenc) August 29, 2013 I definitely need to look at, 'cause "Even IE has a better interactive shell than php." - @bobthecow #phpundiscovered— Michael Crumm (@mcrumm) August 29, 2013 PsySH: Proper REPL for PHP! #OSCON— Jeff Tilson (@jrtilson) July 25, 2013 Favorite #OSCON presentation so far is @bobthecow on PHP interactive debugging. Check out the REPL loop he built at— Scott Small (@smallsco) July 25, 2013 Watch on GitHub Fork on GitHub Follow @bobthecow Share on Twitter Share on Google+ Share on Facebook PsySH is kinda rad. Made by Justin Hileman and some really awesome contributors. Whois

Domain Name: PSYSH.ORG