Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
3m1n3nc3 authored Sep 22, 2024
1 parent 02dee7d commit 9209fd3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@

A simple Laravel package that intercepts and help you customize, remove or modify the meta data on your Eloquent API Resource response, as well as automatically convert resource keys to camel case.

## Features

- Complete control over how Eloquent Api Resources are rendered and generated.
- Remove `meta` and `links` completely from the response if you want.
- If you choose to keep `meta` and `links`, you also have total control over `meta`'s [`to`, `from`, `links`, `path`, `total`, `per_page`, `last_page`, `current_page`] properties and [`link`'s `first`, `last`, `prev`, `next`] properties.
- Automatically convert resource keys to camel casing if needed.
- `php artisan mod:resource` to automatically generate API resources in place of `php artisan make:resource`;

## Installation

You can install the package via composer:
Expand Down

0 comments on commit 9209fd3

Please sign in to comment.