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.2(1mo ago)14.6k1MITPHPPHP &gt;=8.5CI passing

Since Mar 26Pushed 3mo 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 3w ago

READMEChangelog (10)Dependencies (12)Versions (52)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 97% of packages

Maintenance85

Actively maintained with recent releases

Popularity23

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity80

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 85.7% 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 ~31 days

Recently: every ~36 days

Total

50

Last Release

36d ago

Major Versions

4.x-dev → v5.0.02023-11-14

5.x-dev → v6.0.02024-01-20

6.x-dev → V7.0.02024-06-29

v7.1.0 → v8.0.02024-11-30

8.x-dev → 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://avatars.githubusercontent.com/u/139179826?v=4)[Lion-Packages](/maintainers/lion-packages)[@lion-packages](https://github.com/lion-packages)

---

Top Contributors

[![Sleon4](https://avatars.githubusercontent.com/u/56183278?v=4)](https://github.com/Sleon4 "Sleon4 (138 commits)")[![GabrielPalac](https://avatars.githubusercontent.com/u/162063476?v=4)](https://github.com/GabrielPalac "GabrielPalac (11 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (4 commits)")[![LeinadAlberto](https://avatars.githubusercontent.com/u/127895160?v=4)](https://github.com/LeinadAlberto "LeinadAlberto (4 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)
```

PHPackages © 2026

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