dejwcake / admin-ui
Administration user interface template
Requires
- php: ^8.5
- arondeparon/laravel-request-sanitizer: ^6.2
- illuminate/support: ^13.0
- intervention/image-laravel: ^1.5.7
- spatie/image-optimizer: ^1.8
Requires (Dev)
- larastan/larastan: ^3.9
- mockery/mockery: ^1.6
- orchestra/testbench: ^11.1
- phpunit/phpunit: ^13.1
This package is auto-updated.
Last update: 2026-05-04 15:15:34 UTC
README
Admin UI is an administration template for Laravel 13. It provides a ready-to-use admin layout and a set of basic UI elements to quickly build administration areas such as CMSs, e-shops, and back-office panels.
Here’s an example of an administration interface built with this package:
This package is part of Craftable (dejwCake/craftable), an administration starter kit for Laravel 13, forked from Craftable (brackets/craftable).
Documentation
You can find the full documentation at https://docs.getcraftable.com/#/admin-ui
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 regenerate snapshots use:
docker compose run -it --rm test ./vendor/bin/phpunit -d pcov.enabled=1 -d --update-snapshots
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 ./config,./database,./install-stubs,./lang,./resources,./routes,./src,./tests ansi phpmd.xml --suffixes php --baseline-file phpmd.baseline.xml