PHPackages                             kfoobar/laravel-restful - 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. kfoobar/laravel-restful

ActiveProject[API Development](/categories/api)

kfoobar/laravel-restful
=======================

Boilerplate for Restful API in Laravel

v1.0.2(2y ago)044MITPHPPHP ^8.0

Since Jan 19Pushed 2y ago1 watchersCompare

[ Source](https://github.com/KFoobar/laravel-restful)[ Packagist](https://packagist.org/packages/kfoobar/laravel-restful)[ RSS](/packages/kfoobar-laravel-restful/feed)WikiDiscussions main Synced 2w ago

READMEChangelog (3)Dependencies (3)Versions (4)Used By (0)

Laravel RESTful API Boilerplate
===============================

[](#laravel-restful-api-boilerplate)

Boilerplate for RESTful API applications built with Laravel 8/9/10.

This package provides a minimal and simple starting point for building a RESTful API application. Among other things, the package allows you to easily manage user and API tokens, logs requests and provides uniformed and standardized RESTful responses.

This package will add these features:

- Artisan commands to create and delete users
- Artisan commands to generate, extend and revoke API token (with Sanctum)
- Database migration and model for request logging
- Group middleware for automatic request logging
- Middleware for route specific request logging
- Adds a ping endpoint (/api/v1/ping)
- Adds a profile endpoint (/api/v1/me)
- Adds a fallback for all non-existing endpoints
- Removes default frontend files
- Adds robots.txt to disallow everything

Installation
------------

[](#installation)

Install the package with Composer:

`composer require kfoobar/laravel-restful`

Add all necessary files with this command:

`php artisan restful:install`

***Please notice!***

This package is meant to be installed on a fresh Laravel project since it will overwrite a few default files.

Instructions
------------

[](#instructions)

Coming soon...

Contributing
------------

[](#contributing)

Contributions are welcome!

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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 ~142 days

Total

3

Last Release

1022d ago

PHP version history (2 changes)v1.0.0PHP ^8.0.2

v1.0.2PHP ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/420690?v=4)[David Villa](/maintainers/KFoobar)[@KFoobar](https://github.com/KFoobar)

---

Top Contributors

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

---

Tags

apilaravelrestful

### Embed Badge

![Health badge](/badges/kfoobar-laravel-restful/health.svg)

```
[![Health](https://phpackages.com/badges/kfoobar-laravel-restful/health.svg)](https://phpackages.com/packages/kfoobar-laravel-restful)
```

###  Alternatives

[propaganistas/laravel-disposable-email

Disposable email validator

6023.2M7](/packages/propaganistas-laravel-disposable-email)[mike-bronner/laravel-model-caching

Automatic caching for Eloquent models.

2.4k161.4k2](/packages/mike-bronner-laravel-model-caching)[psalm/plugin-laravel

Psalm plugin for Laravel

3345.4M354](/packages/psalm-plugin-laravel)[laravel/ai

The official AI SDK for Laravel.

1.1k4.6M315](/packages/laravel-ai)[api-platform/laravel

API Platform support for Laravel

58190.1k21](/packages/api-platform-laravel)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

265.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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