PHPackages                             gpolverini/file-get-contents - 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. gpolverini/file-get-contents

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

gpolverini/file-get-contents
============================

File Get Contents library for PHP

v1.0.1(7y ago)031MITPHPPHP &gt;=5.6.0

Since Dec 27Pushed 7y agoCompare

[ Source](https://github.com/gpolverini/file-get-contents)[ Packagist](https://packagist.org/packages/gpolverini/file-get-contents)[ RSS](/packages/gpolverini-file-get-contents/feed)WikiDiscussions master Synced today

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

[![Version 0.1.0](https://camo.githubusercontent.com/c0b35941a01f1cb0cad15604dd30b44ae29f70f9a1ba20b7dd99caa169c40bd4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f76657273696f6e2d76302e312e302d677265656e2e737667)](https://camo.githubusercontent.com/c0b35941a01f1cb0cad15604dd30b44ae29f70f9a1ba20b7dd99caa169c40bd4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f76657273696f6e2d76302e312e302d677265656e2e737667)[![Build Status](https://camo.githubusercontent.com/335dddf147c72bfcc86aa617b189b61a144126d255deb3dfee0908cb4af9d789/68747470733a2f2f7472617669732d63692e6f72672f67706f6c766572696e692f66696c652d6765742d636f6e74656e74732e7376673f6272616e63683d6d6173746572)](https://camo.githubusercontent.com/335dddf147c72bfcc86aa617b189b61a144126d255deb3dfee0908cb4af9d789/68747470733a2f2f7472617669732d63692e6f72672f67706f6c766572696e692f66696c652d6765742d636f6e74656e74732e7376673f6272616e63683d6d6173746572) [![Coverage Status](https://camo.githubusercontent.com/0493e18b37aad7837f0b96784ab9e044b502925a9dcf17bd848bc4d818e27376/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f67706f6c766572696e692f66696c652d6765742d636f6e74656e74732f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/gpolverini/file-get-contents?branch=master)[![MIT licensed](https://camo.githubusercontent.com/2d5ccba598746f764cabd73158e2b499fe6768c0bce19c8e5d5f0528e3b4a8f3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f67706f6c766572696e692f66696c652d6765742d636f6e74656e74732e737667)](LICENSE.md)

File Get Contents
=================

[](#file-get-contents)

This is a native PHP implementation to add file get contents with cache support to PHP &gt;= 5.6. It's an abstract class that needs to be extended to use it.

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

[](#contributing)

Contributions, issues, pull requests are welcome. See [CONTRIBUTING.md](CONTRIBUTING.md)

License
-------

[](#license)

This component is [MIT licensed](LICENSE.md).

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity58

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

Total

3

Last Release

2642d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/05c3467e4afa90bce02e44880894a89d8bcb3c58a80eda9330bc92670100b68d?d=identicon)[gpolverini](/maintainers/gpolverini)

---

Top Contributors

[![gpolverini](https://avatars.githubusercontent.com/u/40297299?v=4)](https://github.com/gpolverini "gpolverini (2 commits)")

---

Tags

file\_get\_contents

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/gpolverini-file-get-contents/health.svg)

```
[![Health](https://phpackages.com/badges/gpolverini-file-get-contents/health.svg)](https://phpackages.com/packages/gpolverini-file-get-contents)
```

###  Alternatives

[cakephp/cakephp

The CakePHP framework

8.8k18.5M1.6k](/packages/cakephp-cakephp)[algolia/algoliasearch-client-php

API powering the features of Algolia.

69333.0M114](/packages/algolia-algoliasearch-client-php)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

728272.9k17](/packages/civicrm-civicrm-core)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[puli/repository

A filesystem-like repository for storing arbitrary resources.

44287.6k32](/packages/puli-repository)[neos/flow

Flow Application Framework

862.0M450](/packages/neos-flow)

PHPackages © 2026

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