العودة لجميع الأدلة
Guideقراءة في 5 minآخر تحديث: 2026-09

Laravel 12 modular architecture, explained

What 'modules' mean in Laravel white-label codebases, and how to safely extend them without breaking upgrades.

1. Modules are folders, not magic

In Laravel-based FlareVix products, 'modules' usually mean domain folders (Modules/Orders, Modules/Tenant) with their own routes, migrations and services. Extending them means following the package's existing pattern, not the framework default.

2. The upgrade-safe rule

Put your custom code in a new module or a service provider, never edit the vendor-like core files. That's how you keep merging our upstream security patches.

  • Never modify migrations after they ship — add new ones
  • Override config through env, not by editing config files
  • One custom module per business feature keeps upgrades clean

جاهز لإطلاق مشروعك اليوم؟

اختر النظام الأنسب لنشاطك، وسدد 50% فقط عبر InstaPay، وانطلق بهويتك وعلامتك التجارية هذا الأسبوع.

استكشف مكتبة الأنظمة الكاملة