Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Complete Guide to The Framework v5.0.1

Home • Documentation • Get Started


✨ New in v5.0.1 (The Fluent DX Update):

  • 🛠️ Clean Architecture: Framework internal controllers moved to App\Internal.
  • 🚀 Fluent Helpers: Modern view(), redirect(), json(), and flash() syntax.
  • 🎨 Cleaner Controllers: Expressive return types without redundant imports.
  • TFWire 2.0: New Facade, Plugins, and State Encryption for components.
  • 🧪 Component Testing: High-performance fluent testing API for TFWire.
  • 🛠️ Artisan make: New make:command and make:component generator.

📖 Table of Contents

🚀 Getting Started

  1. Introduction - What is The Framework?
  2. 5-Minute Quick Start - Get up and running fast ⚡
  3. Installation - Setup your first project
  4. Configuration - Environment variables
  5. Structure - Project folder structure
  6. Providers - Service providers and container binding
  7. Services - Business logic encapsulation (Thin Controllers)
  8. Routing - Defining routes and parameters
  9. Deployment - Deploy to production

💻 The Basics

  1. Views & Blade - Template engine
  2. Blade Engine - Custom directives & initialization ⭐ NEW
  3. Session Manager - Secure session, flash data ⭐ NEW
  4. Security - CSRF, XSS, WAF
  5. Encryption - AES-256 data protection ⭐ NEW
  6. Validation - Input validation

🗄️ Database

  1. Database - Query Builder & connections
  2. Database Engine (Advanced) - PDO wrapper, transactions & savepoints ⭐ NEW
  3. Migrations - Database version control
  4. Schema Builder - Column types, indexes & introspection
  5. ORM & Models - Eloquent-like ORM
  6. Relationships - Model relations
  7. Query Builder - Advanced queries

✨ New in v5.0.1:

🔧 Advanced Topics

  1. Architecture - MVC pattern
  2. Middleware - HTTP middleware
  3. DI Container - Dependency Injection & auto-wiring ⭐ NEW
  4. Logging - Multi-channel logging system ⭐ NEW
  5. Cache - Caching system
  6. Helpers: Global functions, TFWire integration ⭐
  7. Utility Classes: Arr, Str, Collection ⭐
  8. CRUD Trait - Auto CRUD via Trait ⭐ NEW
  9. Performance - Caching & optimization
  10. Testing - Unit & feature tests
  11. Localization - Multi-language
  12. Docker - Containerization
  13. Error Handling - Standard Patterns
  14. Rate Limiting - Brute-force protection

🌐 Unique Features

  1. Web Command Center - Manage without SSH ⭐
  2. Tinker (Interactive Shell) - Debug code live (CLI & Web) 💻
  3. Artisan CLI Engine - Command-line tools v5 ⭐
  4. Console Engine - BaseCommand, 41 commands & stubs ⭐ NEW
  5. Queue System - Background jobs
  6. SEO & Sitemap - Search engine optimization
  7. Email Handler - SMTP & Queue sending ⭐
  8. Upload Handler - Auto-WebP & Resize Engine ⭐
  9. ⚡ TFWire 2.0 - Turbo-Powered Components & Plugins (NEW)
  10. 🧪 Component Testing - 10x Faster UI Tests (NEW)

📝 Tutorials

  1. Build a Blog - Complete tutorial
  2. API Development - REST API guide
  3. Authentication - User login system

Introduction

What is The Framework?

The Framework is a modern PHP framework built with a unique mission: make professional web development accessible to everyone, including developers who can only afford free shared hosting.

Philosophy

🎯 Simplicity First    - Easy to learn, powerful to use
🌍 Universal Access    - Works on ANY hosting
🛡️ Security by Default - Production-ready from day one
📚 Well Documented     - Comprehensive guides

Why Choose The Framework?

Compared to Laravel

Feature Laravel The Framework
Shared Hosting ❌ Needs VPS ✅ Works perfectly
Learning Curve Medium-High Low-Medium
Performance Heavy Lightweight
SSH Required Yes (artisan) No (Web Command Center)
Syntax Laravel Laravel-like
Documentation Excellent Comprehensive

Compared to CodeIgniter

Feature CodeIgniter 4 The Framework
Modern PHP ✅ PHP 8.1+ ✅ PHP 8.3+
ORM Quality Basic Eloquent-like
Security Good Excellent (WAF built-in)
Web Management ❌ No ✅ Web Command Center
Blade Templates ❌ No ✅ Yes

System Requirements

PHP      >= 8.3
MySQL    >= 5.7 (or MariaDB >= 10.2)
Composer >= 2.0

Extensions Required:

  • PDO PHP Extension
  • Mbstring PHP Extension
  • OpenSSL PHP Extension
  • JSON PHP Extension
  • Ctype PHP Extension

Quick Example

// routes/web.php
Router::get('/hello/{name}', function($name) {
    return view('hello', ['name' => $name]);
});

// resources/views/hello.blade.php
<!DOCTYPE html>
<html>
<head>
    <title>Hello {{ $name }}</title>
</head>
<body>
    <h1>Hello, {{ $name }}!</h1>
</body>
</html>

Visit /hello/World → See "Hello, World!"


Next Steps

For Beginners

  1. 📖 Read Installation Guide
  2. 🎓 Follow Blog Tutorial
  3. 🔍 Explore Routing

For Intermediate

  1. 🗄️ Master Database
  2. 🔐 Learn Security
  3. 🚀 Optimize Performance

For Advanced

  1. 🏗️ Understand Architecture
  2. 🧪 Write Tests
  3. 🚢 Deploy Production

Need Help?


Version Guide

Version Status PHP Release Date End of Life
5.0.1 Current 8.3+ Feb 2026 Feb 2028
5.0.1 ✅ Supported 8.3+ Feb 2026 Feb 2028
5.0.0 ✅ Supported 8.3+ Jan 2026 Jan 2028
3.x ❌ End of life 8.1+ - -

Always use the latest version for security patches!


Made with ❤️ in Indonesia

Back to TopMain READMEGitHub