PHPackages                             emargareten/filetinker - 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. [Debugging &amp; Profiling](/categories/debugging)
4. /
5. emargareten/filetinker

AbandonedArchivedLibrary[Debugging &amp; Profiling](/categories/debugging)

emargareten/filetinker
======================

Artisan Tinker in your IDE

1.0.0(5y ago)434[1 PRs](https://github.com/emargareten/filetinker/pulls)MITPHPPHP ^7.2

Since May 8Pushed 5y ago1 watchersCompare

[ Source](https://github.com/emargareten/filetinker)[ Packagist](https://packagist.org/packages/emargareten/filetinker)[ Docs](https://github.com/emargareten/filetinker)[ RSS](/packages/emargareten-filetinker/feed)WikiDiscussions 1.0.0 Synced 3d ago

READMEChangelogDependencies (2)Versions (5)Used By (0)

Artisan Tinker in your IDE
==========================

[](#artisan-tinker-in-your-ide)

Artisan's tinker command is a great way to tinker with your application in the terminal. Unfortunately running a few lines of code, making edits, and copy/pasting code can be bothersome. Wouldn't it be great to tinker from a file right in your IDE with code completion and all other features?

This package will add a file in your project from where you will be able to run your tinker code.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require emargareten/filetinker --dev
```

Next, you must publish the files from this package by running this command.

```
php artisan filetinker:install
```

This will publish the config file to your config directory and create a new file tinker.php in your root directory which you will use to write the code.

You will probably want to add tinker.php to your .gitignore file.

This is the content that will be published to `config/filetinker.php`

```
return [

    /*
     * The file that tinker will run from.
     */
    'filepath' => base_path('tinker.php'),

    /*
     * Prepends the output with message.
     * To remove prepended message set this value to false
     */
    'prepend_message' => "[".date('Y-m-d H:i:s')."]",
];
```

Usage
-----

[](#usage)

Write your code in tinker.php (or whichever file is configured to run filetinker) then run `php artisan filetinker:run` and see the output in your terminal!

(You can set up run configuration and/or keyboard shortcuts in your IDE to run this command.)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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 ~17 days

Total

3

Last Release

2162d ago

Major Versions

0.0.1 → 1.0.02020-06-11

### Community

Maintainers

![](https://www.gravatar.com/avatar/d7bb3bbd6b71163ad5f4871aca931336ac3f8c045b9fef5c8b7e0618b62f6efa?d=identicon)[emargareten](/maintainers/emargareten)

---

Top Contributors

[![emargareten](https://avatars.githubusercontent.com/u/46111162?v=4)](https://github.com/emargareten "emargareten (6 commits)")

---

Tags

laravellaravel-tinkerphplaraveldebugTinkerdevelopment

### Embed Badge

![Health badge](/badges/emargareten-filetinker/health.svg)

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

###  Alternatives

[barryvdh/laravel-debugbar

PHP Debugbar integration for Laravel

19.1k124.3M624](/packages/barryvdh-laravel-debugbar)[spatie/laravel-web-tinker

Artisan Tinker in your browser

1.2k3.8M6](/packages/spatie-laravel-web-tinker)[fruitcake/laravel-debugbar

PHP Debugbar integration for Laravel

19.1k662.9k29](/packages/fruitcake-laravel-debugbar)[recca0120/laravel-tracy

A Laravel Package to integrate Nette Tracy Debugger

388283.0k3](/packages/recca0120-laravel-tracy)[php-console/laravel-service-provider

Laravel service provider to handle PHP errors, dump variables, execute PHP code remotely in Google Chrome

7361.2k1](/packages/php-console-laravel-service-provider)

PHPackages © 2026

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