PHPackages                             holabs/security - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. holabs/security

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

holabs/security
===============

Add ability to use more authentifications in same time in your Nette Framework project

v1.0.9(7y ago)01.8k↓100%BSD-3-ClausePHPPHP &gt;=5.6

Since Feb 20Pushed 5y ago1 watchersCompare

[ Source](https://github.com/Holabs/Security)[ Packagist](https://packagist.org/packages/holabs/security)[ RSS](/packages/holabs-security/feed)WikiDiscussions master Synced today

READMEChangelog (8)Dependencies (3)Versions (11)Used By (0)

Holabs/Security
===============

[](#holabssecurity)

Adding ability for use more authentication methods a.k.a basic form, facebook and google in same time. THIS package contains only basic form.

Installation
------------

[](#installation)

**Requirements:**

- php 5.6+
- [Holabs/UI](https://github.com/Holabs/UI)
- [nette/di](https://github.com/nette/di)
- [nette/utils](https://github.com/nette/utils)

```
composer require holabs/security
```

Configuration
-------------

[](#configuration)

```
security: Holabs\Security\Bridges\Nette\SecurityExtension

security:
	authenticators:
		basic: Holabs\Security\Authenticators\Basic
#		auth_name: authenticator\class
```

In **authenticators** you can define all your authenticators. Name is used for component.

Using
-----

[](#using)

Your **SignPresenter** now can looks like this:

```
