Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Security Laravel Package

nette/security

Secure Laravel authentication with Nette’s OAuth2, JWT, and session management—simplify identity handling for APIs and web apps.

View on GitHub
Deep Wiki
Context7
v3.2.2
  • support for PHP 8.5
  • optimized global function calls
v3.2.1
  • support for PHP 8.4
  • SecurityExtension: password can be dynamic #74
  • $user => $username #73
v3.2.0
  • requires PHP 8.1
  • uses PHP 8.1 features
  • removed deprecated IUserStorage (BC break)
v3.1.8
  • support for PHP 8.3
  • constants are PascalCase
  • used #[\SensitiveParameter] to mark sensitive parameters
v3.1.7
  • composer: allows nette/utils 4.0
v3.1.6
  • CookieStorage: getState returns the previously set ID #67
  • CookieStorage: fixed SameSite attribute
  • SessionStorage::setExpiration() does not overwrite data in the session
  • SimpleAuthenticator: refactoring, added verifyPassword()
  • strict type fix
  • coding style
v3.1.5
  • SessionStorage: used new sessionSection API to not start the session unless needed
v3.0.6
  • User: added method refreshStorage() to clear identity cache. (#46) (#50)
  • UserPanel: displays 'Session is closed' on closed session #52
v3.1.4
  • support for PHP 8.1
  • User::setExpiration() second argument accept also bool $clearIdentity
  • User: added consts LOGOUT_MANUAL & LOGOUT_INACTIVITY
  • fixed compatibility with Symfony DebugClassLoader
  • compatibility: improved code hinting
v3.1.3
  • Revert "SecurityExtension: 'roles' & 'resources' are deprecated"
  • SessionStorage: Fix clearing identity in case of clearAuthentication(true). (#55)
  • User: passes to authenticator all arguments
  • User::logout() steps reorder
  • events: removed magic
  • CookieStorage: added MIN_LENGTH for UID
  • User::inInRole() works with object Role

For the details you can have a look at the diff.

v3.1.0
  • requires PHP 7.2
  • added UserStorage, successor for IUserStorage
  • added IdentityHandler
  • added Authenticator, successor for IAuthenticator
  • added SimpleIdentity, successor for Identity
  • removed I prefixes from IAuthorizator, IResource, IRole
  • SecurityExtension: 'roles' & 'resources' are deprecated
  • User: added method refreshStorage() to clear identity cache. (#46) (#50)
v3.1.2
  • SecurityExtension: added section 'authentication'
  • added SessionStorage & CookieStorage (replaced Nette\Http\UserStorage)
v3.0.5
  • compatible with PHP 8.0
  • SecurityExtension: detects Tracy by presence of service [@Tracy](https://github.com/Tracy)\Bar nette/di#245
  • improved PHP doc
  • Passwords: hash(): Password can not be empty. (#47)

For the details you can have a look at the diff.

v3.0.4
  • SecurityExtensions, SimpleAuthenticator: add option for users data (#40)

For the details you can have a look at the diff.

v3.0.3
  • User: identity and authenticated state are cached, UserStorage is not called repeatedly
  • UserPanel: uses capturing

For the details you can have a look at the diff.

v3.0.2
  • Passwords: constants PASSWORD_* are strings since PHP 7.4 #35
  • User: added getAuthenticatorIfExists & getAuthorizatorIfExists()
  • User: deprecated hasAuthenticator() & hasAuthorizator()

For the details you can have a look at the diff.

v3.0.1
  • requires PHP 7.1
  • uses declare(strict_types=1)
  • uses PHP 7.1 scalar and return type hints
  • User::setExpiration() changed arguments 84ada184b35ac7cc19a382dc9ebb8a0e0fcc076d (BC break with fallback)
  • User: added hasAuthenticator() & hasAuthorizator(), deprecated $throw in getAuthenticator() & getAuthorizator()
  • Passwords: changed from static to object class (BC break)
  • Passwords: BCRYPT changed to default algorithm
  • SecurityExtension: added service 'passwords'
  • some classes & members marked as final (BC break)
  • SecurityExtension: uses configuration Schema
v2.4.4
  • SecurityExtension: added service 'passwords'
  • Passwords: is not static class (forward compatibility with v3)
  • Passwords: simplified checking for invalid hash

For the details you can have a look at the diff.

v2.4.3
  • Permission: used native callback invocation
  • improved typehints
  • SecurityExtension: used setFactory() instead of misused setClass()

For the details you can have a look at the diff.

v2.4.2
  • supports PHP up to 7.2
  • coding style: fixes, lowercase true/false/null

For the details you can have a look at the diff.

v2.4.1
  • UserStorage: removed BROWSER_CLOSED expiration reason nette/http#112
  • @return self -> static

For the details you can have a look at the diff.

v2.3.2
  • tests, typos

For the details you can have a look at the diff.

v2.4.0
  • requires PHP 5.6
  • uses Nette\SmartObject & StaticClass
  • Passwords: simplified with password_* API
  • Passwords::hash() removed option 'salt' (BC break)

For the details you can have a look at the diff.

v2.2.4
  • travis: migrating to container-based infrastructure
  • improved coding style

For the details you can have a look at the diff.

v2.3.1
  • travis: migrating to container-based infrastructure
  • improved coding style

For the details you can have a look at the diff.

v2.2.3
  • Identity: fixed conversion of big ints nette/nette#1520

For the details you can have a look at the diff.

v2.3.0
  • added bridge for Nette DI
v2.2.2
  • UserPanel: is rendered only when headers are not sent [Closes #7](fixed bug introduced in v2.2.1)

For the details you can have a look at the diff.

v2.2.1
  • Passwords: removed useless PASSWORD_MAX_LENGTH [Closes #1]
  • Passwords: Fix for validation of cost 31 [Closes #2][Closes #4]

For the details you can have a look at the diff.

v2.2.0

The first standalone release. For more information see readme.md.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport