phphrame/phphrame

A modern, lightweight PHP MVC framework designed to streamline web development while leveraging the power of Object-Oriented Programming.

Maintainers

Package info

github.com/maze-sos/phphrame

Type:project

pkg:composer/phphrame/phphrame

Statistics

Installs: 10

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

v1.0.1 2024-12-04 16:51 UTC

This package is auto-updated.

Last update: 2026-03-04 20:39:32 UTC


README

Introduction

PHPhrame is a modern, lightweight PHP MVC (Model-View-Controller) framework designed to streamline web development while leveraging the power of Object-Oriented Programming (OOP). Built with simplicity, flexibility, and scalability in mind, PHPhrame supports PHP 8 and above, offering tools and features tailored to modern developer needs.

Key Features

Developer-Friendly Tools

  • Command Line Tools: Streamline tasks such as project setup, routing, and database migrations.
  • Composer Installation: Easily install the framework using composer.

Simplified MVC Architecture

  • Controller-Based Routing: Map URLs to controllers effortlessly with minimal configuration.
  • Pre-Coded Templates: Includes ready-to-use controllers and views for Welcome, Login, Signup, Logout, and 404 error pages.

Built-in Functionality

  • In-Built Functions & Validations: Reduce dependency on external libraries with essential utilities out-of-the-box.
  • Pagination, Request, and Session Models: Handle common tasks with ease.

Security & Maintainability

  • Session Management: Ensure secure handling of user sessions.
  • App Folder Security: Protect sensitive files from unauthorized access.
  • Namespaces: Organize code and prevent naming conflicts, ensuring scalability.

PHP 8+ Ready

  • Take advantage of the latest language features and performance improvements.

Enhanced Debugging

  • Error Display: Debug effectively with detailed error messages displayed in the browser.

Why PHPhrame?

Addressing Developer Pain Points

Existing frameworks often overwhelm developers with unnecessary complexity or lack key features. PHPhrame provides a lightweight yet feature-rich solution, catering to developers of all skill levels.

Originality

PHPhrame balances simplicity and functionality by integrating:

  • Built-in tools and utilities
  • Secure, scalable architecture
  • Compatibility with the latest PHP features

Technology Stack

  • Programming Language: PHP 8.x
  • Database: MySQL
  • Development Tools: DomainKing, Git, Composer

Getting Started

Installation

  1. Via Composer:

    composer create-project phphrame/phphrame newproject

    Replace "newproject" in the command with your actual project name

  2. Manually Download:

Documentation (https://www.phphrame.com.ng/documentation)

Comprehensive documentation is available to guide developers through:

  • Framework setup and configuration
  • MVC architecture and routing
  • Database migrations
  • Security best practices
  • Usage Documentation

Roadmap

  1. Current Features: Command-line tools, routing, migrations, session management.
  2. Future Plans: Extend third-party integrations, enhance the CLI, and add more pre-built templates.

License

PHPhrame is open-source and available under the MIT License.

Start building your next project with PHPhrame today!