Simple and minimal yet another PHP 7 Framework
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples
src
tests
.gitignore
LICENSE
README.md
composer.json

README.md

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