PHPackages                             laravel-api/laravel-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. laravel-api/laravel-api

ActiveLibrary[API Development](/categories/api)

laravel-api/laravel-api
=======================

This is my package laravel-api

0.1.0(3y ago)0921MITPHPPHP ^8.0.2

Since Jan 19Pushed 3y agoCompare

[ Source](https://github.com/laravapi/laravel-api)[ Packagist](https://packagist.org/packages/laravel-api/laravel-api)[ Docs](https://github.com/laravel-api/laravel-api)[ RSS](/packages/laravel-api-laravel-api/feed)WikiDiscussions main Synced 4w ago

READMEChangelog (1)Dependencies (7)Versions (3)Used By (1)

This is a wrapper package for using APIs in a Laravel application.
==================================================================

[](#this-is-a-wrapper-package-for-using-apis-in-a-laravel-application)

[![Latest Version on Packagist](https://camo.githubusercontent.com/bf5e77ccd90bd5157b3ce823c58279c61714869893ff949335b4d92e02e1fbe4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6368726973746f706872756d70656c2f6c61726176656c2d6170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/christophrumpel/laravel-api)[![GitHub Tests Action Status](https://camo.githubusercontent.com/f66578f0b5d7a2fd8a2be13bb75626cf1bcd9cf9a3c86eaf83157642baf91836/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6368726973746f706872756d70656c2f6c61726176656c2d6170692f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/christophrumpel/laravel-api/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/295c9858c0d2fc49da10c34a49960cad809cc00b2586422e295c7e303357ac68/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6368726973746f706872756d70656c2f6c61726176656c2d6170692f436865636b253230262532306669782532307374796c696e673f6c6162656c3d636f64652532307374796c65)](https://github.com/christophrumpel/laravel-api/actions?query=workflow%3A%22Check+%26+fix+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/92a61e89a88e563b324e50b5a739a249097a6130fb96c53a8b33dd2f2f56af38/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6368726973746f706872756d70656c2f6c61726176656c2d6170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/christophrumpel/laravel-api)

The easiest way to embed APIs in a Laravel project.

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

[](#installation)

You can install the package via composer:

```
composer require laravel-api/laravel-api
```

Usage
-----

[](#usage)

```
php artisan api:install twitter
```

Please provide the credentials when asked for, they will automatically be placed in your `.env` file.

To check if the credentials are correct, run the test command:

```
php artisan api:test twitter
```

Now you can the use the api client like:

```
Twitter::tweet('Draußen scheint die Sonne');
```

Fakes
-----

[](#fakes)

```
Twitter::fake();

Twitter::tweet('sdfdsfdsf');

Twitter::assertTweeted('fdsfdsf')
```

Advantages
----------

[](#advantages)

- you dont have to search for API packages
- automatic setup (service provider, config, etc.)
- consistent commands for install, testing, etc.

Dear API Developers
-------------------

[](#dear-api-developers)

If you want your client to be included in Laravel APIs, or add your own client wrapper, check here....

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Christoph Rumpel &amp; Sebastian Schöps](https://github.com/christophrumpel)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

23

—

LowBetter than 25% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 72.5% 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

Unknown

Total

1

Last Release

1456d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1cb45232eb8f4785903210d7cef394e863b8c9bae022e58d33bd55887267ff02?d=identicon)[Sebzap](/maintainers/Sebzap)

---

Top Contributors

[![SebastianSchoeps](https://avatars.githubusercontent.com/u/44115562?v=4)](https://github.com/SebastianSchoeps "SebastianSchoeps (29 commits)")[![christophrumpel](https://avatars.githubusercontent.com/u/1394539?v=4)](https://github.com/christophrumpel "christophrumpel (11 commits)")

---

Tags

laravellaravel-api

###  Code Quality

TestsPest

### Embed Badge

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

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

###  Alternatives

[laravel/socialite

Laravel wrapper around OAuth 1 &amp; OAuth 2 libraries.

5.7k113.1M964](/packages/laravel-socialite)[laravel/boost

Laravel Boost accelerates AI-assisted development by providing the essential context and structure that AI needs to generate high-quality, Laravel-specific code.

3.6k26.0M740](/packages/laravel-boost)[statamic/cms

The Statamic CMS Core Package

4.9k3.8M1.1k](/packages/statamic-cms)[spatie/laravel-health

Monitor the health of a Laravel application

88212.7M180](/packages/spatie-laravel-health)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.3M49](/packages/tencentcloud-tencentcloud-sdk-php)[nativephp/mobile

NativePHP for Mobile

1.1k102.1k123](/packages/nativephp-mobile)

PHPackages © 2026

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