承接 oihana/php-exceptions 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

oihana/php-exceptions

Composer 安装命令:

composer require oihana/php-exceptions

包简介

The Oihana PHP Core library

README 文档

README

Oihana Php Exceptions

A curated set of reusable custom exception classes for PHP.

Latest Version
Total Downloads
License

Oihana PHP Exceptions is a lightweight, framework-agnostic library providing a collection of well-defined exception classes that extend PHP’s native Exception class.

Each exception type is designed to represent a clear and specific error scenario, making your error handling more expressive, consistent, and easier to maintain.

📚 Documentation

Full project documentation is available at:

📦️ Installation

Requires PHP 8.4+

Install via Composer:

composer require oihana/php-exceptions

✨ Features

  • 🛠 Ready-to-use exception classes for common application errors.
  • 🧩 Extends the standard Exception class (or RuntimeException, InvalidArgumentException, etc. where relevant).
  • 🔍 Improves code readability and error semantics.
  • ⚡ Lightweight with zero external dependencies.
  • 📦 Easily integrable in any PHP project or framework.

✅ Running Unit Tests

To run all tests:

$ composer test

🧾 License

This project is licensed under the Mozilla Public License 2.0 (MPL-2.0).

👤 About the author

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MPL-2.0
  • 更新时间: 2025-08-13