This organization provides all the open source Bright Nucleus packages, a collection of abstraction libraries that help write more object-oriented, reusable and maintainable code in WordPress projects.
🚧 = work in progress, not finalized yet, use with caution
Repository | Description |
---|---|
admin-page | 🚧 Config-based WordPress admin pages. |
boilerplate | Boilerplate package you can use to quickly create a new package from scratch. |
chainmail | 🚧 Library to streamline the normalization of email generation. |
collection | Provide an abstract way to work with WordPress entities through collections. |
config | Lean Config component to help you write reusable code through recursive configuration objects. |
config-52 | Config component that does not use namespaces, to be used in PHP 5.2 projects. |
contracts | Set of segregated interfaces that are reused across different Bright Nucleus components. |
country-codes | This is a Composer plugin that provides an automated version of the free MaxMind GeoLite CSV Country Codes database. |
custom-content | Config-driven WordPress Custom Content Definitions (Custom Post Types, Custom Taxonomies). |
dependencies | This is a WordPress dependencies component that lets you define dependencies through a config file. |
exceptions | Set of exceptions shared across Bright Nucleus components. This lets you catch library-specific exceptions (if needed). |
form | 🚧 Config-based forms. |
geolite2-country | This is a Composer plugin that provides an automated binary version of the free MaxMind GeoLite2 Country database. |
injector | This is a config-driven dependency injector, to allow easy registration of alias mappings through the brightnucleus/config component. |
invoker | Function and method invoking traits that match named arguments in the right order. |
jasper-client | SOAP client to interact with the Jasper Wireless Control Center. |
keys | This package provides validatable key objects that are meant to be used as identifiers. |
localization | WordPress localization for Bright Nucleus components. |
mime-types | This is a Composer plugin that provides an automated version of the MIME types as defined by the Apache HTTP Server. |
namespace-backtracer | Get the namespace of the calling object, by scanning the debug backtrace, skipping a known set of namespaces & functions in the process. |
options-store | 🚧 Abstract options store that allows for exchangeable persistence mechanisms. |
php-releases | This is a Composer plugin that provides an automated list of PHP releases. |
phpfeature | PHPFeature is a first draft of a PHP Feature Detection Library similar to what Modernizr does for the browser features. |
service-locator | This is a config-driven service locator, to allow easy registration and retrieval of services through the brightnucleus/config component. |
settings | This is a WordPress settings component that lets you define settings pages using the WordPress Settings API through a config file. |
shortcodes | This is a WordPress shortcodes component that lets you define shortcodes through a config file, complete with dependencies, localization and Shortcake UI. |
static-facade | Abstract static Facade class to wrap around shared object instances for convenient access. |
testbed | 🚧 Testing grounds for the different Bright Nucleus components. |
validation | Collection of validation tools. |
values | 🚧 Validatable, sanitizable and escapable value objects. |
view | This is a reusable View component that can provide different implementations (in separate, optional packages). |