PHPackages                             sietseveenman/kirby3-toilet - 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. sietseveenman/kirby3-toilet

ActiveKirby-plugin

sietseveenman/kirby3-toilet
===========================

The place for all your dumps

1.0.5(2y ago)186.5k1MITJavaScript

Since Oct 9Pushed 2y ago2 watchersCompare

[ Source](https://github.com/sietseveenman/kirby3-toilet)[ Packagist](https://packagist.org/packages/sietseveenman/kirby3-toilet)[ RSS](/packages/sietseveenman-kirby3-toilet/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (2)Versions (6)Used By (0)

Kirby3 Toilet
=============

[](#kirby3-toilet)

Dump without stopping your thread or template rendering. Instead your dumps will go straight to the new Toilet panel area. There you can inspect them and flush when you are done debugging. Don't forget to wash your hands!

[![number-two](https://user-images.githubusercontent.com/19320817/194783072-59ff2c15-87c4-4338-bf2c-6570bbb9e5c8.gif)](https://user-images.githubusercontent.com/19320817/194783072-59ff2c15-87c4-4338-bf2c-6570bbb9e5c8.gif)

Notes
-----

[](#notes)

This project was inspired by [Spatie's Ray](https://spatie.be/products/ray) and [Laravel's Telescope](https://laravel.com/docs/9.x/telescope). It borrows some of Telescope's code to trigger the interactive bits of the dumps on the panel area.

🚧 Warning: This project was created in a couple of days, It hasn't been tested much. Use at your own risk!

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

[](#installation)

With Composer

```
composer require sietseveenman/kirby3-toilet

```

### Usage

[](#usage)

Use the poop() method anywhere.

```
$articles = $page->children();

poop( $articles );
```

poop() returns the passed variable so you can chain methods and keep your code running.

```
foreach( poop($articles), $item) {
