PHP code example of volkmann-design-code / kirby-dev-login

1. Go to this page and download the library: Download volkmann-design-code/kirby-dev-login 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/ */

    

volkmann-design-code / kirby-dev-login example snippets


// site/config/config.localhost.php
return ['debug' => true];

// site/config/config.php
return [
	'volkmann-design-code.dev-login' => [
		// null (default): on with `debug` on a local host;
		// or true, false, or fn (Kirby\Cms\App $kirby): bool
		'enabled'     => null,
		// null (default): every account with Panel access;
		// or fn (Kirby\Cms\App $kirby): Kirby\Cms\Users|array of emails
		'users'       => null,
		// true: a card per account with its role's description
		'description' => false,
		// true: the accounts first, Kirby's login form behind a button
		'collapse'    => false,
	],
];