Upgrade and Changelog
Current stabilization notes
This release line focuses on package stabilization and safer defaults.
Changed
Laravel service provider is auto-discovered through Composer metadata.
Default package config no longer references application-specific
App\Adminix\Pagesclasses.adminix:installpublishes config, assets, and optional examples.make:adminix_resourcecreates a starter resource page provider.Save and create controllers derive
dataSource, primary key, and writable fields from server-side module configuration.Search uses
ILIKEonly on PostgreSQL andLIKEon other drivers.Search escapes
LIKEwildcards and caps query length before applying filters.Soft-deleted updates call
withTrashed()only for Eloquent models that useSoftDeletes.Composer package scripts no longer run Laravel app-only Artisan commands from the package root.
Compact Laravel Boost guidelines and skill resources are available for parent projects.
Public asset publishing now includes only Adminix runtime JavaScript and CKEditor 5 runtime files.
Resource
IMAGEfields are writable URL/path inputs; resourceJSONfields are writable textareas.Page catch-all routing is GET-only; save/create operations stay on explicit POST routes.
Stored upload fields reject scalar path submissions on update; upload paths change only through real files or allowed remove checkboxes.
make:adminix_resource --modelrejects invalid PHP class names before dry-run output or file generation.
Compatibility
Supported constraints are declared in composer.json:
PHP
>=8.2;Laravel
^12.0|^13.0;Symfony HTTP Foundation
^6.3|^7.0|^8.0.
CI now only builds and publishes the Writerside documentation pages. Run PHPUnit, coverage threshold checks, and PHP/Laravel compatibility checks locally before release-sensitive upgrades.
Upgrade checklist
Run
composer update alex-kudrya/adminix.Publish new assets with
php artisan adminix:install --force.If your app published assets before v2.0.7, remove stale
public/js/adminix/ckeditorandpublic/css/adminix/ckeditor.cssafter republishing.Check
config/adminix.php; explicitly configurepages. Emptymenu.linksis valid for initial setup.Keep
no_auth_accessdisabled outside local/demo environments.Run your application test suite around Adminix CRUD pages and modal forms.