PHP code example of edbizarro / slacker-iugu

1. Go to this page and download the library: Download edbizarro/slacker-iugu 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/ */

    

edbizarro / slacker-iugu example snippets


// config/app.php
'providers' => [
    ...
    Spatie\SlashCommand\SlashCommandServiceProvider::class,
    Edbizarro\Slacker\Iugu\Providers\SlackerIuguServiceProvider::class,
];



return [
    /*
     * The token provided by iugu.
     */
    'token' => env('IUGU_API_TOKEN'),
    'handlers' => [
        Edbizarro\Slacker\Iugu\Handlers\IuguCustomerHandler::class,
        Edbizarro\Slacker\Iugu\Handlers\IuguSubscriptionHandler::class,
    ],
];