PHPackages                             rezgui/laravel-livetinker - 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. rezgui/laravel-livetinker

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

rezgui/laravel-livetinker
=========================

Live tinker allows you to live interact with your Laravel application from the web page (cloned from erjanmx/laravel-live-tinker)

02JavaScript

Since Aug 20Pushed 4y ago1 watchersCompare

[ Source](https://github.com/rezgui/laravel-livetinker)[ Packagist](https://packagist.org/packages/rezgui/laravel-livetinker)[ RSS](/packages/rezgui-laravel-livetinker/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel-livetinker
==================

[](#laravel-livetinker)

Laravel-livetinker allows you to live debug/test small parts of your Laravel application from the browser page [(cloned from erjanmx/laravel-live-tinker)](https://github.com/erjanmx/laravel-live-tinker)

[![Imgur](https://camo.githubusercontent.com/2548016bbc05dd9a66d8bc54c0f513813b331da13295768eec01cb570434e849/68747470733a2f2f692e696d6775722e636f6d2f4452586576456e2e706e67)](https://camo.githubusercontent.com/2548016bbc05dd9a66d8bc54c0f513813b331da13295768eec01cb570434e849/68747470733a2f2f692e696d6775722e636f6d2f4452586576456e2e706e67)

[Laravel's tinker command](https://github.com/laravel/tinker) allows to run any code you want as if you are inside your Laravel app.

But what if you want to debug some part of your code, you must start up tinker, type the code, press enter, and quit tinker and everytime you make change in your code you have to run tinker all over again

This package helps you to run any line of code in your Laravel app environment in your favorite browser tab. No tinker launching, no typing or searching previously typed code.

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

[](#installation)

You can install the package via composer

> Install only in your dev-environment

```
composer require rezgui/laravel-livetinker --dev
```

> If you're using Laravel prior to version 5.5 you have to configure by adding Service Provider in your `/config/app.php`
>
> ```
> 'providers' => [
>     // other providers
>
>     Rezgui\LiveTinker\LiveTinkerServiceProvider::class,
>  ],
>
> ```

Publish assets via following command

```
php artisan vendor:publish --tag=live-tinker
```

Usage
-----

[](#usage)

If you do not have configured web-server we'll use Laravel's built-in one

```
php artisan serve
```

> Note
>
> Due to security reasons the following route will be available in `APP_DEBUG=true` mode only, which always must be set to `false` in production

Now just open http://**your-domain**/live-tinker (replace **your-domain** with your domain or `ip:port` given by `php artisan serve` command)

You should see editor window with php code highlighting (powered by [Ace Editor](https://github.com/ajaxorg/ace)) and the result window. Now you can type/copy any code or even whole classes and test them in your browser and everything will work as if it has been typed in tinker console command.

Features
--------

[](#features)

- No dependency
- Full Laravel environment support
- No need to reload page on code change
- Saves your code in local-storage (restores if browser window has restarted)
- Run all or only part of your code
- Code highlight via Ace Editor
- Quick run using keyboard commands
- Laravel-native errors by *Whoops*
- Test any plain PHP code

Screenshots
-----------

[](#screenshots)

### Work with your models

[](#work-with-your-models)

[![Imgur](https://camo.githubusercontent.com/a082a6ad3fa1ce97eb0dd3bf7934abdb53081766bef3e9b4c0c62a8b8155ccd4/68747470733a2f2f692e696d6775722e636f6d2f3066796a76336e2e706e67)](https://camo.githubusercontent.com/a082a6ad3fa1ce97eb0dd3bf7934abdb53081766bef3e9b4c0c62a8b8155ccd4/68747470733a2f2f692e696d6775722e636f6d2f3066796a76336e2e706e67)

### Get errors with Whoops

[](#get-errors-with-whoops)

[![Imgur](https://camo.githubusercontent.com/93a4f06130ccafdb562b944cfffc4385ea14c1590b327fcfc162f2dbcff36261/68747470733a2f2f692e696d6775722e636f6d2f64326f77516a722e706e67)](https://camo.githubusercontent.com/93a4f06130ccafdb562b944cfffc4385ea14c1590b327fcfc162f2dbcff36261/68747470733a2f2f692e696d6775722e636f6d2f64326f77516a722e706e67)

### Plain PHP

[](#plain-php)

[![Imgur](https://camo.githubusercontent.com/2dec6061263718cdad0beaf91ca9c89bcd3a93c4600fa8b374074f906370c1f0/68747470733a2f2f692e696d6775722e636f6d2f47356c77487a782e706e67)](https://camo.githubusercontent.com/2dec6061263718cdad0beaf91ca9c89bcd3a93c4600fa8b374074f906370c1f0/68747470733a2f2f692e696d6775722e636f6d2f47356c77487a782e706e67)

License
=======

[](#license)

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

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity28

Early-stage or recently created project

 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.

### Community

Maintainers

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

---

Top Contributors

[![rezgui](https://avatars.githubusercontent.com/u/1289096?v=4)](https://github.com/rezgui "rezgui (8 commits)")

### Embed Badge

![Health badge](/badges/rezgui-laravel-livetinker/health.svg)

```
[![Health](https://phpackages.com/badges/rezgui-laravel-livetinker/health.svg)](https://phpackages.com/packages/rezgui-laravel-livetinker)
```

###  Alternatives

[symfony/polyfill-uuid

Symfony polyfill for uuid functions

688335.4M63](/packages/symfony-polyfill-uuid)[spatie/error-solutions

This is my package error-solutions

6853.2M11](/packages/spatie-error-solutions)[phpflo/phpflo

Flow-based programming for PHP

2173.3k4](/packages/phpflo-phpflo)[eftec/autoloadone

AutoloadOne is a program that generates an autoload class for PHP.

403.4k](/packages/eftec-autoloadone)[ys-tools/default-theme-configuration-bundle

OroCommerce Default Theme Configuration Bundle

124.2k](/packages/ys-tools-default-theme-configuration-bundle)

PHPackages © 2026

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