PHPackages                             lion/files - 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. lion/files

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

lion/files
==========

Library created with the function of working with internal system files.

v9.1.0(2mo ago)14.3k↓100%[1 PRs](https://github.com/Lion-Packages/files/pulls)1MITPHPPHP &gt;=8.5CI passing

Since Mar 26Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/Lion-Packages/files)[ Packagist](https://packagist.org/packages/lion/files)[ RSS](/packages/lion-files/feed)WikiDiscussions 9.x Synced 1mo ago

READMEChangelog (10)Dependencies (6)Versions (49)Used By (1)

[![presentation-lion-packages](https://private-user-images.githubusercontent.com/56183278/529814890-5dd03366-fead-4b7a-ad3e-65e7b9206c64.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzQxODY5NTcsIm5iZiI6MTc3NDE4NjY1NywicGF0aCI6Ii81NjE4MzI3OC81Mjk4MTQ4OTAtNWRkMDMzNjYtZmVhZC00YjdhLWFkM2UtNjVlN2I5MjA2YzY0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjAzMjIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwMzIyVDEzMzczN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWRiNWE0MDkyZTAxY2FkNDQxODk2NmZjMDRkMWRlZWY4ODIwN2I1ZjA4YTBmNTYzZjdhZmI0MTBkOGZkOWYwYzkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.6mZyNkM5kPIrlKVQVwmpFcKzuOwUKq6rdCsT1FQF7vE)](https://private-user-images.githubusercontent.com/56183278/529814890-5dd03366-fead-4b7a-ad3e-65e7b9206c64.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzQxODY5NTcsIm5iZiI6MTc3NDE4NjY1NywicGF0aCI6Ii81NjE4MzI3OC81Mjk4MTQ4OTAtNWRkMDMzNjYtZmVhZC00YjdhLWFkM2UtNjVlN2I5MjA2YzY0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjAzMjIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwMzIyVDEzMzczN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWRiNWE0MDkyZTAxY2FkNDQxODk2NmZjMDRkMWRlZWY4ODIwN2I1ZjA4YTBmNTYzZjdhZmI0MTBkOGZkOWYwYzkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.6mZyNkM5kPIrlKVQVwmpFcKzuOwUKq6rdCsT1FQF7vE) [ ![Latest Stable Version](https://camo.githubusercontent.com/7de3d63582ce772fc5c1bd059288c728e833eb413335d81bff5c300e206f6329/68747470733a2f2f706f7365722e707567782e6f72672f6c696f6e2f66696c65732f76) ](https://packagist.org/packages/lion/files) [ ![Total Downloads](https://camo.githubusercontent.com/3b43737597a41d13647e3cf3f15ac04edfdf4855e236af3ade880c21ad9e213d/68747470733a2f2f706f7365722e707567782e6f72672f6c696f6e2f66696c65732f646f776e6c6f616473) ](https://packagist.org/packages/lion/files) [ ![License](https://camo.githubusercontent.com/41590deabe6faf9bf9b24796f9d62703d868f8ec5cdc819f302a012e23e9df3c/68747470733a2f2f706f7365722e707567782e6f72672f6c696f6e2f66696c65732f6c6963656e7365) ](https://github.com/lion-packages/files/blob/main/LICENSE) [ ![PHP Version Require](https://camo.githubusercontent.com/0cce4e8dfa9de7dac3ae97f3cd7530f8691b73ed8b719ad3ac2da7157138f2ad/68747470733a2f2f706f7365722e707567782e6f72672f6c696f6e2f66696c65732f726571756972652f706870) ](https://www.php.net/)

🚀 **Lion-Files** Library created with the function of working internal system files.

---

📖 Features
----------

[](#-features)

✔️ Obtains system files.
✔️ Obtains files and folders within a defined path.
✔️ Creates zip files.
✔️ Decompresses zip files.

---

📦 Installation
--------------

[](#-installation)

Install the files using **Composer**:

```
composer require lion/files
```

📝 License
---------

[](#-license)

The **files** is open-sourced software licensed under the [MIT License](https://github.com/lion-packages/files/blob/main/LICENSE).

###  Health Score

55

—

FairBetter than 98% of packages

Maintenance86

Actively maintained with recent releases

Popularity24

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity79

Established project with proven stability

 Bus Factor1

Top contributor holds 85.9% 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 ~30 days

Recently: every ~62 days

Total

48

Last Release

69d ago

Major Versions

4.x-dev → 5.x-dev2023-11-14

v5.0.0 → v6.0.02024-01-20

v6.1.0 → V7.0.02024-06-29

v7.1.0 → v8.0.02024-11-30

v8.11.0 → v9.0.02025-12-23

PHP version history (7 changes)v1.0.1PHP &gt;=8.0.9

v4.5PHP &gt;=8.0

v4.6PHP &gt;=8.1

v5.0.0PHP &gt;=8.2

V7.0.0PHP &gt;=8.3

v8.1.0PHP &gt;=8.4

v9.0.0PHP &gt;=8.5

### Community

Maintainers

![](https://www.gravatar.com/avatar/1419758fcb0259274d35f6d2cbfb5a60694baa74e99437d32dfec9a0d5c10d65?d=identicon)[lion-packages](/maintainers/lion-packages)

---

Top Contributors

[![Sleon4](https://avatars.githubusercontent.com/u/56183278?v=4)](https://github.com/Sleon4 "Sleon4 (128 commits)")[![GabrielPalac](https://avatars.githubusercontent.com/u/162063476?v=4)](https://github.com/GabrielPalac "GabrielPalac (11 commits)")[![LeinadAlberto](https://avatars.githubusercontent.com/u/127895160?v=4)](https://github.com/LeinadAlberto "LeinadAlberto (4 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")[![mcesmeralda](https://avatars.githubusercontent.com/u/96641807?v=4)](https://github.com/mcesmeralda "mcesmeralda (2 commits)")[![MMarioLP](https://avatars.githubusercontent.com/u/105904645?v=4)](https://github.com/MMarioLP "MMarioLP (2 commits)")

---

Tags

filesfilesystemphp

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/lion-files/health.svg)

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

###  Alternatives

[knplabs/gaufrette

PHP library that provides a filesystem abstraction layer

2.5k39.8M123](/packages/knplabs-gaufrette)[google/cloud-storage

Cloud Storage Client for PHP

34390.8M123](/packages/google-cloud-storage)[illuminate/filesystem

The Illuminate Filesystem package.

15261.6M2.6k](/packages/illuminate-filesystem)[superbalist/flysystem-google-storage

Flysystem adapter for Google Cloud Storage

26320.6M30](/packages/superbalist-flysystem-google-storage)[creocoder/yii2-flysystem

The flysystem extension for the Yii framework

2931.7M61](/packages/creocoder-yii2-flysystem)[flowjs/flow-php-server

PHP library for handling chunk uploads. Works with flow.js html5 file uploads.

2451.6M15](/packages/flowjs-flow-php-server)

PHPackages © 2026

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