davnotdev/php-quota 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

davnotdev/php-quota

Composer 安装命令:

composer require davnotdev/php-quota

包简介

PHP port of Perl-Quota for manipulating UNIX filesystem quotas

README 文档

README

Php-Quota is a library that allows filesystem quotas on UNIX systems. The underlying implementation is derived from Perl-Quota.

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

See examples folder and Perl Quota Documentation

Original README:

This repository contains the sources of the Perl "Quota" module, which has its official home at https://metacpan.org/pod/Quota. 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 http://www.opensource.org/licenses/. The respective authors of the source code are its owner in regard to copyright.

Since April 2020 there's also a Python port of this module, with its official home at PyPi.

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 & 10.10 & 10.20 & 11.00
  • IRIX 5.2 & 5.3 & 6.2 - 6.5
  • OSF/1 & Digital Unix 4
  • FreeBSD 3 - 12.1, OpenBSD 2.2 - 6.6 & 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

For further information please refer to the following files:

  • Quota.pm: API documentation (at the end of the file)
  • INSTALL: Installation description
  • CHANGES: Change log & acknowledgements
  • LICENSE: Perl License

davnotdev/php-quota 适用场景与选型建议

davnotdev/php-quota 是一款 基于 C 开发的 Composer 扩展包,目前已累计 0 次下载、GitHub Stars 达 0, 最近一次更新时间为 2025 年 03 月 04 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 davnotdev/php-quota 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 davnotdev/php-quota 我们能提供哪些服务?
定制开发 / 二次开发

基于 davnotdev/php-quota 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 18
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 1
  • 开发语言: C

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2025-03-04