PHP code example of madtechservices / madmin-core

1. Go to this page and download the library: Download madtechservices/madmin-core 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/ */

    

madtechservices / madmin-core example snippets


    public function run()
    {
        $this->call(\Madtechservices\MadminCore\Database\Seeds\MadminSeeder::class);
    }

    public function register()
    {
        $this->reportable(function (Throwable $e) {
            if ($this->shouldReport($e)) {
                store_system_logs($e);
            }
        });
    }