IgniteCore for Perfex CRM By Head Random • 2026-11-26 4:20 PM

Developing for Perfex CRM: Laravel Next 1.0 Modules vs CodeIgniter 4 Dual-Mode on Classic

244.55 ms

Module authors and agencies building Perfex CRM extensions now evaluate two distinct stacks: the official Laravel 13+ and Livewire 4 architecture inside Perfex CRM Next 1.0, or an independent third-party CodeIgniter 4.7.6 Dual-Mode workflow powered by PolyXGO's IgniteCore module on top of Perfex CRM Classic. Because the Perfex CRM team has no plan to bring CI4 to Classic core and Next 1.0 will never load CI3 packages, IgniteCore lets developers adopt PSR-4 CodeIgniter 4 without abandoning existing Classic clients.

Two Modern Extension Models Side by Side

1. Perfex CRM Next 1.0 Module Architecture (Laravel / Livewire)

In Perfex CRM Next 1.0, core capabilities and third-party add-ons share the same modular Laravel structure driven by nwidart/modules on PHP 8.4+:

  • Isolated Package Layout: Modules live in modules/YourModuleName/ with dedicated admin.php and frontend.php routes, Laravel migrations, views, and translations.
  • Builder-Driven Registration: Each module extends ModuleDefinition to register resources, navigation items, permissions, dashboard widgets, and native triggers/actions for Next's visual no-code automation builder.
  • Reactive UI Layer: Screens rely on Livewire 4 Single File Components, requiring Classic CI3 vendors to learn Livewire lifecycles and rewrite 100% of legacy controllers, $this->db queries, and CI3 hooks.
  • Target Market: Customers starting cleanly on Perfex CRM Next 1.0 who accept building or purchasing a brand-new Next-native module ecosystem.

2. CodeIgniter 4 Dual-Mode SDK on Perfex CRM Classic (Third-Party IgniteCore Module by PolyXGO)

Instead of splitting commercial or agency codebases across incompatible repositories, IgniteCore (developed independently by PolyXGO) embeds Zero-Vendor CodeIgniter 4.7.6 inside Classic (modules/ignite_core/) and lets any module expose dual execution paths via modules/{slug}/ignite/manifest.php (schema_version => 1):

  • Strict PSR-4 & PHP 8.2-8.4 Execution: Modern APIs, heavy reports, and custom admin screens run cleanly in modules/{slug}/ignite/ with declare(strict_types=1);, Laminas\Escaper, and Config\Database.
  • 6 Built-In Security & Speed Filters: Routes opt directly into perfexCsrf (timing-safe hash_equals() cookie parity), staffAuth, staffCan:capability,feature, clientAuth, apiAuth, and sessionReadOnly (eliminates PHP session blocking on concurrent AJAX requests).
  • Zero Lock-In for Customers: If a customer site has IgniteCore enabled, routes in manifest.php accelerate on CI4 (234.4 ms admin, 84.8 ms stateless API, 2.00 MB peak RAM). If IgniteCore is absent or turned off, the exact same ZIP module still installs and functions cleanly on stock Classic CI3.
  • CLI Scaffolding & Auto-Quarantine: Developers scaffold dual-mode modules in seconds with php modules/ignite_core/spark ignite:make-module <slug>, and production sites gain automatic protection if 3 HTTP 500+ errors occur within 300 seconds.

Developer Decision Matrix: Next 1.0 Laravel vs CI4 Dual-Mode SDK

Module Engineering

Comparing Official Next 1.0 Laravel Modules against Dual-Mode CI4 Modules on Classic

Engineering Factor
Official Next 1.0 Laravel Module
Laravel 13+ / Livewire 4
IgniteCore Dual-Mode CI4 on Classic (Third-Party by PolyXGO) Dual-Mode
CI4 + CI3 Fallback
Target Customer Installation Perfex CRM Next 1.0 only Every Perfex CRM Classic site (accelerates when IgniteCore active, runs CI3 fallback elsewhere)
Rewrite Cost from Existing CI3 100% clean rewrite into Laravel / Livewire 4 Incremental migration: shift heavy routes/APIs step by step while keeping CI3 models & hooks
UI & Framework Skills Needed Laravel 13+, Livewire 4 SFCs, PHP 8.4+ Standard CodeIgniter 4 PSR-4 MVC + existing Perfex HTML/JS/Bootstrap or Tailwind views
Hosting & Composer Needs Composer/Laravel 8.4+ environment Zero-Vendor CI4 4.7.6; works on shared hosting and VPS without Composer
CRM Event Hooks (hooks()->) Native Next events + visual automation triggers CI4 services emit domain events relayed safely to CI3 hooks()->do_action() via Cron Event Outbox
Failure Recovery on Customer Site Standard Laravel exception handling / manual fix Built-in 5-Layer Circuit Breaker & Auto-Quarantine falls back automatically to CI3

Recommended Workflow for Agencies & CodeCanyon Authors

  1. Audit Active Classic Portfolio First: Use IgniteCore's built-in 0-100 Module Compatibility Scanner to surface PHP 8.2/8.3/8.4 deprecations across installed Classic extensions.
  2. Adopt Dual-Mode Architecture for Immediate ROI: Move heavy reporting endpoints, REST APIs, and webhook ingestors into modules/{slug}/ignite/ to cut server execution latency by 32% to 75% and peak RAM by 50% across existing Classic clients today.
  3. Track Next 1.0 Readiness Separately: Plan clean Laravel/Livewire 4 rewrites only for new Next 1.0 greenfield demand rather than blocking current Classic clients on a multi-month migration.

Frequently Asked Questions

Can one module codebase run on both Perfex CRM Classic and Perfex CRM Next 1.0? No. Classic runs CodeIgniter 3 (or CodeIgniter 4 via IgniteCore) while Next 1.0 runs Laravel and Livewire, so UI components, routing, and service registration differ fundamentally. Shared domain logic or API specs can inform both, while IgniteCore's Dual-Mode SDK lets one Classic module support both plain CI3 and CI4-accelerated Classic installs.

How do CodeIgniter 4 routes inside IgniteCore share permissions with Classic modules? Using IgniteCore's staffAuth and staffCan:capability,feature filters backed by PerfexAuthService, CI4 controllers enforce the exact roles and capabilities configured in Perfex CRM's tblstaff_permissions database table.

What happens when a Classic customer installs a Dual-Mode module without IgniteCore? Because modules/{slug}/ignite/ is discovered dynamically only when IgniteCore is active, plain Perfex CRM Classic sites ignore that subfolder safely and execute standard CI3 module files with zero errors.

On-demand engineering support: HeadRandom offers custom rewriting of Perfex Classic modules onto Perfex CRM Next 1.0 (Laravel) with ETL scripts, as well as porting existing third-party modules to run on IgniteCore CodeIgniter 4.

Related Technical Guides

HeadRandom Perfex CRM Engineering

Need a Custom Perfex CRM Module, Bug Fix, or CodeIgniter 4 Upgrade?

Avoid broken updates, PHP 8.2-8.4 errors, and risky core edits. HeadRandom provides custom Perfex CRM module development, upgrade, and bug-fixing services for any third-party or custom module on your Perfex CRM installation, plus upgrading Perfex CRM from CodeIgniter 3 to CodeIgniter 4 via IgniteCore for Perfex CRM.

Build, Upgrade & Fix Any Perfex CRM Module

Develop new custom modules from scratch, patch bugs or hook conflicts on existing client modules, and update legacy code for clean PHP 8.2-8.4 compatibility with zero core file hacks. View Perfex CRM module development scope.

CodeIgniter 3 to CodeIgniter 4 via IgniteCore

Migrate your Perfex CRM runtime to CodeIgniter 4 (4.7.6) using IgniteCore for Perfex CRM (independent module by HeadRandom) with Dual-Mode CI3 fallback, 32% to 75% lower latency, 50% less RAM, and custom CI4 porting for third-party modules. See CI3 to CI4 upgrade options.

40+ Commercial Modules Published100% Zero Core File Edits0 High Security Audit GateTransparent Pricing from $39

Combine 2+ HeadRandom services (Custom Module, IgniteCore CI4 Upgrade, or Website Care) to save 30% automatically.