PHP code example of proprietes-privees / zfc-user

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

    

proprietes-privees / zfc-user example snippets


    
    return array(
        'modules' => array(
            // ...
            'ZfcBase',
            '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