sledgehammer / laravel
Use the Sledgehammer Framework as a library in a Laravel project
16.09.0
2016-08-31 11:24 UTC
Requires
- laravel/framework: >=5
- sledgehammer/core: >=16
This package is auto-updated.
Last update: 2024-11-17 22:05:58 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