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

ActiveLibrary[API Development](/categories/api)

codetech/laravel-api-logs
=========================

A lightweight Laravel package for logging requests made to your API.

v2.0.1(1y ago)0319MITPHPPHP ^7.2|^8.0

Since May 3Pushed 1y ago1 watchersCompare

[ Source](https://github.com/CodeTechAgency/laravel-api-logs)[ Packagist](https://packagist.org/packages/codetech/laravel-api-logs)[ RSS](/packages/codetech-laravel-api-logs/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (6)Dependencies (2)Versions (8)Used By (0)

Laravel API Requests Logger
===========================

[](#laravel-api-requests-logger)

A lightweight Laravel package for logging requests made to your API.

[![Latest version](https://camo.githubusercontent.com/a4973e6c2291a4bd9f14a31a919da2afe7c3014eb4e9ef770d47a9da8f1d4423/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f436f6465546563684167656e63792f6c61726176656c2d6170692d6c6f67733f7374796c653d666c61742d737175617265)](https://github.com/CodeTechAgency/laravel-api-logs/releases)[![GitHub license](https://camo.githubusercontent.com/16442c5d9db34172e21979f16e7d4f89832252b5a03ea3feb6845253061e8de4/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f436f6465546563684167656e63792f6c61726176656c2d6170692d6c6f67733f7374796c653d666c61742d737175617265)](https://github.com/CodeTechAgency/laravel-api-logs/blob/master/LICENSE)

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

[](#installation)

Add the package to your Laravel application using composer:

```
composer require codetech/laravel-api-logs

```

### Service Provider

[](#service-provider)

The service provider will be automatically registered during the installation process. However, you can manually register it by adding it to the list of providers located in your `config/app.php` file:

```
'providers' => [
    ...
    Codetech\ApiLogs\Providers\ApiLogServiceProvider::class,

],

```

### Migrations

[](#migrations)

Publish the migration file:

```
php artisan vendor:publish --provider=CodeTech\\ApiLogs\\Providers\\ApiLogServiceProvider --tag=migrations

```

Run the migration:

```
php artisan migrate

```

Usage
-----

[](#usage)

To start logging requests made to your API, you simply add the middleware to the API's route middleware group, located in your `app/Http/Kernel.php`:

```
use CodeTech\ApiLogs\Http\Middleware\LogApiRequest;

protected $middlewareGroups = [
    ...

    'api' => [
        ...
        LogApiRequest::class,
    ],
];

```

---

License
-------

[](#license)

**codetech/laravel-api-logs** is open-sourced software licensed under the [MIT license](https://github.com/CodeTechAgency/laravel-api-logs/blob/master/LICENSE).

About CodeTech
--------------

[](#about-codetech)

[CodeTech](https://www.codetech.pt) is a web development agency based in Matosinhos, Portugal. Oh, and we LOVE Laravel!

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance46

Moderate activity, may be stable

Popularity17

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Every ~117 days

Recently: every ~2 days

Total

7

Last Release

406d ago

Major Versions

v1.x-dev → v2.0.02025-03-31

### Community

Maintainers

![](https://www.gravatar.com/avatar/6adaef8b30d5d0dee7bc2484fd9b0a9ad33e38afb78fc5d18d79d6239c811c76?d=identicon)[jfrosorio](/maintainers/jfrosorio)

---

Top Contributors

[![jfrosorio](https://avatars.githubusercontent.com/u/17640929?v=4)](https://github.com/jfrosorio "jfrosorio (7 commits)")

---

Tags

apilaravellaravel-packagelogscodetechlaravel-api-logs

### Embed Badge

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

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

###  Alternatives

[essa/api-tool-kit

set of tools to build an api with laravel

52680.5k](/packages/essa-api-tool-kit)[mollie/laravel-mollie

Mollie API client wrapper for Laravel &amp; Mollie Connect provider for Laravel Socialite

3624.1M28](/packages/mollie-laravel-mollie)[joisarjignesh/bigbluebutton

BigBlueButton Server API Library for Laravel

162145.5k1](/packages/joisarjignesh-bigbluebutton)[wayofdev/laravel-symfony-serializer

📦 Laravel wrapper around Symfony Serializer.

2113.6k](/packages/wayofdev-laravel-symfony-serializer)[mahdimajidzadeh/laravel-unsplash

Laravel package for Unsplash Api

1111.4k](/packages/mahdimajidzadeh-laravel-unsplash)[luezoid/laravel-core

A feature rich Laravel package which provides fast &amp; flexible way to quickly build powerful RESTful APIs. Various other features like queries &amp; filters over nested complex relationships between models can be done on the go using this package. Read the docs for more info.

112.1k](/packages/luezoid-laravel-core)

PHPackages © 2026

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