Skip to content
/ App Public

Simple and minimal yet another PHP 7 Framework

License

Notifications You must be signed in to change notification settings

yidemir/App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DemirApp Minimal PHP Framework

Introduction

Simple and minimal yet another PHP 7 Framework

Features

  • Simple routing
  • Simple container (Dependency Injection)
  • Flash messages
  • Simple JSON response
  • Simple middleware system
  • Resource routes
  • Native PHP templating system
  • and much more

Documentation is coming soon.

Türkçe dökümantasyona buradan ulaşabilirsiniz.

Installation

The recommended way to install is via Composer:

composer require yidemir/app

and start coding:

<?php

use Demir\App;

require 'vendor/autoload.php';

App::get('/', function(){
  return App::render('home');
});

App::run();

Or download from relases page.

<?php

use Demir\App;

require 'src/App.php';

App::get('/', function(){
  echo 'Hello world!';
});

App::run();

Test

composer test