PHPackages                             davnotdev/php-quota - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. davnotdev/php-quota

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

davnotdev/php-quota
===================

PHP port of Perl-Quota for manipulating UNIX filesystem quotas

001C

Since Apr 28Pushed 1y ago1 watchersCompare

[ Source](https://github.com/davnotdev/php-quota)[ Packagist](https://packagist.org/packages/davnotdev/php-quota)[ RSS](/packages/davnotdev-php-quota/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

PHP Filesystem Quota Library
============================

[](#php-filesystem-quota-library)

`Php-Quota` is a library that allows filesystem quotas on UNIX systems. The underlying implementation is derived from [`Perl-Quota`](https://github.com/tomzox/Perl-Quota).

Setup
-----

[](#setup)

This library requires the `ffi` and (optionally) the `posix` extensions from php.

Run `make` and copy `libquota.so` to some directory.

To use this library, you simply need `def.php` and `quota.php`.

```
# By default, libquota.so is assumed to be in the same directory as quota.php
$php_quota = new PHPQuota("PATH_TO_LIBQUOTA");

```

Usage
-----

[](#usage)

See examples folder and Perl Quota Documentation

Original README:
================

[](#original-readme)

---

This repository contains the sources of the Perl "Quota" module, which has its official home at . Please use the ticket interfaces at CPAN for reporting issues.

The Perl Quota module provides access to file system quotas on UNIX platforms. This works both for locally mounted file systems and network file systems (via RPC, i.e. Remote Procedure Call). The interface is designed to be independent of UNIX flavours as well as file system types.

I started developing this module 1995 while working as a UNIX system administrator at university; I'm no longer working in this capacity, but still updating the module on request. Since its beginnings, it was continuously extended by porting to more UNIX platforms and filesystems. Numerous people have contributed to this process; for a complete list of names please see the CHANGES document in the repository.

The quota module was in the public domain 1995 to 2001. Since 2001 it is licensed under the same terms as Perl itself, which is (at your choice) either the Perl Artistic License, or version 1 or later of the GNU General Public License. For a copy of these licenses see . The respective authors of the source code are its owner in regard to copyright.

Since April 2020 there's also a [Python port](https://github.com/tomzox/Python-Quota)of this module, with its official home at [PyPi](https://pypi.org/project/FsQuota/).

Module information
------------------

[](#module-information)

Perl DLSIP-Code: Rcdfg

- stable release
- C compiler required for installation
- support by developer
- plain functions, no references used
- licensed under the Perl Artistic License or (at your option) version 1 or later of the GNU General Public License

List of supported operating systems:

- SunOS 4.1.3
- Solaris 2.4 - 2.10
- HP-UX 9.0x &amp; 10.10 &amp; 10.20 &amp; 11.00
- IRIX 5.2 &amp; 5.3 &amp; 6.2 - 6.5
- OSF/1 &amp; Digital Unix 4
- FreeBSD 3 - 12.1, OpenBSD 2.2 - 6.6 &amp; NetBSD 5 - 9,
- Linux - kernel 2.0.30 - 4.15
- AIX 4.1, 4.2 and 5.3

List of supported file systems:

- Standard file systems of the platforms listed above
- NFS (Network file system) on all of the above
- XFS on Linux and IRIX 6
- AFS (Andrew File System) on many of the above (see INSTALL)
- VxFS (Veritas File System) on Solaris 2

All of these operating systems and file systems are supported transparently through a common API.

Documentation
-------------

[](#documentation)

For further information please refer to the following files:

- [Quota.pm](Quota/Quota.pm): API documentation (at the end of the file)
- [INSTALL](Quota/INSTALL): Installation description
- [CHANGES](Quota/CHANGES): Change log &amp; acknowledgements
- [LICENSE](Quota/LICENSE): Perl License

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity15

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/1c079a012759458586050aba7da2807561b2e7431aadefd7a8ceb7134141c8f7?d=identicon)[davnotdev](/maintainers/davnotdev)

---

Top Contributors

[![davnotdev](https://avatars.githubusercontent.com/u/91637806?v=4)](https://github.com/davnotdev "davnotdev (9 commits)")

### Embed Badge

![Health badge](/badges/davnotdev-php-quota/health.svg)

```
[![Health](https://phpackages.com/badges/davnotdev-php-quota/health.svg)](https://phpackages.com/packages/davnotdev-php-quota)
```

###  Alternatives

[data-values/time

Time value objects, parsers and formatters

10318.6k14](/packages/data-values-time)[mf/collections-php

Collections for PHP - It's basically a syntax sugar over classic array structure, which allows you to use it as classic array, but adds some cool features.

10103.3k7](/packages/mf-collections-php)[cobaltgrid/vatsim-stand-status

A PHP library to access the status of aircraft stands on VATSIM

188.7k](/packages/cobaltgrid-vatsim-stand-status)

PHPackages © 2026

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