thejenos / laradump
laradump is a free alternative of spatie ray
Fund package maintenance!
TheJenos
Installs: 6 727
Dependents: 0
Suggesters: 0
Security: 0
Stars: 21
Watchers: 1
Forks: 7
Open Issues: 2
Requires
- php: ^7.4|^8.0|^8.1|^8.2
- illuminate/contracts: ^5.5|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0
- spatie/backtrace: ^1.2
- spatie/laravel-package-tools: ^1.4.3
Requires (Dev)
- brianium/paratest: ^6.2
- nunomaduro/collision: ^5.3
- orchestra/testbench: ^6.15
- phpunit/phpunit: ^9.3
- vimeo/psalm: ^4.4
README
Installation
You can install the package via composer:
composer require thejenos/laradump
You need to install vscode extension to see the dumps
## Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
ext install laradump.laradump
Usage
// Dump a variable laradump("test"); laradump()->dump("test"); // Dump multiple variables laradump()->dump("test", [1,2,3], User::find(1)); // Dump models laradump()->model(User::find(1)); laradump()->model(User::find(1), User::find(2)); // Clear dump list laradump()->clearDumps(); // Dump queries laradump()->showQueries(); laradump()->stopShowingQueries(); // Dump logs laradump()->showLogs(); laradump()->stopShowingLogs(); // Dump logs laradump()->showCache(); laradump()->stopShowingCache(); // Dump mails laradump()->mail(new TestMail()); //Many more up to come
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.