PHP code example of thing-broken / laravel-thing-broken

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

    

thing-broken / laravel-thing-broken example snippets


    'providers' => [
        ...
        \ThingBroken\LaravelThingBroken\ThingBrokenServiceProvider::class,
    ]

    'aliases' => [
        ...
        'ThingBroken' => \ThingBroken\LaravelThingBroken\ThingBrokenFacade::class
    ]

return [
    ...
    'thing-broken' => [
        'api_key' => env('THING_BROKEN_API_KEY'),
    ],
];

\ThingBroken::fire('My New Event');