array_map( ?->getCustomer() mysqli_connect( try { PHP 7.4 → 8.5 #[\ReturnTypeWillChange] use Psr\Log\Logger <?php str_contains($path, '/v2') $this->logger->error( fn($x) => $x * 2 PHP 7.4 → 8.5 $result |> trim(...) } catch (\Throwable $e) { public function __construct( public function __construct( static fn(): never namespace App\Billing; try { fn($x) => $x * 2 str_contains($path, '/v2') namespace App\Billing; PHP 7.4 → 8.5 session_start(); SELECT * FROM orders public string $name { get; } fn($x) => $x * 2 declare(strict_types=1); use Psr\Log\LoggerInterface; array_map( PHP 7.4 → 8.5 <?php public string $name { get; } mysqli_connect( session_start(); PHP 7.4 → 8.5 ?->getCustomer() opcache.enable=1 random_bytes(32) E_DEPRECATED opcache.enable=1 try { E_DEPREC E_DEPRECATED enum Status: string opcache.enable=1 <?php array_map( match ($status) { composer require mysqli_connect( namespace App\Billing; composer require match ($status) { <?php public function __construct( readonly class Money final class Invoice str_contains($path, '/v2') str_contains($path, '/v2') readonly class Money str_contains($path, '/v2') session_start(); composer require #[\ReturnTypeWillChange] $result |> trim(...) namespace App\Billing; array_map( ?-> return $this; match ($status) { use Psr\Log\LoggerInterface; json_validate($body) public string $name { get; } mysqli_connect( try { session_start(); array_map( readonly class Money $result |> trim(...) $result |> trim(...) private readonly int $id, namespace App\Billing; enum Status: string array_map( mysqli_connect( static fn(): never random_bytes(32) array_map( re use Psr\Log\LoggerInterface; PHP 7.4 → 8.5 mysqli_connect( array_map( fn($x) => $x * 2 public function __construct( composer requi public string $name { get; } private readonly int $id, return $this; array_map( <?php #[\ReturnTypeWillChange] $this->logger->error( $this->logger->error( session_start(); session_start(); enum Status: string } catch (\Throwable $e) { private readonly int $id, public string $name { g final class Invoice enum Status: string final class Invoice PHP 7.4 → 8.5 PHP 7.4 → 8.5 PHP 7.4 → 8.5 session_start(); public function __construct( password_hash( final class Invoice mysqli_connect( public function __construct(
array_map( ?->getCustomer() mysqli_connect( try { PHP 7.4 → 8.5 #[\ReturnTypeWillChange] use Psr\Log\Logger <?php str_contains($path, '/v2') $this->logger->error( fn($x) => $x * 2 PHP 7.4 → 8.5 $result |> trim(...) } catch (\Throwable $e) { public function __construct( public function __construct( static fn(): never namespace App\Billing; try { fn($x) => $x * 2 str_contains($path, '/v2') namespace App\Billing; PHP 7.4 → 8.5 session_start(); SELECT * FROM orders public string $name { get; } fn($x) => $x * 2 declare(strict_types=1); use Psr\Log\LoggerInterface; array_map( PHP 7.4 → 8.5 <?php public string $name { get; } mysqli_connect( session_start(); PHP 7.4 → 8.5 ?->getCustomer() opcache.enable=1 random_bytes(32) E_DEPRECATED opcache.enable=1 try { E_DEPREC E_DEPRECATED enum Status: string opcache.enable=1 <?php array_map( match ($status) { composer require mysqli_connect( namespace App\Billing; composer require match ($status) { <?php public function __construct( readonly class Money final class Invoice str_contains($path, '/v2') str_contains($path, '/v2') readonly class Money str_contains($path, '/v2') session_start(); composer require #[\ReturnTypeWillChange] $result |> trim(...) namespace App\Billing; array_map( ?-> return $this; match ($status) { use Psr\Log\LoggerInterface; json_validate($body) public string $name { get; } mysqli_connect( try { session_start(); array_map( readonly class Money $result |> trim(...) $result |> trim(...) private readonly int $id, namespace App\Billing; enum Status: string array_map( mysqli_connect( static fn(): never random_bytes(32) array_map( re use Psr\Log\LoggerInterface; PHP 7.4 → 8.5 mysqli_connect( array_map( fn($x) => $x * 2 public function __construct( composer requi public string $name { get; } private readonly int $id, return $this; array_map( <?php #[\ReturnTypeWillChange] $this->logger->error( $this->logger->error( session_start(); session_start(); enum Status: string } catch (\Throwable $e) { private readonly int $id, public string $name { g final class Invoice enum Status: string final class Invoice PHP 7.4 → 8.5 PHP 7.4 → 8.5 PHP 7.4 → 8.5 session_start(); public function __construct( password_hash( final class Invoice mysqli_connect( public function __construct(
From CodeIgniter 3 to CodeIgniter 4, or somewhere else
CodeIgniter 4 is a rewrite, not an upgrade: namespaces, a new directory structure and a new request lifecycle. We move CodeIgniter 3 applications across in stages, or onto Laravel or Next.js when that is the better future.
Moving to CodeIgniter 4 rewrites the application's skeleton. We plan it like a migration, with both versions running side by side.
Controller by controller
Routes move across one group at a time, each live and reversible, until nothing is left on CodeIgniter 3.
An honest destination
If the application is moving anyway, we compare CodeIgniter 4, Laravel and Next.js on cost and fit before choosing.
What changes from CodeIgniter 3
Enough that copying files across does not work.
Namespaced controllers, models and libraries under a new directory structure
A new request and response lifecycle, with filters in place of hooks
A rewritten database layer and query builder with different return types
Sessions, validation and configuration all with new APIs
A newer minimum PHP version, which forces the runtime upgrade at the same time
How we run it
Two applications, one site, until the old one is empty.
Run CodeIgniter 4 alongside, routing migrated paths to it
Shared sessions and authentication across both during the move
Database code moved and tested model by model
CodeIgniter 3 kept patched under SeaPHP LTS until the last route moves
Common questions
Is CodeIgniter 3 still supported?
It receives limited maintenance and runs on PHP versions that are past end of life in most deployments. Covering the runtime with LTS buys time for the migration.
Would Laravel be better?
Sometimes. If the team is growing, or the application needs queues, events and a large package ecosystem, Laravel is often the better destination. The assessment says which.
Find out what your PHP estate needs
Tell us which versions you run and where. An engineer replies within one business day.