Download the PHP package wp-kit/registry without Composer
On this page you can find all versions of the php package wp-kit/registry. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package registry
wp-kit/registry
This is a wp-kit component that handles and registration.
This component was built to run within an so is perfect for frameworks such as , and .
is fully comptaible with and if you are using you'll notice it already has a and a but just simplifies the process by providing an OOP approach to registering and .
Installation
If you're using , install via in the route folder, otherwise install in your driven theme folder:
Setup
Add Service Provider
Just register the service provider and facade in the providers config and theme config:
Add PRS4 Class Reference (Themosis Only)
Just add the following line to in the theme folder:
Add Config & View File
The recommended method of installing config files for components is via command.
First, install WP CLI, and then install this component, will automatically be installed with , once installed you can run:
For more information, please visit .
Alternatively, you can place the taxonomy file(s) in your , and directories manually.
Usage
Adding Classes
comes with two classes that can extended, .
Any custom and should be added inside within the namespace or .
Here is an example PostType class.
Here is an example Taxonomy class.
Get Involved
To learn more about how to use check out the docs:
Any help is appreciated. The project is open-source and we encourage you to participate. You can contribute to the project in multiple ways by:
- Reporting a bug issue
- Suggesting features
- Sending a pull request with code fix or feature
- Following the project on GitHub
- Sharing the project around your community
For details about contributing to the framework, please check the contribution guide.
Requirements
Wordpress 4+
PHP 5.6+
License
wp-kit/registry is open-sourced software licensed under the MIT License.
All versions of registry with dependencies
jjgrainger/posttypes Version ^1.1
wp-kit/utils Version 2.*
doctrine/inflector Version ^1.4.3