rohitkumarinc/puniya-mvc

There is no license information available for the latest version (dev-main) of this package.

dev-main 2024-10-17 08:59 UTC

This package is auto-updated.

Last update: 2025-07-17 10:29:26 UTC


README

Puniya MVC is a lightweight and modular PHP framework designed to facilitate the development of web applications using the MVC (Model-View-Controller) architecture. It aims to provide developers with a structured and efficient way to build dynamic web applications with ease.

Features

  • MVC Architecture: Organizes your code into Models, Views, and Controllers for better separation of concerns.
  • Routing: Simple and intuitive routing system to manage URL requests easily.
  • Database Abstraction: Built-in support for database interactions using PDO for secure and efficient database queries.
  • Template Engine: Lightweight templating engine to create dynamic HTML views.
  • Error Handling: Comprehensive error handling for debugging and user-friendly error messages.

Installation

To install and set up Puniya MVC, follow these steps:

  1. Create a new project using Composer:

    composer create-project rohitkumarinc/puniya-mvc aaa --stability dev
    
  2. Navigate to the project directory:

    cd aaa
    
  3. Configure your database settings in the .env file.

  4. Start your local development server:

    php -S localhost:8000 -t public
    
  5. Open your browser and visit http://localhost:8000 to see the application in action.