PHP code example of filipbs / f-user
1. Go to this page and download the library: Download filipbs/f-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/ */
filipbs / f-user example snippets
$di->setShared('db', function() {
$db = new \Mos\Database\CDatabaseBasic();
$db->setOptions(
$app->router->add('user', function () use ($app) {
$app->theme->setTitle("Visa alla användare");
$app->dispatcher->forward([
'controller' => 'user',
'action' => 'list',
]);
});