bhshawon/elomelo

A simple PHP MVC framework

Installs: 6

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:project

pkg:composer/bhshawon/elomelo

dev-master 2018-04-06 15:36 UTC

This package is not auto-updated.

Last update: 2020-01-04 09:46:34 UTC


README

An experimentary PHP framework.

elomelo

Requirements

  • Composer
  • Apache Server

Installation

  • Clone this repository.
  • Run composer install on terminal from project directory.

Framework Structure

Controllers

Ideally, Controllers should live at App/Controllers directory. Controllers extends Core/Controller class.

Public methods

  • view($view, $data=[]) Renders a twig view with given data.
  • redirect($url) Redirects to given url.

Models

Eloquent ORM is used for handling database operations. Thus models are extended from Eloquent models.

Views

Twig is used for rendering views.