PHPackages                             efrane/tinkr - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. efrane/tinkr

ActiveProject[Utility &amp; Helpers](/categories/utility)

efrane/tinkr
============

A tinkering tool for PHP

v0.5.4(10y ago)33MITPHP

Since Jul 23Pushed 10y ago1 watchersCompare

[ Source](https://github.com/eFrane/tinkr)[ Packagist](https://packagist.org/packages/efrane/tinkr)[ RSS](/packages/efrane-tinkr/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (7)Versions (6)Used By (0)

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:

```
$ tinkr erusev/parsedown
Preparing tinkr v0.5.0...
Loading composer repositories with package information
Installing dependencies (including require-dev)
  - Installing erusev/parsedown (1.5.3)
    Loading from cache

Writing lock file
Generating autoload files
Psy Shell v0.5.2 (PHP 5.6.9 — cli) by Justin Hileman
>>> (new Parsedown)->parse("Hello tinkr.")
=> "Hello tinkr."
>>> exit
Exit:  Goodbye.
Cleaning up temporary tinkr environment...
```

Usage
-----

[](#usage)

```
$ tinkr [--path=PATH|--use-current-dir] [PACKAGE_1] [PACKAGE_N]
```

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

[](#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
------------

[](#installation)

via composer:

```
$ composer global require efrane/tinkr
```

**Don't forget to add your .composer/vendor/bin to your $PATH**

License: MIT

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

5

Last Release

3952d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/671681f3e2af78795651f1dcbd5df04f36ff526f224a5e59dbc47940d9eb8918?d=identicon)[eFrane](/maintainers/eFrane)

---

Top Contributors

[![eFrane](https://avatars.githubusercontent.com/u/237165?v=4)](https://github.com/eFrane "eFrane (27 commits)")

### Embed Badge

![Health badge](/badges/efrane-tinkr/health.svg)

```
[![Health](https://phpackages.com/badges/efrane-tinkr/health.svg)](https://phpackages.com/packages/efrane-tinkr)
```

###  Alternatives

[symfony/maker-bundle

Symfony Maker helps you create empty commands, controllers, form classes, tests and more so you can forget about writing boilerplate code.

3.4k111.1M568](/packages/symfony-maker-bundle)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[symplify/monorepo-builder

Not only Composer tools to build a Monorepo.

5205.3M82](/packages/symplify-monorepo-builder)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
