yidemir/app

DemirApp Minimal PHP Framework

v0.1.8 2018-10-27 16:49 UTC

This package is auto-updated.

Last update: 2024-10-28 06:12:05 UTC


README

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