Skip to content

Password Policy

This page is generated from package source documentation in the Capell packages repository and the checked-in manifest. Source documentation is not distribution status. Before running a Composer command, verify that the exact package and compatible 1.x release are available through public Packagist or the authenticated marketplace account.

FieldValue
Composer packagecapell-app/password-policy
Package slugpassword-policy
Product groupCapell Security & Compliance
Tierpaid
Bundlesecurity-compliance
Runtime contextsadmin, console
Capell version^1.0
Catalogue roleextension
Release channelBeta
Docs sourcepackages/password-policy/docs
Manifestcapell.json

On one settings page you choose the rules that staff passwords for the Capell admin must meet. You set a minimum length of 8 characters or more, and can ask for mixed case, numbers and symbols. Leaked passwords are refused using a check that needs your server to reach the internet, and it is skipped if it can’t. You can also block recently used passwords.

The rules apply to passwords set on the Users screen and the change-password screen, including an administrator’s reset for someone else, which counts as a fresh change. A password set through the forgot-password page must meet the same strength rules, and the change is recorded. Reuse checks run only on the Users and change-password screens. Signing in is not checked, and existing passwords are never re-checked.

Passwords can also expire after a number of days. Existing accounts count from the day you install Password Policy, and staff are sent to the change screen on their next admin page. There they must give their current password, and wrong guesses are limited to five every 15 minutes. Warning emails need working mail and queued jobs. To force a change, turn on the forced-change setting, then use Require password change on chosen users. The Users table marks them, with filters for who must change and who has expired.

  • Price and availability: Check current availability and price on the Capell Marketplace listing.
  • Licence: Check the licence terms on the Capell Marketplace listing.
  • Requires: PHP ^8.4, capell-app/admin ^1.0.78, capell-app/core ^1.0.78, laravel/framework ^12.61.1|^13.12.0, lorisleiva/laravel-actions ^2.8, spatie/laravel-data ^4.5, spatie/laravel-package-tools ^1.14.1.
  • Install: composer require capell-app/password-policy.
  1. Install the package: composer require capell-app/password-policy.
  2. Open the package admin surface at /admin/password-policy/settings and confirm Password Policy is available.

Policy evaluation and password updates live in typed Actions, while middleware enforces the result consistently across admin requests.

  • Configuration files: config/capell-password-policy.php.
  • Admin settings: Capell\PasswordPolicy\Settings\PasswordPolicySettings.
  • Commands: php artisan capell:password-policy:doctor, php artisan capell:password-policy:expire-stale, php artisan capell:password-policy:prune-history, php artisan capell:password-policy:require-change, php artisan capell:password-policy:send-expiry-warnings.
  • Install the required Capell packages at the versions in composer.json: capell-app/admin ^1.0.78, capell-app/core ^1.0.78.
  • Run migrations before opening package resources or public routes.

Password Policy settings pagePassword Policy settings page

Forced password change formForced password change form

  • Password Policy settings page (admin).
  • Forced password change form (admin).
  • User table password policy columns and filters (admin).
  • Required packages: capell-app/admin, capell-app/core.
  • Admin navigation: declares admin-page: PasswordPolicyAdminPagesContribution; each Filament page or resource controls its own navigation visibility.
  • Admin/editor extensions: admin-action-extender: PasswordPolicyAdminExtendersContribution.
  • Permissions: View:PasswordPolicySettingsPage; Shield-generated page permissions for Capell\PasswordPolicy\Filament\Pages\PasswordPolicySettingsPage (names and grants depend on host Shield configuration).
  • Public routes: none declared.
  • Database changes: package migrations are declared.
  • Config: config/capell-password-policy.php.
  • Settings: Capell\PasswordPolicy\Settings\PasswordPolicySettings.
  • Queues or schedules: none declared.
  • Cache tags: none declared.
  • Commands: capell:password-policy:doctor, capell:password-policy:expire-stale, capell:password-policy:prune-history, capell:password-policy:require-change, capell:password-policy:send-expiry-warnings.
SymptomLikely causeCheckFix
Package health check reports a problemPackage configuration or runtime dependencies are not readyRun php artisan capell:password-policy:doctorFollow the reported checks, then rerun the doctor command
Package surface is missing after installProvider or manifest is not loadedConfirm capell.json, package composer.json, and provider registrationReinstall the package, refresh Composer autoload, and clear host caches
Admin screen or command fails on missing tablePackage migrations have not runCheck the tables listed in Data ModelRun host migrations and rerun the focused package test

No manual steps between minor versions.

Read CHANGELOG.md before upgrading.