PHP code example of bitpatroon / bpn_handle

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

    

bitpatroon / bpn_handle example snippets


/** @var \BPN\BpnHandle\Domain\Repository\PageRepository $pageRepository
$pageRepository->findByHandle($handle);

/** @var \BPN\BpnHandle\Domain\Repository\FrontendUserGroupRepository $repository
$repository->findByHandle($handle);

/** @var \BPN\BpnHandle\Domain\Repository\ContentRepository $repository
$repository->findByHandle($handle);