PHPackages                             devs\_ryan/laravel-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. devs\_ryan/laravel-easy-api

ActiveLibrary[API Development](/categories/api)

devs\_ryan/laravel-easy-api
===========================

Converts Laravel Easy Admin into a headless CMS.

08PHP

Since Apr 10Pushed 4y ago1 watchersCompare

[ Source](https://github.com/devs-ryan/laravel-easy-api)[ Packagist](https://packagist.org/packages/devs_ryan/laravel-easy-api)[ RSS](/packages/devs-ryan-laravel-easy-api/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel Easy Api
----------------

[](#laravel-easy-api)

### ~ A simple admin panel for Laravel projects.

[](#-a-simple-admin-panel-for-laravel-projects)

[![](https://raw.githubusercontent.com/devs-ryan/img-storage/master/easy-admin-header.png)](https://raw.githubusercontent.com/devs-ryan/img-storage/master/easy-admin-header.png)

[![Built For Laravel](https://camo.githubusercontent.com/f395e2c15a7c3632e36f875d7d4d06dcb6bb765c3adcd8e57c0f68a046bda225/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4275696c74253230466f722d4c61726176656c2d6f72616e6765)](https://laravel.com/)[![Version](https://camo.githubusercontent.com/e05b50fce92f9dbe92ccfe97364de16df4136c49fcba93c382da7b7c5da54609/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f43757272656e7425323056657273696f6e2d302e312e312d626c7565)](https://packagist.org/packages/devs-ryan/laravel-easy-api)[![License](https://camo.githubusercontent.com/5caa455d8debc46fb23abbadb45a733a937f3910a73fc875c2f7820468e1bb54/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d677265656e)](https://packagist.org/packages/devs-ryan/laravel-easy-api)[![Requires](https://camo.githubusercontent.com/d3997c61d8e44489e3347c1d8300c6a512520823db47546a3babd27eb9fa19e4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f52657175697265732d4c61726176656c253230253545372e302d726564)](https://laravel.com/)

What is Laravel Easy Api
------------------------

[](#what-is-laravel-easy-api)

Laravel Easy Api is a back end UI designed for developers, root users with decent database knowledge or basic projects. It is not meant to serve as a complete Admin panel with full capabilities (see [Lavavel Nova](https://nova.laravel.com/) if this is what you are looking for). On the contrary it is mean to act as a basic admin panel, with limited customizability, that can get up and running within minutes.

Laravel Easy Api leverages a powerful set of artisan commands to add/remove resources. This is combined with public files where functionality can be removed or added via commenting/uncommenting code which allows Easy Api to give basic ability for customization. If you need a quick and dirty admin panel for your project, this package is for you! :)

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

[](#installation)

- `composer require devs_ryan/laravel-easy-api`
- Access from [http(s)://your-project-url.com/easy-api](https://github.com/devs-ryan/laravel-easy-api)

Usage
-----

[](#usage)

#### Setting env variables

[](#setting-env-variables)

The following optional URL variables can be set in the Laravel .env file:

- `API_TOKEN` (will be sent with all requests to verify authentication Eg. `response = $axios.get('http://my-app-url/easy-api/index?api_token='.token')`)
- `EASY_ADMIN_BASE_URL` (Change the base URL for your API. Default is `easy-api)

#### Generate a random API\_TOKEN

[](#generate-a-random-api_token)

- TODO

#### Add a model resource to Easy Api

[](#add-a-model-resource-to-easy-api)

After running this command a CRUD resource will be added to the Easy Api UI for the model specified.

- `php artisan easy-api:add-model`
- Follow the prompts for namespace E.G. "App" and model name E.G. "User"
- This will generate a new file in the base projects app/EasyApi directory, where you can comment out any functionality you do not wish to provide to the Easy Api UI

#### Remove a model resource from Easy Api

[](#remove-a-model-resource-from-easy-api)

- `php artisan easy-api:remove-model`
- Follow the prompts for namespace E.G. "App" and model name E.G. "User"
- This will remove the model from showing in the UI and delete the app/EasyApi file for it as well

#### Refresh a model resource in Easy Api

[](#refresh-a-model-resource-in-easy-api)

- `php artisan easy-api:refresh-model`
- Follow the prompts for namespace E.G. "App" and model name E.G. "User"
- This will reload the public file in the app/EasyApi directory to the default and load/remove any fields that have changed in the model

#### Add all model resources to Easy Api

[](#add-all-model-resources-to-easy-api)

This is not currently working, but on my TODO list.

#### Reset Easy Api

[](#reset-easy-api)

In case you would like to return Easy Api to the original state, use the command below.

- `php artisan easy-api:reset`

Limitations
-----------

[](#limitations)

This admin panel assumes that you follow the standard Laravel naming conventions for models and database tables. If you create migrations/models using `php artisan make:model {ModelName} -m` it should work, otherwise it may not.

The users table is expected to contain some fields that ship with the Laravel base install, such as `email` and `password`.

All model resources must contain and `id` attribute in their database table for the routing to function.

Licence
-------

[](#licence)

Laravel Easy Api is open-sourced software licensed under the [MIT license](LICENSE.md).

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity26

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/57546bd97518489fc3e0f854dfc1f66ffbf741c996db2c149504006069fb335a?d=identicon)[devs\_ryan](/maintainers/devs_ryan)

---

Top Contributors

[![devs-ryan](https://avatars.githubusercontent.com/u/22420896?v=4)](https://github.com/devs-ryan "devs-ryan (14 commits)")

### Embed Badge

![Health badge](/badges/devs-ryan-laravel-easy-api/health.svg)

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

###  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)
