New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

dejwcake/admin-auth

Authentication interface for brackets/admin-ui
1,421
Install
composer require dejwcake/admin-auth
Latest Version:2.1.0
PHP:^8.5
Laravel:13
Older releases:10 · 12
License:MIT
Last Updated:Oct 23, 2026
Links: GitHub  ·  Packagist
Maintainer: dejwCake

Admin Auth

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).

Admin login form

This package is part of Craftable (dejwCake/craftable), an administration starter kit for Laravel 13. 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 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

Regenerate the phpstan baseline:

docker compose run -it --rm php-qa phpstan analyse --configuration=phpstan.neon --generate-baseline=phpstan-baseline.neon

Mess detector (phpmd):

docker compose run -it --rm php-qa phpmd analyze

Regenerate the phpmd baseline:

docker compose run -it --rm php-qa phpmd analyze --generate-baseline

Run tests

Run tests against mariadb:

docker compose run -it --rm -e DB_CONNECTION=mariadb test ./vendor/bin/phpunit

Run tests against postgresql:

docker compose run -it --rm -e DB_CONNECTION=pgsql test ./vendor/bin/phpunit

Run tests with coverage:

docker compose run -it --rm test ./vendor/bin/phpunit --coverage-text

Run the whole PHP suite

Run every PHP check and the test suite against both databases in sequence (stops at the first failure):

docker compose run -it --rm test composer update \
  && docker compose run -it --rm php-qa composer normalize \
  && docker compose run -it --rm php-qa phpcs --standard=.phpcs.compatibility.xml --cache=.phpcs.cache \
  && docker compose run -it --rm php-qa phpcs -s --colors --extensions=php \
  && docker compose run -it --rm php-qa phpstan analyse --configuration=phpstan.neon \
  && docker compose run -it --rm php-qa phpmd analyze \
  && docker compose run -it --rm -e DB_CONNECTION=mariadb test ./vendor/bin/phpunit \
  && docker compose run -it --rm -e DB_CONNECTION=pgsql test ./vendor/bin/phpunit

Related Packages

brackets/admin-auth

Authentication interface for brackets/admin-ui

264,451 7
socialh4ck/google-oauth

Laravel Authentication for Google OAuth authentication

138 0
sarav/laravel-multiauth

A Simple Laravel Package for handling multiple authentication

31,499 50
webx-ui/module-auth

Administrators, roles and sign-in for a WebX UI admin panel — kept separate from...

2,055 0
themonkeys/laravel-google-auth

Laravel Authentication Driver for Google OAuth authentication

1,863 43

Version History

Version Released PHP Laravel License
2.1.0 ^8.5 ^13.0 MIT
2.0.4 ^8.5 ^13.0 MIT
2.0.3 ^8.5 ^13.0 MIT
2.0.2 ^8.5 ^13.0 MIT
2.0.1 ^8.5 ^13.0 MIT