PHP code example of thejenos / laradump

1. Go to this page and download the library: Download thejenos/laradump library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

thejenos / laradump example snippets


// 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