PHPackages                             jonathrg/repl-breakpoint - 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. jonathrg/repl-breakpoint

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

jonathrg/repl-breakpoint
========================

Inject a REPL anywhere in your PHP script

v1.0(9y ago)13MITPHPPHP ^5.6CI passing

Since Jun 20Pushed 5y ago1 watchersCompare

[ Source](https://github.com/jonathangjertsen/ReplBreakpoint)[ Packagist](https://packagist.org/packages/jonathrg/repl-breakpoint)[ RSS](/packages/jonathrg-repl-breakpoint/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (3)Used By (0)

ReplBreakpoint lets you start a REPL at any point in a PHP script and gives you access to the state of execution at that point.

Install
-------

[](#install)

```
composer require jonathrg/repl-breakpoint

```

Usage
-----

[](#usage)

Here we define a variable and a function, and then call `repl(get_defined_vars())`.

```
// File: examples/simple_example.php
