Note
We strive to document every potential breaking change. However, as some of these alterations occur in lesser-known sections of Krayin, only a fraction of them may impact your application.
Impact Probability: High
Krayin CRM v2.2 now requires PHP 8.3 or greater.
Impact Probability: High
Krayin CRM v2.2 has been upgraded to Laravel 12, which introduces stricter type checking and modernized date/time handling.
-
Bootstrap:
bootstrap/app.phpnow uses the newApplication::configure()builder pattern. Service providers are listed inbootstrap/providers.php. -
Kernels Removed:
app/Http/Kernel.phpandapp/Console/Kernel.phpare removed. Middleware and scheduling are configured inbootstrap/app.phpandroutes/console.phprespectively. -
Exception Handler Removed:
app/Exceptions/Handler.phpis removed. Exception handling is configured inbootstrap/app.php. -
Middleware Classes Removed: Built-in middleware wrappers (EncryptCookies, VerifyCsrfToken, TrimStrings, TrustProxies, etc.) are removed. Customizations are now done via
bootstrap/app.php. -
Service Providers Simplified:
AuthServiceProvider,EventServiceProvider,RouteServiceProvider, andBroadcastServiceProviderare removed. Their logic is handled inbootstrap/app.phporAppServiceProvider. -
Config:
config/app.phpno longer containsprovidersoraliasesarrays. -
doctrine/dbal dependency has been removed (native column modification in Laravel 12).