dogia / skeleton
Php light framework
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:framework
Requires
- php: ^7.4
This package is auto-updated.
Last update: 2025-06-29 01:59:58 UTC
README
Skeleton is a very light framework to make REST Full Apis, easy to read and ready to use.
Router
Easy to enroute!
$router = new Router(); $router->append(Request::GET, "/skeleton/prefix-{section}/", [User::class, 'login']); $router->attend();
- Easy to use prefix in this case prefix- is a real prefix!
- It'll attend for /skeleton/prefix-home and $section will take the value "home"
How looks the controller?
namespace Skeleton\Api; use Skeleton\Core\Router\{Response, Request}; class User { public function login(Response $response, Request $request, $section) { $response->respond("text"); return $response; } }
You want to develop, Sure !!!
You can fork and make pull requests!