PHP Extension leading your ACHIEVEMENT.
Object-oriented array manipulation modules like Java Collections Framework.
- Map interface like java.util.HashMap. You can use objects as key.
- Sorting arrays which contain objects.
- Some other utility classes.
Object-oriented datetime management API.
- Datetime objects consisting of various scopes. (DATE, DATETIME and TIMESTAMP)
- Easy to sort and compare.
- Library which is designed by immutable classes.
- Loosely-coupled API between datetime manipulation and format/parse.
This module helps you to markup HTML or XML dynamically.
- DOM-like usability.
- Various output customization.
- Helper class enables more simple coding.
Data format encoding / decoding API. All the classes of this module implement interface Codec.
- Utf8Codec: dealing with the interconversion of unicode codepoints and UTF-8 string
- example:
'süß'
(byte sequence: 73 C3 BC C3 9F) => decode =>array(0x73, 0xFC, 0xDF)
=> encode =>'süß'
- example:
- JsonCodec: alternative of json_encode and json_decode
- Base64Codec: wrapping base64_encode and base64_decode
- SerializationCodec: wrapping serialize and unserialize
- CodecChain: concatenating multiple Codec instances
- PHP 5.1.1 Later
That's all.
Require autoload.php
require_once("/path/to/PEACH/autoload.php");
or set up autoload manually.
See docs/index.html. (Japanese version only)
Online documentation is also available.
Package | Description |
---|---|
RB | Object-oriented i18n module. (RB represents ResourceBundle.) |
DB | A reinvented O/R mapper. |
App | Various components about web application development. (Forms, validations, etc.) |
English documentation is not available.
今のところ, 日本語版のドキュメントしか用意していません. 英語版のドキュメントを作成するには
- 英語版ソースコードのブランチを作成し, コードはそのままでコメント行をすべて英語で書きなおす.
- 編集したソースコードを phpDocumentor にかけてドキュメント一式を作成.
という手順を踏む必要があります. 英語版のソースコード内コメントを整備してくださる方を募集しています.