LaravelPackages.net
Acme Inc.
Toggle sidebar
pkboom/laravel-pick

98
0
0.0.18
About pkboom/laravel-pick

pkboom/laravel-pick is a Laravel package. It currently has 0 GitHub stars and 98 downloads on Packagist (latest version 0.0.18). Install it with composer require pkboom/laravel-pick. Discover more Laravel packages by pkboom or browse all Laravel packages to compare alternatives.

Last updated

Improves your debugging experience. Sort of Ray alternative

Drop pick() in you code. Pick will pick up anything you pass along and show on pick server.

Installation

You can install the package via composer:

composer require pkboom/laravel-pick --dev

You can publish the config file with

php artisan vendor:publish --provider="Pkboom\Pick\PickServiceProvider"

Usage

Download and install pick server.

git clone https://github.com/pkboom/pick-server.git
cd pick-server
composer install
composer setup

Spin up pick server. Actually we use valet. So server is already up and running.

Open pick-server.test and whatever laravel-pick sends will appear there.

After installing laravel-pick, use pick() in your app.

Route::get('/', function () {
    pick(time());
    pick(User::first());
    pick(time());

    return 'calm down';
});

Result at http://pick-server.test

Testing

composer test

Star History Chart