PHP code example of lm-commons / lmc-user

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

    

lm-commons / lmc-user example snippets


    
    return [
        'modules' => [
            // ...
            'LmcUser',
        ],
        // ...
    ];
    


return [
    'db' => [
        'driver'    => 'PdoMysql',
        'hostname'  => 'changeme',
        'database'  => 'changeme',
        'username'  => 'changeme',
        'password'  => 'changeme',
    ],
    'service_manager' =>[
        'factories' => [
            \Laminas\Db\Adapter\Adapter::class => \Laminas\Db\Adapter\AdapterServiceFactory::class,
        ],
    ],
];

bash
    $ php composer.phar update