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 today

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

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

977d 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.0M7](/packages/propaganistas-laravel-disposable-email)[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k15.1M130](/packages/laravel-pulse)[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[mike-bronner/laravel-model-caching

Automatic caching for Eloquent models.

2.4k90.5k1](/packages/mike-bronner-laravel-model-caching)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M193](/packages/laravel-ai)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9762.4M130](/packages/roots-acorn)

PHPackages © 2026

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