PHPackages                             lucas-dev/tiny-api-framework - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. lucas-dev/tiny-api-framework

ActiveProject[Framework](/categories/framework)

lucas-dev/tiny-api-framework
============================

Um framework baseado em slim apenas para apis restfull

00PHP

Since Oct 19Pushed 7mo agoCompare

[ Source](https://github.com/lucasmcar/tiny-api)[ Packagist](https://packagist.org/packages/lucas-dev/tiny-api-framework)[ RSS](/packages/lucas-dev-tiny-api-framework/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

\#TinyApi

Um microframework RESTful minimalista em PHP, inspirado no Slim e Laravel, com:

Após desenvolvimento de um framework baseado em Laravel, mas simplista. Tive a ideia de desenvolver um outro framework voltado para apis Restful

Essa primeira versão está disponível para testes

- Rotas simples (`$api->get`, `$api->post`, etc.)
- Controllers desacoplados
- Middlewares (ex: autenticação JWT)
- Suporte nativo ao Firebase JWT
- Respostas JSON elegantes

🚀 Instalação
============

[](#-instalação)

```
composer require lucasmcar/tiny-api-framework

# Como Usar

``` php
router()->get('/hello', fn() => ['message' => 'Olá mundo!']);
    $app->run();

# uso de middleware

use TinyApi\\middlewares\\AuthMiddleware;

$app->router()->get('/user', [UserController::class, 'profile'], [AuthMiddleware::class]);

```

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance45

Moderate activity, may be stable

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity13

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/18866683c2c48df6b7da7244a3425c896ceafb1e58796f05b250bd61c424269f?d=identicon)[lucasmcar](/maintainers/lucasmcar)

---

Top Contributors

[![lucasmcar](https://avatars.githubusercontent.com/u/21208286?v=4)](https://github.com/lucasmcar "lucasmcar (4 commits)")

### Embed Badge

![Health badge](/badges/lucas-dev-tiny-api-framework/health.svg)

```
[![Health](https://phpackages.com/badges/lucas-dev-tiny-api-framework/health.svg)](https://phpackages.com/packages/lucas-dev-tiny-api-framework)
```

###  Alternatives

[laravel/passport

Laravel Passport provides OAuth2 server support to Laravel.

3.4k85.0M532](/packages/laravel-passport)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M259](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

712181.8M596](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)[laravel/pail

Easily delve into your Laravel application's log files directly from the command line.

91545.3M590](/packages/laravel-pail)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
