PHP code example of eele / laravel-tonic

1. Go to this page and download the library: Download eele/laravel-tonic 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/ */

    

eele / laravel-tonic example snippets


return [
];

$tonic = new \Eele94\Tonic\Tonic();
$response = $tonic->send(new OffersGet());
bash
php artisan vendor:publish --tag="laravel-tonic-migrations"
php artisan migrate
bash
php artisan vendor:publish --tag="laravel-tonic-config"
bash
php artisan vendor:publish --tag="laravel-tonic-views"