dejwcake / admin-auth
Authentication interface for brackets/admin-ui
Installs: 627
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 21
Type:project
pkg:composer/dejwcake/admin-auth
Requires
- php: ^8.2
- dejwcake/admin-ui: ^1.0
- dejwcake/craftable-media: ^1.0
- illuminate/support: ^12.0
- spatie/laravel-permission: ^6.15
Requires (Dev)
- larastan/larastan: ^3.1
- mockery/mockery: ^1.6
- orchestra/testbench: ^10.0
- phpunit/phpunit: ^11.5.9
This package is auto-updated.
Last update: 2026-01-17 21:13:17 UTC
README
Admin Auth is a Laravel package that handles authentication for the Craftable admin interface in your application. It supports:
- Authenticating admin users (login and logout)
- Handling admin password resets
- Activating new admin accounts
Provided functionality is ready to use – package exposes a set of routes, it has controllers and views (based on dejwCake/admin-ui admin template).
This package is part of Craftable (dejwCake/craftable), an administration starter kit for Laravel 12. Forked from Craftable (brackets/craftable).
You can find full documentation at https://docs.getcraftable.com/#/admin-auth
Issues
Where do I report issues? If something is not working as expected, please open an issue in the main repository https://github.com/dejwCake/craftable.
How to develop this project
Composer
Update dependencies:
docker compose run -it --rm test composer update
Composer normalization:
docker compose run -it --rm php-qa composer normalize
Run tests
Run tests with pcov:
docker compose run -it --rm test ./vendor/bin/phpunit -d pcov.enabled=1
To switch between postgresql and mariadb change in docker-compose.yml DB_CONNECTION environmental variable:
- DB_CONNECTION: pgsql
+ DB_CONNECTION: mysql
Run code analysis tools (php-qa)
PHP compatibility:
docker compose run -it --rm php-qa phpcs --standard=.phpcs.compatibility.xml --cache=.phpcs.cache
Code style:
docker compose run -it --rm php-qa phpcs -s --colors --extensions=php
Fix style issues:
docker compose run -it --rm php-qa phpcbf -s --colors --extensions=php
Static analysis (phpstan):
docker compose run -it --rm php-qa phpstan analyse --configuration=phpstan.neon
Mess detector (phpmd):
docker compose run -it --rm php-qa phpmd ./src,./install-stubs,./lang,./resources,./routes,./tests ansi phpmd.xml --suffixes php --baseline-file phpmd.baseline.xml