Skip to content
Philip Helger edited this page Aug 24, 2025 · 7 revisions

Welcome to the ph-commons wiki!

ph-commons is a Java Library with tons of utility classes required in basically all of the ph-* projects.

  • Version 12 of ph-commons an onwards require Java 17+
  • Version 11 of ph-commons an onwards require Java 11+
  • Versions <= 10 of ph-commons require Java 1.8+

This Wiki contains high level information about the ph-commons project and all it's submodules.

This project has the following modules:

  • ph-base - base functionality used everywhere (since 12.0.0-rc1)
  • ph-bc - BouncyCastle support library (since 9.1.2)
  • ph-cache - caching functionality (since 12.0.0-rc1)
  • ph-cli - library with commandline parameter definition support; loosely based on commons-cli
  • ph-collection - library with extended collection related classes
  • ph-commons - commons components that didn't it properly in another submodule. Prior to v12 this was the most basic library
  • ph-config - a generic configuration solution supporting different sources of configuration (since 9.4.0)
  • ph-config-json - an extension to the ph-config library that also supports the usage of the JSON format (since 12.0.0-rc1)
  • ph-dao - file based DAO library with WAL support
  • ph-datetime - extension library for handling Java date and time special cases
  • ph-diagnostics - library containing everything around error levels, errors and logging support (since 12.0.0-rc1)
  • ph-graph - generic graph library with directed and undirected graphs
  • ph-http - generic library dedicated to HTTP related stuff. Does NOT contain an HTTP client - can be found in ph-web/ph-httpclient instead (since 12.0.0-rc1)
  • ph-io - contains generic input/output related stuff (since 12.0.0-rc1)
  • ph-jaxb - the JAXB utility classes building upon ph-commons and ph-xml
  • ph-jaxb-adapter - JAXB utility classes required by created code, building only on ph-commons (since 10.0.0)
  • ph-json - a generic simple JSON reader, visitor and writer
  • ph-matrix - a simple library for handling matrix data structures and operations
  • ph-mime - everything around MIME types (since 12.0.0-rc1)
  • ph-scopes - based library for non-web related scope handling
  • ph-security - security related topics like key store handling, message digests etc
  • ph-settings - a small library for handling configuration files in an easy way
  • ph-statistics - contains generic components to collect metrics and statistics (since 12.0.0-rc1)
  • ph-text - contains generic components related to locale, language, country and multilingual texts (since 12.0.0-rc1)
  • ph-typeconvert - contains a generic component to maintain and execute Java type conversion rules (since 12.0.0-rc1)
  • ph-unittest-support - contains unittest support functionality (since 12.0.0-rc1)
  • ph-unittest-support-ext - contains unittest support functionality (since 12.0.0-rc1)
  • ph-wsclient - a small library with an easy to use WebService client based on JAX-WS
  • ph-tree - generic tree structures and tree singleton base classes
  • ph-url - URL related classes (since 12.0.0)
  • ph-xml - everything to read and write XML, including "MicroDOM" my personal minimum XML representation shipping with its own serializer.

Previously present modules:

  • ph-less-commons - previously contained in ph-commons not really used but I was afraid to dump it :) (was deleted in v12.0.0-rc1)
Clone this wiki locally