Files
upstream-krayin/UPGRADE.md
upstream-mirror 135ffdb085
Some checks failed
Admin | Playwright Tests / Admin | Playwright Tests | Shard 1 Of 6 (push) Failing after 37s
Admin | Playwright Tests / Admin | Playwright Tests | Shard 2 Of 6 (push) Failing after 7s
Admin | Playwright Tests / Admin | Playwright Tests | Shard 4 Of 6 (push) Failing after 7s
Admin | Playwright Tests / Admin | Playwright Tests | Shard 6 Of 6 (push) Failing after 6s
Linting Tests / PHP 8.3 test on ubuntu-latest (push) Failing after 5s
CI / PHP 8.3 test on ubuntu-latest (push) Failing after 6s
Skills Consistency / validate-skills (push) Successful in 10s
Admin | Playwright Tests / Admin | Playwright Tests | Shard 3 Of 6 (push) Failing after 7s
Admin | Playwright Tests / Admin | Playwright Tests | Shard 5 Of 6 (push) Failing after 6s
snapshot of https://github.com/krayin/laravel-crm.git (2.2, 2026-09-18; blobs > 131072B omitted)
2026-09-18 04:37:41 +05:00

1.7 KiB

UPGRADE Guide

High Impact Changes

Upgrading To v2.2 From v2.1

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.

Updating Dependencies

Impact Probability: High

PHP 8.3 Required

Krayin CRM v2.2 now requires PHP 8.3 or greater.

Laravel 12 Upgrade

Impact Probability: High

Krayin CRM v2.2 has been upgraded to Laravel 12, which introduces stricter type checking and modernized date/time handling.

Key Changes

  • Bootstrap: bootstrap/app.php now uses the new Application::configure() builder pattern. Service providers are listed in bootstrap/providers.php.

  • Kernels Removed: app/Http/Kernel.php and app/Console/Kernel.php are removed. Middleware and scheduling are configured in bootstrap/app.php and routes/console.php respectively.

  • Exception Handler Removed: app/Exceptions/Handler.php is removed. Exception handling is configured in bootstrap/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, and BroadcastServiceProvider are removed. Their logic is handled in bootstrap/app.php or AppServiceProvider.

  • Config: config/app.php no longer contains providers or aliases arrays.

  • doctrine/dbal dependency has been removed (native column modification in Laravel 12).