sledgehammer/laravel

Use the Sledgehammer Framework as a library in a Laravel project

Installs: 98

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/sledgehammer/laravel

16.09.0 2016-08-31 11:24 UTC

This package is auto-updated.

Last update: 2025-09-17 23:58:35 UTC


README

Adds sledgehammer goodies to Laravel

  • statusbar
  • debug ajax calls with DebugR
  • Sledgehammer\dump()
  • Curl

Installation

Require this package in your composer.json and run composer update

"sledgehammer/laravel": "*"

(or run composer require sledgehammer/laravel:* directly):

After updating composer, add the ServiceProvider to the providers array in app/config/app.php

'Sledgehammer\Laravel\SledgehammerServiceProvider',

Add DebugRMiddleware to the $middleware array in app/Http/Kernel.php 'Sledgehammer\Laravel\DebugRMiddleware'

Statusbar

Add @include('sledgehammer::statusbar') before the </body> and run:

artisan vendor:publish