PHPackages                             vrainsietech/vrtmvc - 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. vrainsietech/vrtmvc

ActiveLibrary[Framework](/categories/framework)

vrainsietech/vrtmvc
===================

Vrainsie Tech Model View Controller.

v1.0.3(1y ago)04MITPHPPHP &gt;=7.4

Since Feb 5Pushed 1y ago1 watchersCompare

[ Source](https://github.com/VrainsieTech/VrtMvc)[ Packagist](https://packagist.org/packages/vrainsietech/vrtmvc)[ RSS](/packages/vrainsietech-vrtmvc/feed)WikiDiscussions main Synced today

READMEChangelog (6)Dependencies (1)Versions (7)Used By (0)

VrtMvc
======

[](#vrtmvc)

Vrainsie Tech Model View Controller Library

VrtMVC
======

[](#vrtmvc-1)

Overview
--------

[](#overview)

VrtMVC is a simple yet powerful and robust PHP framework that follows the MVC architecture. It provides a solid foundation for developers, eliminating the need to start projects from scratch.

### Why VrtMVC?

[](#why-vrtmvc)

Many startups and upcoming developers want to follow the DRY (Don't Repeat Yourself) principle. However, repeatedly starting projects from the ground up is time-consuming. While frameworks like Laravel are great, they may be too heavy for simpler projects. **VrtMVC** provides a lightweight yet feature-rich alternative, allowing users to start at 65% completion.

---

Features
--------

[](#features)

- **Supports RESTful APIs**
- **Built-in Authentication** (Login, Register, Password Reset)
- **Custom Templating Engine**
- **Command-Line Interface (CLI)**
- **Lightweight SQLite for Development Testing**

---

Installation &amp; Setup
------------------------

[](#installation--setup)

### Requirements

[](#requirements)

- **PHP 7 or Higher**
- **Composer** (for dependency management)
- **PDO &amp; MySQL extensions** (Recommended, but not needed)

### Installation Steps

[](#installation-steps)

1. Install via Composer: ```
    composer create-projecct vrainsietech/vrtmvc my-new-project
    ```
2. Run the installation script: ```
    ./install
    ```

    Follow the prompts to configure your project.
3. Configure the database:
    - Default: **SQLite** for development
    - Production: **MySQL** (recommended, but not required)
4. Project Structure:
    - Add controllers to `src/Controllers`
    - Add views to `src/Views`
    - Place public assets in the `public/` folder

---

Usage
-----

[](#usage)

### Basic "Hello World" Example

[](#basic-hello-world-example)

1. Generate a new view, controller, and route: ```
    ./vrtcli make:view helloworld -r
    ```
2. Start the development server: ```
    ./vrtcli serve
    ```
3. Open a browser and visit: ```
    http://localhost:8000/helloworld

    ```

    You should see: ```
    Hello, I am from helloWorld

    ```

### Routing

[](#routing)

VrtMVC has a built-in router. To define routes, edit `routes/web.php`. Default routes are already included for customization.

---

Configuration
-------------

[](#configuration)

- Initial setup happens during `./install`, which creates a `.env` file.
- Modify settings dynamically: ```
    config::database(DB_CONNECTION='mysql');
    ```

    OR manually edit `.env` and the `config/` directory.

---

Framework Architecture
----------------------

[](#framework-architecture)

VrtMVC follows the MVC structure:

- **Model**: Manages data and database interactions.
- **View**: Handles presentation logic.
- **Controller**: Acts as a middleman between Model and View.

The framework has its own **HTTP logic** to handle requests and responses efficiently. It follows **convention over configuration** to simplify development.

---

Security
--------

[](#security)

- **CSRF Protection**
- **XSS Prevention**
- **SQL Injection Protection**
- **Middleware for Authentication &amp; Authorization**

---

Extensibility
-------------

[](#extensibility)

- Extend VrtMVC with additional packages.
- Compatible with third-party libraries.

---

Deployment
----------

[](#deployment)

- Can be deployed on **any web server**.
- Supports **shared hosting**.
- **PWA-ready**: Easily convertible to **TWA** for native Android apps or **Electron** for desktop applications.

---

Contribution
------------

[](#contribution)

- Contributions are welcome on **GitHub**.
- Submit **pull requests** and report **issues**.

---

License
-------

[](#license)

VrtMVC is open-source and licensed under the **MIT License**.

---

Support
-------

[](#support)

For support, contact ****. A community platform (e.g., Discord/Telegram) will be created soon!

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance40

Moderate activity, may be stable

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~0 days

Total

6

Last Release

513d ago

Major Versions

0.1.1 → 1.0.02025-02-06

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/75120080?v=4)[Vickessy Rainson](/maintainers/VrainsieTech)[@VrainsieTech](https://github.com/VrainsieTech)

---

Top Contributors

[![VrainsieTech](https://avatars.githubusercontent.com/u/75120080?v=4)](https://github.com/VrainsieTech "VrainsieTech (86 commits)")

### Embed Badge

![Health badge](/badges/vrainsietech-vrtmvc/health.svg)

```
[![Health](https://phpackages.com/badges/vrainsietech-vrtmvc/health.svg)](https://phpackages.com/packages/vrainsietech-vrtmvc)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.8k543.8M20.1k](/packages/laravel-framework)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[doppar/framework

The Doppar Framework

4012.4k14](/packages/doppar-framework)[lion/bundle

Lion-framework configuration and initialization package

122.3k4](/packages/lion-bundle)

PHPackages © 2026

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