Download the PHP package efrane/tinkr without Composer
On this page you can find all versions of the php package efrane/tinkr. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package tinkr
tinkr
tinkr is a testbed console thing for PHP. one day I will come up with a better explanation. for now, just know that you can do this:
Usage
If called without any arguments, tinkr essentially behaves like it's underlying PsySh, with the exception that you end up in a sandboxed environment. But of course, the actual benefit of tinkr is passing composer package names for quickly testing them without having to manually require-write-script-run the test.
Export
Tinkr sessions are by default temporary because they are just meant for quick
testing without all the hassle of composer require and autoloading and stuff.
If you need the things saved, it's possible to export a session to a permanent
location by calling the export
command in the session. This will write the
session to a sub-directory your current dir. If you want a specific storage
path, you can pass that as an argument, e.g. export ~/my_tinkr_session
.
Exported sessions will not be overridden unless you run the command as export --force
.
In the future, tinkr will try to generate a PHP script from the command history,
for now, the export just contains the bare environment, which, however, allows for
reopening in tinkr with $ tinkr --path your-exported-tinkr-session
.
Installation
via composer:
Don't forget to add your .composer/vendor/bin to your $PATH
License: MIT
All versions of tinkr with dependencies
symfony/console Version ^2.7
symfony/process Version ^2.7
symfony/filesystem Version ^2.7
composer/composer Version *
nesbot/carbon Version dev-master
illuminate/container Version ^5.1