PHP code example of betocampoy / champs-onboarding

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

    

betocampoy / champs-onboarding example snippets


BetoCampoy\Champs\Onboarding\ChampsOnboardingBundle::class => ['all' => true],

#[AsAlias(TourEligibilityCheckerInterface::class)]
final class MinhaRegra implements TourEligibilityCheckerInterface { /* ... */ }
bash
php bin/console doctrine:migrations:diff
php bin/console doctrine:migrations:migrate
yaml
champs_onboarding:
    resource: '@ChampsOnboardingBundle/config/routes.php'
    prefix: /onboarding
bash
php bin/console champs:onboarding:sync               # todos os monitorados
php bin/console champs:onboarding:sync boas-vindas   # um tour
php bin/console champs:onboarding:sync --async       # só enfileira