PHPackages                             birim/laravel-rest-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. [HTTP &amp; Networking](/categories/http)
4. /
5. birim/laravel-rest-api

ActiveLaravel-package[HTTP &amp; Networking](/categories/http)

birim/laravel-rest-api
======================

Laravel REST API

v1.0.1(3y ago)28MITPHPPHP &gt;=7.3

Since Dec 7Pushed 3y ago1 watchersCompare

[ Source](https://github.com/birim/laravel-rest-api)[ Packagist](https://packagist.org/packages/birim/laravel-rest-api)[ Docs](https://github.com/birim/laravel-rest-api.git)[ RSS](/packages/birim-laravel-rest-api/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (3)Used By (0)

Laravel REST API
================

[](#laravel-rest-api)

The Laravel REST API provides an interface for applications to interact with your application by sending and receiving data as JSON.

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

[](#installation)

You can install the package via composer:

```
composer require birim/laravel-rest-api

```

You can publish the config file with:

```
php artisan vendor:publish --tag=laravel-rest-api

```

Configuration
-------------

[](#configuration)

First define the endpoints for your REST API in the configuration file. An endpoint contains a label and refers to an Eloquent class. Example:

```
