Tech C**P
15 subscribers
161 photos
9 videos
59 files
304 links
مدرس و برنامه نویس پایتون و لینوکس @alirezastack
Download Telegram
OnePHP a super simple and super lightweight PHP framework that works in just a few lines:

// index.php
require_once('src/OnePHP/one_framework.php');
$app = new \OnePHP\App();

$app->get('/:name',function( $name ) use ( $app ){//Action
echo "Hello $name";
});
$app->listen();


To install using composer:

composer create-project julces/oneframework

Why OnePHP:

1- Restful Routes

2- Easy and clean (GET, POST, PUT, DELETE...) Requests management

3- Restful Response with HTTP Status Code and custom Headers

4- PHP native Views

5- No dependencies, add extra libraries only when you need it.

#php #framework #onePHP