Skip to content

vladzur/apicultor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

apicultor-php

Micro framework to build APIs

Example

<?php

require __DIR__ . '/vendor/autoload.php';

$api = new Vladzur\Apicultor\Apicultor;
$api->router->get('/resource', 'ResourceController::index');
$api->router->get('/resource/{id}', 'ResourceController::read');
$api->router->post('/resource', 'ResourceController::create');
$api->router->put('/resource/{id}', 'ResourceController::edit');

$api->run();

About

Micro framework to build APIs

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages