PHP code example of zf-commons / zfc-user

1. Go to this page and download the library: Download zf-commons/zfc-user 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/ */

    

zf-commons / zfc-user example snippets


    
    return array(
        'modules' => array(
            // ...
            'ZfcUser',
        ),
        // ...
    );
    


return array(
    'db' => array(
        'driver'    => 'PdoMysql',
        'hostname'  => 'changeme',
        'database'  => 'changeme',
        'username'  => 'changeme',
        'password'  => 'changeme',
    ),
    'service_manager' => array(
        'factories' => array(
            'Zend\Db\Adapter\Adapter' => 'Zend\Db\Adapter\AdapterServiceFactory',
        ),
    ),
);

bash
    $ php composer.phar update