PHP code example of goldnead / statamic-funnels

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

    

goldnead / statamic-funnels example snippets


   Route::get('/my-landing-page', MyController::class)->middleware('statamic-funnels.track:my-funnel,landing');
   
bash
composer migrate
php artisan vendor:publish --tag=statamic-funnels
bash
php please funnels:thumbnails                  # every funnel, only what is out of date
php please funnels:thumbnails fruehlingskurs   # one funnel, by handle or id
php please funnels:thumbnails --force          # everything, again