oik-lib v0.0.1 is the first version of the oik-lib shared library plugin for WordPress.
Features
- Shared library management for WordPress plugins
- Allows multiple plugins to deliver the same library
- Provides simple APIs for other plugins and themes to register or request libraries
- Runs as a Must Use plugin, if required
- Performs basic version checking
- Performs basic dependency checking for requested libraries
- Simple admin interface to list registered libraries
Plugins using shared libraries
Implemented:
Planned:
- Any plugin which is currently dependent upon oik for functions which will be delivered in shared libraries may either become standalone or dependent upon libraries shared by oik-lib
Known limitations
- Limited run-time version checking
- Limited dependency checking
- Does not yet handle internationalization and localization
- Not tested with autoloading libraries
- Not yet integrated with Composer