sledgehammer / laravel by bfanger

Use the Sledgehammer Framework as a library in a Laravel project
97
0
2
Package Data
Maintainer Username: bfanger
Package Create Date: 2013-10-10
Package Last Update: 2016-09-07
Language: PHP
License: MIT
Last Refreshed: 2024-11-22 03:18:18
Package Statistics
Total Downloads: 97
Monthly Downloads: 1
Daily Downloads: 0
Total Stars: 0
Total Watchers: 2
Total Forks: 0
Total Open Issues: 0

Sledgehammer Laravel

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