PHPackages                             khuram/laravel-rest-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. [API Development](/categories/api)
4. /
5. khuram/laravel-rest-framework

ActiveLibrary[API Development](/categories/api)

khuram/laravel-rest-framework
=============================

The simple, easy and plug to play Laravel Rest Framework inspired by Django Rest Framework.

01PHP

Since May 12Pushed 5y agoCompare

[ Source](https://github.com/mkhuramj/laravel-rest-framework)[ Packagist](https://packagist.org/packages/khuram/laravel-rest-framework)[ RSS](/packages/khuram-laravel-rest-framework/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (2)Used By (0)

  ![LRF logo]()

### LRF (Laravel Rest Framework)

[](#lrf-laravel-rest-framework)

![Status](https://camo.githubusercontent.com/263f3694f42afc27e06a1ff829cd63884893b55624e13a16893dd0a3ba772b94/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7374617475732d6163746976652d737563636573732e737667)[![GitHub Issues](https://camo.githubusercontent.com/be671c6f4393aa1c183913cecd5101a225cc71ae59d8a62ffb57f418f15c2b85/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f6b796c656c6f626f2f5468652d446f63756d656e746174696f6e2d436f6d70656e6469756d2e737667)](https://github.com/mkhuramj/laravel-rest-framework/issues)[![GitHub Pull Requests](https://camo.githubusercontent.com/ba2b3bb0546828ac3ea0df18d8738010bd823daffd1ed0a49f6659725afb79bb/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732d70722f6b796c656c6f626f2f5468652d446f63756d656e746174696f6e2d436f6d70656e6469756d2e737667)](https://github.com/mkhuramj/laravel-rest-framework/pulls)[![License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](/LICENSE)

---

 LRF allows you to integrate the Permissions, Filters, Filtered Querysets per action, Validation with Laravel (Lumen) as used in Django Rest Framework (DRF).

📝 Table of Contents
-------------------

[](#-table-of-contents)

- [About](#about)
- [Authors](#authors)
- [Acknowledgments](#acknowledgement)

🧐 About
-----------------------------------------

[](#-about-)

I have been developing using laravel for 4 years and got the chance to use Django and DRF. I like the way DRF allows to attach and handle Permissions, Filters, Validation and very easy (inital) CRUD with the help of mixins nicely used with views (controllers in Laravel). So when I came back to Laravel I had the options like Gates and Policy to authorize the users. But I wanted to have something like DRF provides for the Permissions and Filters and a nicely filtered querySet for each of your requests and it can further be filtered for role bases. So getting that idea, of using Permissions, Filters, Validation etc, from DRF, I decided to make something like that for Laravel (and later for Lumen).

This will help those who are coming from DRF to Laravel or those who want an easy way to implement permissions and filter for the incoming requests. Also, it will give a new dimention to the Laravel community.

Another nice thing about this package is you only need to run the lrf:model --all and it will create Controller, Model, ApiRequest (FormRrequest), Resources, Permission and Filter. To start the crud for the newly create model, you only need to write the migration, add fillable fields in the fillable array of the model, add the resource route in the api route and you are ready to CRUD with Laravel :-)

✍️ Authors
----------------------------------------------

[](#️-authors-)

- [@mkhuramj](https://github.com/mkhuramj) - Idea &amp; Initial work

See also the list of [contributors](https://github.com/mkhuramj/laravel-rest-framework/contributors) who participated in this project.

🎉 Acknowledgements
--------------------------------------------------------------

[](#-acknowledgements-)

- Laravel's extension
- Inspired from Django Rest Framework

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity35

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://avatars.githubusercontent.com/u/7572112?v=4)[Khuram Javed](/maintainers/mkhuramj)[@mkhuramj](https://github.com/mkhuramj)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/khuram-laravel-rest-framework/health.svg)

```
[![Health](https://phpackages.com/badges/khuram-laravel-rest-framework/health.svg)](https://phpackages.com/packages/khuram-laravel-rest-framework)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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