PHPackages                             dotari/php-app - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. dotari/php-app

ActiveProject[Framework](/categories/framework)

dotari/php-app
==============

PHPapp is a lightweight PHP framework designed for quick and efficient web application development. It follows the MVC architecture and provides core components for database interaction, session management, request handling, and more.

1.0.2(7mo ago)051[3 PRs](https://github.com/and-ri/phpapp/pulls)MITPHPPHP ^8.0CI failing

Since Aug 23Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/and-ri/phpapp)[ Packagist](https://packagist.org/packages/dotari/php-app)[ RSS](/packages/dotari-php-app/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (9)Dependencies (5)Versions (15)Used By (0)

PHPapp Framework
================

[](#phpapp-framework)

**PHPapp** is a lightweight PHP framework designed for quick and efficient web application development. It follows the MVC (Model-View-Controller) architecture and provides core components for data management, routing, and user interaction.

> [@and-ri](https://github.com/and-ri): Hello everyone! I am very excited to share with you a version of my PHP framework. Maybe it is far from such giants as Laravel or Yii, but it has become very convenient for me. Especially for quick prototyping and small applications.
>
> I will be happy for any contribution :)

Features
--------

[](#features)

- **MVC Architecture:** Clean separation of concerns with models, views, and controllers to organize code logically.
- **Core Components:** Includes essential libraries for handling sessions, database connections, request processing, and URL routing.
- **Migration System:** Built-in system for managing database schema changes and versioning.
- **Installer:** Interactive installer for quick setup, including `.env` generation, Composer installation, and database migration execution.
- **Easy to Install and Configure:** Minimal setup required for developers to get started quickly.

Requirements
------------

[](#requirements)

- PHP 8+
- A web server (e.g., Apache, Nginx)
- MySQL

Installation
------------

[](#installation)

1. Clone the repository:

    ```
    git clone https://github.com/yourusername/PHPapp.git
    ```
2. Navigate to the project directory:

    ```
    cd PHPapp
    ```
3. Install dependencies:

    ```
    composer install
    npm run build
    ```
4. Run the installer: Open `http://yourdomain.com/installer.php` in your browser and follow the on-screen instructions to set up the database and configuration.
5. Done!

Core Components
---------------

[](#core-components)

### Classes

[](#classes)

- **controller.php**: Handles application logic, loading views and models.
- **model.php**: Manages database interactions and data-related operations.
- **view.php**: Renders views and passes data to the user interface.

### Libraries

[](#libraries)

- **app.php**: Manages the application lifecycle, including initialization and configuration.
- **db.php**: Provides methods for database queries and connection handling.
- **env.php**: Handles environment variables and configuration settings.
- **google\_auth.php**: Handles the Google authentication process for the application.
- **language.php**: Loads and manages language files for multi-language support.
- **load.php**: Loads models and controllers dynamically.
- **pagination.php**: Provides simple pagination functionality.
- **request.php**: Handles incoming HTTP requests.
- **response.php**: Manages HTTP responses and headers.
- **session.php**: Facilitates session management (start, get, set, remove, etc.).
- **staticfile.php**: Serves static files (CSS, JS, images).
- **url.php**: Generates URLs and manages routing.
- **log.php**: Provides centralized logging functionality using Monolog.
- **meta.php**: Manages SEO metadata including page titles, descriptions, Open Graph tags, and robots directives using the Melbahja/Seo package.

### New Features

[](#new-features)

- **Migration System:** Manage database schema changes with ease. Use `php migrate.php migrate` to apply migrations, `php migrate.php rollback` to undo the last migration, and `php migrate.php status` to check migration status.
- **Interactive Installer:** Quickly set up your application by providing database and web configuration details in a user-friendly web installer.
- **Centralized Logging:** Monitor application events, errors, and debugging information using the integrated Monolog-based logging system.
- **SEO Management:** Easily manage page metadata, title tags, Open Graph properties, and other SEO essentials using the integrated meta.php library powered by Melbahja/Seo package.

License
-------

[](#license)

This project is licensed under the MIT License.

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance80

Actively maintained with recent releases

Popularity5

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 98% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~42 days

Total

11

Last Release

210d ago

Major Versions

0.1.5 → 1.0.02025-05-11

### Community

Maintainers

![](https://www.gravatar.com/avatar/d0f4f53defdaa728a223408abe37133423a9359abd08d108cacd25aac759367b?d=identicon)[and-ri](/maintainers/and-ri)

---

Top Contributors

[![and-ri](https://avatars.githubusercontent.com/u/51118083?v=4)](https://github.com/and-ri "and-ri (97 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")[![pnb-web-dev](https://avatars.githubusercontent.com/u/193879102?v=4)](https://github.com/pnb-web-dev "pnb-web-dev (1 commits)")

---

Tags

phpframeworkmvclightweightweb-development

### Embed Badge

![Health badge](/badges/dotari-php-app/health.svg)

```
[![Health](https://phpackages.com/badges/dotari-php-app/health.svg)](https://phpackages.com/packages/dotari-php-app)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
