{"id":27127547,"url":"https://github.com/arrayaccess/wp-core-library","last_synced_at":"2026-05-16T11:32:34.040Z","repository":{"id":208028816,"uuid":"720659341","full_name":"ArrayAccess/wp-core-library","owner":"ArrayAccess","description":"Object Oriented Library for better WordPress development.","archived":false,"fork":false,"pushed_at":"2023-12-07T23:56:25.000Z","size":564,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-04T09:43:17.803Z","etag":null,"topics":["doctrine-dbal","php","wordpress","wp-api-library","wp-editor"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ArrayAccess.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["arrayiterator"],"liberapay":"ArrayIterator","patreon":"ArrayIterator","custom":["https://www.paypal.me/pentagonal"]}},"created_at":"2023-11-19T06:58:28.000Z","updated_at":"2023-12-03T16:12:57.000Z","dependencies_parsed_at":"2025-04-07T17:51:28.554Z","dependency_job_id":null,"html_url":"https://github.com/ArrayAccess/wp-core-library","commit_stats":null,"previous_names":["arrayaccess/wp-core-library"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ArrayAccess/wp-core-library","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArrayAccess%2Fwp-core-library","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArrayAccess%2Fwp-core-library/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArrayAccess%2Fwp-core-library/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArrayAccess%2Fwp-core-library/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ArrayAccess","download_url":"https://codeload.github.com/ArrayAccess/wp-core-library/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArrayAccess%2Fwp-core-library/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33100836,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T04:41:52.686Z","status":"ssl_error","status_checked_at":"2026-05-16T04:41:52.009Z","response_time":115,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["doctrine-dbal","php","wordpress","wp-api-library","wp-editor"],"created_at":"2025-04-07T17:41:16.044Z","updated_at":"2026-05-16T11:32:34.024Z","avatar_url":"https://github.com/ArrayAccess.png","language":"PHP","funding_links":["https://github.com/sponsors/arrayiterator","https://liberapay.com/ArrayIterator","https://patreon.com/ArrayIterator","https://www.paypal.me/pentagonal"],"categories":[],"sub_categories":[],"readme":"## WP Core Library\n\nThis is a library for WordPress development based on Object-Oriented code.\nIt provides a set of useful functions and classes.\n\nThe library is designed to be used with [Composer](https://getcomposer.org/). It is not a plugin itself, but a set of classes and functions that can be used in plugins or themes.\n\n\n### Installation\n\nAdd the following to your `composer.json` file:\n\n```json\n{\n    \"require\": {\n        \"arrayaccess/wp-core-library\": \"dev-master\"\n    }\n}\n```\n\n\n### Usage\n\nTo use the library, you need to include the Composer autoloader in your plugin:\n\n```php\nrequire_once __DIR__ . '/vendor/autoload.php';\n```\n\n\n### Requirements\n\n- php \u003e= 8.0\n- composer \u003e= 2.0\n- WordPress \u003e= 6.4\n\n\n## Features\n\n- Fully Object-Oriented Library \u0026 Codes.\n- PSR2 Coding Standard\n- Service-based library architecture\n- Object-Oriented WordPress Hooks.\n- Object-Oriented WordPress Rest API.\n- Object-Oriented WordPress Admin Pages.\n- Object-Oriented WordPress Admin Ajax.\n- Object-Oriented WordPress Block Registration Hooks.\n- Object-Oriented Form Fields \u0026 Builder\n- Database abstraction layer using doctrine/dbal with WordPress caching implementation\n- Database schema comparison using doctrine/dbal\n- Object-based WordPress options\n- Stateless Hash Generator, better for stateless API authentication\n- Code Editor Using [CodeJar](https://medv.io/codejar/) \u0026 [Highlight.js](https://highlightjs.org/) (Fullscreen mode, collapsed, line numbers, syntax highlighting, etc.)\n- WP Blocks Widget (Gutenberg)\n\n\n![editor-widget.png](sample-assets/images/editor-widget.png)\n\n\n## Utilities\n\n- Consolidator: Consolidate various helpers at once.\n- Filter: Filtering \u0026 validate the data.\n- HTML Attribute Generator: Easier to generate HTML attributes.\n- IP Helper: Validate \u0026 Generate IP Address.\n- UUID Helper: Generate, validate \u0026 parse UUID from version 1 to 5. (RFC 4122)\n- Global Variable Helper: Various helpers to safely call \u0026 validate global predefined variables. ($_POST, $_GET, $_SERVER, $_COOKIE, $_ENV, $_FILES, $_REQUEST, $_SESSION)\n- Form Builder: Build form using object-oriented code.\n- And many more...\n\n\n## Documentation\n\n**Under construction.**\n\n\u003e Consider there are people to help me write the documentation; I will focus on the code first.\n\n## Contributing\n\nContributions are welcome from everyone.\n\nRefer to [CONTRIBUTING.md](CONTRIBUTING.md) for information on how to contribute to this project. \n\n## License\n\nGPLv3 or later see [LICENSE](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farrayaccess%2Fwp-core-library","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farrayaccess%2Fwp-core-library","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farrayaccess%2Fwp-core-library/lists"}