A modern PHP backend framework for secure and modular applications.
- Introduction
- Core Features
- Getting Started
- Installation
- Publish Your First Content
- Project Structure
- Request & Response
- Importing Contents
- Menu, Routing & Navigation
- Working with Modules
- Auth & Classes
- Security Features
- Development Conventions
- Contributing Guides
Lifetech OCMS is a PHP framework designed with security, modularity, and performance in mind. It includes:
- DDM Encryption: Secure deployment by encrypting source code.
- LW-Token System: Secure authentication.
- Modular Structure: Separate themes, modules, and plugins.
- Model-View-Controller (MVC) Architecture
- Data Defacing Model (DDM) for Security
- LW-Token System for Authentication
- Maplite Query Builder for Database Operations
- Custom Jlon Data Format
- Frontend Flexibility (React, Vue, Angular, etc.)
- Download via GitHub
git clone https://github.com/lifetechOCMS/lifetechocms.git
- Installing via Composer
composer create-project lifetechocms/lifetechocms "your-project-name"
- locate your folder terminal
php lt start
if you want specific port number then
php lt start "your-port-number"
The framework structure can be found on Project struture
Learn more on LtRequest and LtResponse
Learn more on LtRouting and LtNavigation
LifetechOCMS uses a custom import function called ltImport() to load files such as models, controllers, helpers, or other PHP resources from a module. This design promotes modularity, security, and clean architecture by keeping each module self-contained.
🧠 Syntax
ltImport('ModuleName', 'FileName.ext');
🔍 Example
ltImport('mdPosProduct', 'TbProduct.php');
This loads the TbProduct.php file from the appropriate directory within the mdPosProduct module, depending on its registered type in the database.
📁 Import Target Order
The ltImport() function checks the database for the file's registration and determines its directory by the following MVC type:
MVC_TYPE : service / controller / Model / View
The search respects the module structure and includes the file accordingly.
While ltImport() functions similarly to a namespace-based loader, it provides additional features tailored to LifetechOCMS, such as:
✅ Acts like a namespace-based importer for organizing files across modules
🔐 Handles internal runtime code decryption using the Data Defacing Model (DDM)
🔎 Ensures secure inclusion based on database-registered module structure
🔄 Works uniformly across controllers, models, services, and view logic
In short, ltImport() combines the organizational benefits of namespaces with enhanced runtime security and modular loading control.
- Download via GitHub
git clone https://github.com/lifetechOCMS/lifetechocms.git