{"id":19196961,"url":"https://github.com/jitesoft/wp-base","last_synced_at":"2026-05-17T10:36:10.790Z","repository":{"id":56999462,"uuid":"397992686","full_name":"jitesoft/wp-base","owner":"jitesoft","description":"Internal base package for jitesoft wordpress plugins - not a plugin itself.","archived":false,"fork":false,"pushed_at":"2022-08-15T19:16:50.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-19T09:16:44.562Z","etag":null,"topics":["hacktoberfest","php","plugin","wordpress"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jitesoft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-08-19T15:37:29.000Z","updated_at":"2022-10-06T12:40:08.000Z","dependencies_parsed_at":"2022-08-21T13:20:41.795Z","dependency_job_id":null,"html_url":"https://github.com/jitesoft/wp-base","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/jitesoft/wp-base","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jitesoft%2Fwp-base","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jitesoft%2Fwp-base/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jitesoft%2Fwp-base/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jitesoft%2Fwp-base/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jitesoft","download_url":"https://codeload.github.com/jitesoft/wp-base/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jitesoft%2Fwp-base/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33135105,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T09:28:26.183Z","status":"ssl_error","status_checked_at":"2026-05-17T09:27:52.702Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["hacktoberfest","php","plugin","wordpress"],"created_at":"2024-11-09T12:15:01.124Z","updated_at":"2026-05-17T10:36:10.773Z","avatar_url":"https://github.com/jitesoft.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wp-base\n\nThis is not a plugin, nor really anything more than a core part with a few\nminor functions for jitesoft WordPress plugins.\n\nThe lib allows the jitesoft(...) method to be called, which basically contains\na static container which can be queried for objects.  \nIn case a jitesoft plugin uses the base package, it will inject \nthe object into the container making it available to easily query from anywhere:\n\n```php\n\u003c?php\njitesoft('logger')-\u003edebug(...);\n```\n\nDepending on the type of plugin, the object could be either of a singleton type\n(which means that it won't be re-created) or as a standard object.  \n\nYou could make use of the object in other plugins if wanted, but there will be\nno real support of the package.\n\n## Basic usage\n\n```php\n// Add something\nJitesoft\\WordPress\\Plugins\\Base\\getContainer()-\u003ebind('something', 'something');\n// Get something\nJitesoft\\WordPress\\Plugins\\Base\\getContainer()-\u003eget('something'); // 'something'\n// Get something via convenience method\njitesoft('something'); // 'something'\n```\n\nFor full documentation about the underlying container, check out \n[jitesoft/container](https://packagist.org/packages/jitesoft/container)\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjitesoft%2Fwp-base","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjitesoft%2Fwp-base","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjitesoft%2Fwp-base/lists"}