PHP code example of distilleries / integration

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

    

distilleries / integration example snippets


    'providers' => [
        //
        // Package Service Providers...
        //
        Distilleries\Integration\IntegrationServiceProvider::class,
    ]

    return [
        'path_partial_component' => resource_path('views/frontend/integration/components/partials'),
        'controller' => '\Distilleries\Integration\Http\Controllers\Frontend\IntegrationController@getComponentDetail',
        'prefix_uri' => 'integration',
        'disabled' => false,
        'pages' => [
            [
                'name' => 'Page FAQ Example',
                'slug' => 'faq',
                'status' => 'done', //done,in_progress,todo
                'view' => 'integration::frontend.integration.pages.faq',
            ],
        ],
    ];