{"id":14955178,"url":"https://github.com/erimok/uycore","last_synced_at":"2025-10-24T07:30:55.107Z","repository":{"id":48089734,"uuid":"389885770","full_name":"erimok/uycore","owner":"erimok","description":"A library that improve your WordPress development experience. 🚀","archived":false,"fork":false,"pushed_at":"2021-08-10T16:40:03.000Z","size":20,"stargazers_count":5,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-29T08:41:35.064Z","etag":null,"topics":["framework","php","php-framework","php7","wordpress","wordpress-development","wordpress-php-library","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/erimok.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-07-27T07:19:46.000Z","updated_at":"2022-07-07T09:07:21.000Z","dependencies_parsed_at":"2022-08-12T18:20:48.501Z","dependency_job_id":null,"html_url":"https://github.com/erimok/uycore","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erimok%2Fuycore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erimok%2Fuycore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erimok%2Fuycore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erimok%2Fuycore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/erimok","download_url":"https://codeload.github.com/erimok/uycore/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237932070,"owners_count":19389560,"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","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":["framework","php","php-framework","php7","wordpress","wordpress-development","wordpress-php-library","wordpress-plugin"],"created_at":"2024-09-24T13:10:37.170Z","updated_at":"2025-10-24T07:30:54.731Z","avatar_url":"https://github.com/erimok.png","language":"PHP","readme":"# UYCore WordPress\nThe main idea of the UYCore WordPress library is to decrease development time and have enjoyed the development process.\nThe UYCore library provides a simple way to create a custom WordPress functionality in a few lines of code.\n\n## Basics\nYou have to run `init` method of UYCore class to initialize work of library features.\nAll calls to the library must be placed before init method of the UYCore class.\n```php\n\\UYCore\\UYCore::init();\n```\n\n## Custom Post Types\n\nAn example of default Custom Post Type registration:\n```php\nuse UYCore\\Facades\\PostType;\n\nPostType::register('faq');\n```\n\n## Custom Taxonomies\nAn example of default Custom Taxonomy registration:\n```php\nuse UYCore\\Facades\\Taxonomy;\n\nTaxonomy::register('faq_domain');\n```\n\n## Theme support\nYou are able to add WordPress theme support features via the theme support facade class.\n```php\nuse UYCore\\Facades\\ThemeSupport;\n\nThemeSupport::getInstance()\n    -\u003eaddTitleTag()\n    -\u003eaddEditorStyles()\n    -\u003eaddPostThumbnails(['post']);\n```\n\n## Security class\nSecurity facade class allows enhancing WordPress website security.\n```php\nuse UYCore\\Facades\\Security;\n\nSecurity::secureAll();\n```\nAs an alternative way, the developer is able to choose available methods in the security class to enhance security.\n```php\nuse UYCore\\Facades\\Security;\n\nSecurity::getInstance()\n    -\u003esecureApiByAuth()\n    -\u003edisableXmlRpc();\n```\n\n## Service classes\nThe library provides access to a bunch of service classes.\n\n### Label generator service class\nLabel generator service class allows creating a custom array of labels for Post Type and Taxonomy by one code line.\n```php\nuse UYCore\\Services\\LabelGenerator;\n\n$post_type_labels = LabelGenerator::getPostTypeLabels(\n    esc_html__('Tip', 'domain'),\n    esc_html__('FAQ', 'domain')\n));\n\n$taxonomy_labels = LabelGenerator::getTaxonomyLabels(\n    esc_html__('Tip category', 'domain'),\n    esc_html__('FAQ categories', 'domain')\n);\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferimok%2Fuycore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ferimok%2Fuycore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferimok%2Fuycore/lists"}