Download the PHP package tigron/skeleton-package-login without Composer
On this page you can find all versions of the php package tigron/skeleton-package-login. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download tigron/skeleton-package-login
More information about tigron/skeleton-package-login
Files in tigron/skeleton-package-login
Download tigron/skeleton-package-login
More information about tigron/skeleton-package-login
Files in tigron/skeleton-package-login
Vendor tigron
Package skeleton-package-login
Short Description Tigron Skeleton Login package
License MIT
Package skeleton-package-login
Short Description Tigron Skeleton Login package
License MIT
Please rate this library. Is it a good library?
Informations about the package skeleton-package-login
skeleton-package-login
Description
This library enables user login functionality for Skeleton
Installation
Installation via composer:
composer require tigron/skeleton-package-login
Howto
Create a module in your application that extends from Skeleton\Package\Web\Module\User\Login
<?php
/**
* Module Login
*
* @author Christophe Gosiau <[email protected]>
* @author Gerry Demaret <[email protected]>
* @author David Vandemaele <[email protected]>
*/
use Skeleton\Package\Login\Web\Module\Login;
class Web_Module_Login extends Login {
/**
* The template
*
* @access public
*/
public $template = 'login.twig';
}
Create a template for your module that injects the generated templates into your layout
{% extends "_default/layout.base.twig" %}
{% block header_js %}
{% embed "@skeleton-package-login/javascript.twig" %}{% endembed %}
{% endblock header_js %}
{% block header_css %}
{% embed "@skeleton-package-login/css.twig" %}{% endembed %}
{% endblock header_css %}
{% block content %}
{% embed "@skeleton-package-login/content.twig" %}{% endembed %}
{% endblock content %}
Create a route in your application Config.php
/**
* Routes
*/
'routes' => [
'web_module_login' => [
'$language/login'
],
]All versions of skeleton-package-login with dependencies
PHP Build Version
Package Version
Requires
bower-asset/bootstrap Version
3.3.*
The package tigron/skeleton-package-login contains the following files
Loading the files please wait ...