PHP code example of roshyo / age-verification-plugin

1. Go to this page and download the library: Download roshyo/age-verification-plugin 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/ */

    

roshyo / age-verification-plugin example snippets


// in app/AppKernel.php
public function registerBundles() {
	$bundles = array(
		// ...
		new \BeHappy\SyliusAgeVerificationPlugin\BeHappySyliusAgeVerificationPlugin(),
	);
	// ...
}