{"id":19624977,"url":"https://github.com/williarin/wordpress-simple-queries","last_synced_at":"2026-04-19T15:01:49.106Z","repository":{"id":49320018,"uuid":"515860095","full_name":"williarin/wordpress-simple-queries","owner":"williarin","description":"WordPress plugin that allows to use WordpressInterop lib to query the database","archived":false,"fork":false,"pushed_at":"2022-08-06T09:21:44.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-26T19:48:28.148Z","etag":null,"topics":["dbal","wordpress","wordpress-database","wordpress-development","wordpress-plugin"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/williarin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-07-20T06:25:31.000Z","updated_at":"2022-07-24T11:15:19.000Z","dependencies_parsed_at":"2022-08-28T14:50:43.653Z","dependency_job_id":null,"html_url":"https://github.com/williarin/wordpress-simple-queries","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/williarin/wordpress-simple-queries","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/williarin%2Fwordpress-simple-queries","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/williarin%2Fwordpress-simple-queries/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/williarin%2Fwordpress-simple-queries/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/williarin%2Fwordpress-simple-queries/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/williarin","download_url":"https://codeload.github.com/williarin/wordpress-simple-queries/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/williarin%2Fwordpress-simple-queries/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267772338,"owners_count":24142089,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["dbal","wordpress","wordpress-database","wordpress-development","wordpress-plugin"],"created_at":"2024-11-11T11:39:40.564Z","updated_at":"2026-04-19T15:01:44.059Z","avatar_url":"https://github.com/williarin.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple Queries\n\n## Introduction\n\nThis WordPress plugin integrates [williarin/wordpress-interop](https://github.com/williarin/wordpress-simple-queries) in WordPress.\n\n## Requirements\n\nYou must have WordPress 5.6 or later running on PHP 8.0 or later.\n\n## Installation\n\nDownload the latest release on this page and extract it in `yourproject/wp-content/plugins/simple-queries/`.\n\n**Warning:** WordPress Plugin Directory doesn't host plugins made for developers anymore.\nThis is to avoid that an admin user deactivate or delete the plugin as he doesn't see the use of it.\n\nIdeally, you would require the library directly using composer, so you wouldn't have to install this plugin.\nHowever, there are some cases where this plugin might come in useful, particularly if you don't have composer in your WordPress installation.\n\n## Usage\n\nOnce the plugin is activated, you'll be able to use the `SimpleQuery()` function which gives you the `EntityManager`.\nFor more details, see [williarin/wordpress-interop](https://github.com/williarin/wordpress-interop) documentation.\n\nExample:\n```php\nuse Williarin\\SimpleQueries\\Vendor\\Williarin\\WordpressInterop\\Bridge\\Entity\\Product;\n\nif (!defined('SIMPLE_QUERIES_ENABLED') || !SIMPLE_QUERIES_ENABLED) {\n    return;\n}\n\n// Fetch all products with id and sku columns only\n$products = SimpleQuery()-\u003egetRepository(Product::class)\n    -\u003efindBy([new SelectColumns(['id', 'sku'])]);\n```\n\n## License\n\n[GPL 3.0](LICENSE.txt)\n\nCopyright (c) 2022, William Arin\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilliarin%2Fwordpress-simple-queries","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwilliarin%2Fwordpress-simple-queries","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilliarin%2Fwordpress-simple-queries/lists"}