PHPackages                             flutterbuddy1/easy-api - 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. [API Development](/categories/api)
4. /
5. flutterbuddy1/easy-api

ActiveLibrary[API Development](/categories/api)

flutterbuddy1/easy-api
======================

Easy Way to integrate API in you laravel application.

v1.1.3(3y ago)118MITPHP

Since Aug 31Pushed 2y ago1 watchersCompare

[ Source](https://github.com/flutterbuddy1/easy-api)[ Packagist](https://packagist.org/packages/flutterbuddy1/easy-api)[ RSS](/packages/flutterbuddy1-easy-api/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (5)DependenciesVersions (6)Used By (0)

Easy Api
========

[](#easy-api)

Easy Way to integrate API in you laravel application.

Installation Guide
------------------

[](#installation-guide)

Install Package using Composer.

```
composer require flutterbuddy1/easy-api
```

Paste the code below given.

Use this to your `route/api.php`

```
use Flutterbuddy1\EasyApi\EasyApi;
```

And add this inside you api middleware in `route/api.php`

```
EasyApi::api();
```

### That's It your API's is ready to go 🚀

[](#thats-it-your-apis-is-ready-to-go-)

API's Docs
----------

[](#apis-docs)

### Get Data API

[](#get-data-api)

Send `GET` Request in this api.

```
http://YOUR_APPLICATION_URL/api/{TABLE_NAME}

Example:

http://localhost:8000/api/posts

```

- Include Table

```
http://YOUR_APPLICATION_URL/api/{TABLE_NAME}?include={OTHER_TABLE_NAME}

Example:

http://localhost:8000/api/posts?include=categories,users

```

### Get Data By Id API

[](#get-data-by-id-api)

Send `GET` Request in this api.

```
http://YOUR_APPLICATION_URL/api/{TABLE_NAME}/{ID}

Example:

http://localhost:8000/api/posts/3

```

- Include Table

```
http://YOUR_APPLICATION_URL/api/{TABLE_NAME}/{ID}?include={OTHER_TABLE_NAME}

Example:

http://localhost:8000/api/posts/3?include=categories,users

```

### Post Data API

[](#post-data-api)

Send `POST` Request in this api.

```
http://YOUR_APPLICATION_URL/api/{TABLE_NAME}

Example:

http://localhost:8000/api/posts

Post Data in JSON :

{
    "title:"Some Title",
    "content":"Some Content",
    "category":"YOUR CATEGORY ID",
    "user":"YOUR USER ID",
}

```

### Update Data API

[](#update-data-api)

Send `PUT` Request in this api.

```
http://YOUR_APPLICATION_URL/api/update/{TABLE_NAME}

Example:

http://localhost:8000/api/update/posts

Post Data in JSON :

{
    "title:"UPDATED TITLE",
    "content":"UPDATED CONTENT",
}

```

### Delete Data API

[](#delete-data-api)

Send `DELETE` Request in this api.

```
http://YOUR_APPLICATION_URL/api/delete/{TABLE_NAME}/{ID}

Example: :
http://localhost:8000/api/delete/posts/3

```

### Contribute for Adding New Features

[](#contribute-for-adding-new-features)

Created With ♥ By [FlutterBuddy](https://flutterbuddy.in)

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Every ~3 days

Total

5

Last Release

1390d ago

Major Versions

v0.1.1 → v1.1.12022-08-31

### Community

Maintainers

![](https://www.gravatar.com/avatar/ba535973ee5fca9db0f8ce95729ecfa7dfff2e81691e52f899fef4a2243b9745?d=identicon)[flutterbuddy1](/maintainers/flutterbuddy1)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/flutterbuddy1-easy-api/health.svg)

```
[![Health](https://phpackages.com/badges/flutterbuddy1-easy-api/health.svg)](https://phpackages.com/packages/flutterbuddy1-easy-api)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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