khokonc/chandra

There is no license information available for the latest version (v1.6) of this package.

v1.6 2023-06-09 13:42 UTC

This package is auto-updated.

Last update: 2024-05-09 15:42:28 UTC


README

PHP Micro Framework (MVC)

Developed By Khokon-Chandra

Developed using OOP PHP && MySql.

Installation:

  1. Run Command:
composer create-project khokonc/chandra myproject
  1. create a database (mysql)
  2. Copy .env.example as .env . And Update Environment variable
APP_NAME=Chandra
APP_DEBUG=true
APP_KEY=KD83475JSFL9859H6LJ09Q34JF156446T42
APP_URL=http://localhost:8000

DB_PORT=3306
DB_HOST=localhost
DB_NAME=chandra
USER_NAME=root
PASSWORD= 
hostname , database name, user and passwordl. also APP_URL<br>

import

 users.sql

file to your database

  1. run the local server php -S localhost:8000
php -S localhost:8000 -t=public

6.finaly goto the browser.

Features

** Models library like eloquent orm
** View library like (blade template)
** Controllers Library
** User Request Maintanance
** Middleware
** Exception for Error Handling.
** Session Management.
** Helpers function

I have implemented PDO library for database query. It's very secure and protect from sql injection.