PHP Classes

mnTemplate: Route HTTP requests to callback functions

Recommend this page to a friend!
     
  Info   Example   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 32 All time: 11,115 This week: 43Up
Version License PHP version Categories
mntemplate 1Custom (specified...7.4Libraries, Design Patterns, PHP 7
Description 

Author

This package implements a framework route HTTP requests to callback functions.

It allows developers to define router scripts that register callback functions to handle HTTP requests with specific patterns.

The callback functions can set up controller and view classes to process the request and generate the HTTP response.

The package can process the current HTTP request by matching the URL with patterns defined for each defined route URL pattern.

This framework uses templating to load view and simple combination of Codeigniter and Laravel.

Picture of fathurrahman
Name: fathurrahman <contact>
Classes: 1 package by
Country: Indonesia Indonesia

 

Instructions

To use this framework, follow these instructions.

  1. Download and extract the package zip or tar.gz archive or install it with PHP Composer tool
  2. Edit base configuration file config/config.php

Example

<?php
if (!session_id()) session_start();
require_once
'apps/init.php';
new
Apps();


Details

Mini Template

<p>Ini adalah template PHP sederhana yang saya bangun dengan arsitektur MVC </p>


  Files folder image Files (3926)  
File Role Description
Files folder imageapps (1 file, 8 directories)
Files folder imagepublic (1 file, 2 directories)
Files folder imagevendor (2 files, 1 directory)
Accessible without login Plain text file .htaccess Data Auxiliary data
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file composer.lock Data Auxiliary data
Accessible without login Plain text file index.php Example Example script
Accessible without login Plain text file mncli.sh Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 74%
Total:32
This week:0
All time:11,115
This week:43Up