PHPackages                             shogy/laravel-log-downloader - 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. [File &amp; Storage](/categories/file-storage)
4. /
5. shogy/laravel-log-downloader

ActiveLibrary[File &amp; Storage](/categories/file-storage)

shogy/laravel-log-downloader
============================

Package that will easily grab all log files from your Laravel project.

v1.0.5(1y ago)012MITPHPPHP ^8.0

Since Jul 22Pushed 1y ago1 watchersCompare

[ Source](https://github.com/amilic018989/laravel-log-downloader)[ Packagist](https://packagist.org/packages/shogy/laravel-log-downloader)[ RSS](/packages/shogy-laravel-log-downloader/feed)WikiDiscussions main Synced 2d ago

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

Laravel Log Downloader
======================

[](#laravel-log-downloader)

[![Latest Stable Version](https://camo.githubusercontent.com/7d9929ecc4f9a0b0f46fd7f2d361339ec8675b7706478a4d9dcaddb580d0b688/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73686f67792f6c61726176656c2d6c6f672d646f776e6c6f616465723f6c6162656c3d737461626c65)](https://camo.githubusercontent.com/7d9929ecc4f9a0b0f46fd7f2d361339ec8675b7706478a4d9dcaddb580d0b688/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73686f67792f6c61726176656c2d6c6f672d646f776e6c6f616465723f6c6162656c3d737461626c65)[![Total Downloads](https://camo.githubusercontent.com/7a64f7d108e058876c6c002d96ef2be1e2e666f3b7f4f59ab5d0759333c7b58c/68747470733a2f2f706f7365722e707567782e6f72672f73686f67792f6c61726176656c2d6c6f672d646f776e6c6f616465722f646f776e6c6f616473)](https://packagist.org/packages/shogy/laravel-log-downloader)[![License](https://camo.githubusercontent.com/9f2cc431daadc1b5ab83a311a2e842317302bbceca134422b77341d15fc64a56/68747470733a2f2f706f7365722e707567782e6f72672f73686f67792f6c61726176656c2d6c6f672d646f776e6c6f616465722f6c6963656e7365)](https://packagist.org/packages/shogy/laravel-log-downloader)

Laravel Log Downloader is a package that allows you to easily download all log files from your Laravel project as a ZIP archive. This package provides both web and API routes for flexibility.

Features
--------

[](#features)

- Download all log files as a ZIP archive.
- Supports both web and API routes.
- Automatically deletes the ZIP file after download.
- Compatible with Laravel 11.x.

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

[](#installation)

You can install the package via Composer:

```
composer require shogy/laravel-log-downloader
```

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

[](#configuration)

After installing the package, the service provider will be automatically registered. If you need to register it manually, add the following line to your config/app.php file:

```
'providers' => [
    // Other Service Providers

    Shogy\LaravelLogDownloader\LogDownloaderServiceProvider::class,
],

```

Usage
=====

[](#usage)

Web route
---------

[](#web-route)

To download logs via a web route, navigate to the following URL in your browser:

```
http://your-app-url/download-logs
```

Api route
---------

[](#api-route)

To download logs via an API route, send a GET request to:

```
http://your-app-url/api/download-logs
```

Make sure to include the necessary API authentication if your API routes are protected.

Route middleware
----------------

[](#route-middleware)

By default, the web route uses the web and auth middleware, while the API route uses the api and auth:api middleware. You can customize the middleware as needed.

```
// Web route
Route::middleware(['web', 'auth'])->get('/download-logs', [LogDownloadController::class, 'downloadLogs']);

// Api route
Route::middleware(['api', 'auth:api'])->get('/api/download-logs', [LogDownloadController::class, 'downloadLogs']);
```

Contributions
-------------

[](#contributions)

Contributions are welcome! If you encounter any issues or have questions, feel free to open an issue on GitHub.

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

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 ~0 days

Total

6

Last Release

713d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1504764?v=4)[shogy](/maintainers/shogy)[@Shogy](https://github.com/Shogy)

---

Top Contributors

[![amilic018989](https://avatars.githubusercontent.com/u/171045627?v=4)](https://github.com/amilic018989 "amilic018989 (26 commits)")

### Embed Badge

![Health badge](/badges/shogy-laravel-log-downloader/health.svg)

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

77022.3M151](/packages/laravel-mcp)[api-platform/laravel

API Platform support for Laravel

58171.8k14](/packages/api-platform-laravel)[hasinhayder/tyro-dashboard

Tyro Dashboard - Beautiful admin dashboard for managing Tyro roles, privileges, users, and settings

5443.8k](/packages/hasinhayder-tyro-dashboard)[laravel/surveyor

Static analysis tool for Laravel applications.

86121.4k13](/packages/laravel-surveyor)[fleetbase/core-api

Core Framework and Resources for Fleetbase API

1235.9k20](/packages/fleetbase-core-api)

PHPackages © 2026

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