Rin is a lightweight minimalistic framework written in php, it's feature SEO Friendly Routing, Middleware, and Dependency Injection. This framework is trying to solve problem when someone said Laravel is overkill so this framework will be replacement for someone who not very familiar with CodeIgniter, although this framework is bare minimum and not for production because this framework is just for fun.
-
Nearly identical with Laravel API
-
SEO Friendly Routing & Middleware
-
Dependency Injection
Don't use this framework until the API is stable
// index.php
<?php
require './vendor/autoload.php';
use UnknownRori\Rin\Application;
use UnknownRori\Rin\Http\Route;
Route::get('/', function () {
echo "<h1>Hello, World!</h1>";
});
$app = new Application();
return $app->serve();
To start the server just type
php -S 127.0.0.1:8000 -t ./your-public-directory ./index.php
-
composer require unknownrori/rin
-
# Clone the repository > git clone https://github.com/UnknownRori/Rin.git # Enter the directory and install the dependency > cd Rin > composer install
Feel free to contribute and improve the codebase, send pull request or create an issues if something is wrong or need some additional feature we will review it.