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

Sentinel Laravel Package

cartalyst/sentinel

Framework-agnostic authentication and authorization system for PHP 8.3+ with Laravel support. Provides user management, roles and permissions, login/throttling, activation and password reset flows, and additional security features.

View on GitHub
Deep Wiki
Context7
v8.0.0
  • Add Laravel 11 support
v7.0.2
  • Fix duplicated property
v7.0.1
  • Fix some deprecation warnings on PHP 8.2
v6.0.1
  • Fix some deprecation warnings on PHP 8.2
v7.0.0
  • Add Laravel 10 support
v6.0.0
  • Add Laravel 9 support
v5.1.0
  • Add PHP 8 support
v5.0.0
  • BC Break: PHP 7.3 is the minimum required PHP version
  • BC Break: Laravel 8.0 is the minimum supported Laravel version
v4.0.0
  • BC Break: PHP 7.2 is the minimum required PHP version
  • BC Break: Laravel 7.0 is the minimum supported Laravel version
v3.0.4

ADDED

  • The inAnyRole to be called statically, Sentinel::inAnyRole($role)
v3.0.3

FIXED

  • A few permissions type retrieval bugs.
v3.0.2

FIXED

  • A bug on the addPermission method of the PermissibleTrait.
v3.0.1

FIXED

  • A few return types.
v3.0.0
  • BC Break: PHP 7.2 is the minimum required PHP version
  • BC Break: Laravel 6.0 is the minimum supported Laravel version
  • Added PHP 7 Scalar type hints
  • Added PHP 7 Return type hints
  • Added Sentinel::getCheckpoints() method to retrieve all the added Checkpoints
  • Added Sentinel::getActivationRepository()->get() method to retrieve the valid Activation
  • Added Sentinel::getReminderRepository()->get() method to retrieve the valid Reminder
  • Updated the Sentinel::getActivationRepository()->exists(); method to always return a boolean
  • Updated the Sentinel::getActivationRepository()->completed(); method to always return a boolean
  • Updated the Sentinel::getReminderRepository()->exists(); method to always return a boolean
  • Updated the findByPersistenceCode() to return a PersistenceInterface or null instead of PersistenceInterface or bool
  • Updated the findUserByPersistenceCode() to return UserInterface or null instead of UserInterface or bool
  • Fixed an issue where a call for EloquentUser::setPersistences was missing during bootstrap
  • Fixed an issue where personal permissions were not taking priority over pattern matching
  • Fixed an issue where the Throttling repository was not being set properly
  • Fixed an issue with the Native Cookie forget method
  • Fixed an issue where the events didn't had the payload passed correctly
  • Fixed an issue where the global throttles cache was not being cleared
  • Removed unnecessary dependencies
  • Removed integrations for both CodeIgniter and FuelPHP
  • Removed strict comparisons in favour of type hinting
v2.0.18

ADDED

  • Added support for Larastan
  • Added events for logging in and logging out

UPDATED

  • Updated the orWhere query builder loop to lead with correct boolean constraint
  • Updated several tests for better coverage and overall quality

FIXED

  • Fixed an issue with the throttling threshold not behaving as expected
  • Fixed an issue where a model with soft deletes was causing issues when force deleting
  • Fixed an issue where the default global threshold value was incorrect
  • Fixed an issue with the order of overrides registration on the Laravel service provider
  • Fixed an issue with the checkPermission() method not behaving not casting some permissions as strings
  • Fixed an issue where the checkActivation method on the Activations Checkpoint was not returning the completion status
  • Fixed a few docblock typos
v2.0.17

FIXED

  • Incorrect docblock on the Illuminate Reminder Repository.

ADDED

  • Null Cookie implementation.
v2.0.16

FIXED

  • Issue on get method on IlluminateCookie returning incorrect type.

ADDED

  • Support for Laravel 5.5 Package Discovery.
v2.0.15

REVISED

  • Loosened cartalyst/support version.
v2.0.14

FIXED

  • Specify engine on the reminders table.
  • Single option on the native bootstrapper.
  • A bug causing inRole to return false after one iteration.
  • Use the event dispatcher contract.
v1.0.17

FIXED

  • Set the Throttle repository on Sentinel.
v1.0.16

ADDED

  • Missing Throttle repository getter/setter.
v2.0.13

ADDED

  • Missing Throttle repository getter/setter.
  • Laravel 5.3 support.

UPDATED

  • Detach the role from users when the role is deleted.
  • Pass persistence model from the configuration to the native bootstrapper.

REMOVED

  • Removed usage of Laravel helpers.
v2.0.12

UPDATED

  • Bump paragonie/random_compat version.
  • Use CSPRNG for salts.
v2.0.11

UPDATED

  • User model to check if the model is being soft deleted.
  • Native Session to better check if session is open or closed.
v2.0.10

FIXED

  • Delete method on the user model not returning parent.
  • Removed unused imports on some tests.
  • Reference to the stdClass on tests.
  • Various docblocks.

UPDATED

  • User model to hide the hashed password by default.
v2.0.9

FIXED

  • Bypassing specific checkpoints.

ADDED

  • A new database schema file for MySQL 5.6+.
v2.0.8

REVISED

  • Use json methods for various cookie implementations.
v1.0.15

REVISED

  • Use json methods for various cookie implementations.
v2.0.7

REVISED

  • Added additional check to prevent the first user from being returned when skipping login columns.
v1.0.14

REVISED

  • Added additional check to prevent the first user from being returned when skipping login columns.
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