glhd/laravel-dumper
关于
Upgrade dd() with Laravel-specific improvements
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Laravel Dumper
Improve the default output of dump() and dd() in Laravel projects. Improves the default
dump behavior for many core Laravel objects, including:
- Models
- Query Builders
- Service Container
- Database Connections
- Carbon Instances
- Requests and Responses
https://user-images.githubusercontent.com/21592/150163719-547ecd90-b029-4588-9648-34891e5e0886.mp4
Installation
Install as a dev dependency:
# composer require glhd/laravel-dumper --dev
Usage
Just use dd() as you would normally, and enjoy the newly curated output!
Original Dump Output
If, for some reason, you really need the full debug output for an object that laravel-dumper customizes, you can
do a "full" dump with ddf() and dumpf().
Comparison to Default Output
You can see comparisons between the default dd() output and the laravel-dumper output
in the diffs directory of this repository.
Custom Casters
Due to changes in how Laravel registers the var dumper it is no longer possible to register custom casters.
探索相关项目
加载中…