{"id":235,"date":"2023-07-07T20:32:37","date_gmt":"2023-07-07T20:32:37","guid":{"rendered":"https:\/\/wp-yoda.com\/en\/?post_type=notices&#038;p=235"},"modified":"2023-08-27T14:20:52","modified_gmt":"2023-08-27T14:20:52","slug":"using-php-actions-composerv6-in-github-actions","status":"publish","type":"notices","link":"https:\/\/wp-yoda.com\/en\/notices\/github-actions\/using-php-actions-composerv6-in-github-actions\/","title":{"rendered":"Using php-actions\/composer@v6 in GitHub Actions"},"content":{"rendered":"\n<p>In this article, we are going to have a look at the process of installing Composer packages in GitHub Actions with <strong>php-actions\/composer@v6<\/strong> action as well as consider what GitHub Action is.<\/p>\n\n\n  \r\n    \r\n<div id=\"wpj-jtoc\" class=\"wpj-jtoc wpj-jtoc--main --jtoc-the-content --jtoc-theme-basic-light --jtoc-title-align-left --jtoc-toggle-icon --jtoc-toggle-position-right --jtoc-toggle-1 --jtoc-has-numeration --jtoc-numeration-legacy --jtoc-has-custom-styles --jtoc-is-unfolded --jtoc-align-left\" >\r\n  <!-- TOC -->\r\n        <div class=\"wpj-jtoc--toc wpj-jtoc--toc-inline \" >\r\n              <div class=\"wpj-jtoc--header\">\r\n        <div class=\"wpj-jtoc--header-main\">\r\n                    <div class=\"wpj-jtoc--title\">\r\n                        <span class=\"wpj-jtoc--title-label\">Table of contents<\/span>\r\n          <\/div>\r\n                                <div class=\"wpj-jtoc--toggle-wrap\">\r\n                                                          <div class=\"wpj-jtoc--toggle-box\">\r\n                  <div class=\"wpj-jtoc--toggle\"><\/div>\r\n                <\/div>\r\n                          <\/div>\r\n                  <\/div>\r\n      <\/div>\r\n            <div class=\"wpj-jtoc--body\">\r\n            <nav class=\"wpj-jtoc--nav\">\r\n        <ol class=\"wpj-jtoc--items\"><li class=\"wpj-jtoc--item --jtoc-h2\">\r\n        <div class=\"wpj-jtoc--item-content --jtoc-h2\" data-depth=\"2\">\r\n                                                <a href=\"#what-is-github-action\"  title=\"What is GitHub Action\" data-numeration=\"1\">What is GitHub Action<\/a>\r\n                    <\/div><\/li><li class=\"wpj-jtoc--item --jtoc-h2\">\r\n        <div class=\"wpj-jtoc--item-content --jtoc-h2\" data-depth=\"2\">\r\n                                                <a href=\"#action-php-actions-composerv6\"  title=\"Action php-actions\/composer@v6\" data-numeration=\"2\">Action php-actions\/composer@v6<\/a>\r\n                    <\/div><ol class=\"wpj-jtoc--items\"><li class=\"wpj-jtoc--item --jtoc-h3\">\r\n        <div class=\"wpj-jtoc--item-content --jtoc-h3\" data-depth=\"3\">\r\n                                                <a href=\"#using\"  title=\"Using\" data-numeration=\"2.1\">Using<\/a>\r\n                    <\/div><\/li><li class=\"wpj-jtoc--item --jtoc-h3\">\r\n        <div class=\"wpj-jtoc--item-content --jtoc-h3\" data-depth=\"3\">\r\n                                                <a href=\"#cache-using\"  title=\"Cache using\" data-numeration=\"2.2\">Cache using<\/a>\r\n                    <\/div><\/li><li class=\"wpj-jtoc--item --jtoc-h3\">\r\n        <div class=\"wpj-jtoc--item-content --jtoc-h3\" data-depth=\"3\">\r\n                                                <a href=\"#example\"  title=\"Example\" data-numeration=\"2.3\">Example<\/a>\r\n                    <\/div><\/li><\/ol><\/li><li class=\"wpj-jtoc--item --jtoc-h2\">\r\n        <div class=\"wpj-jtoc--item-content --jtoc-h2\" data-depth=\"2\">\r\n                                                <a href=\"#result\"  title=\"Result\" data-numeration=\"3\">Result<\/a>\r\n                    <\/div><\/li><\/ol>      <\/nav>\r\n          <\/div>\r\n      <\/div>\r\n    <\/div>\r\n\n\n\n<h2 class=\"wp-block-heading\">What is GitHub Action<\/h2>\n\n\n\n<p><strong>GitHub Action<\/strong> &#8211; is a custom application for the GitHub Actions platform that performs a complex and often repetitive task. GitHub Action is used to reduce the amount of repetitive code you write in <code>workflow<\/code> files.<br>GitHub Action can <code>git pull<\/code> your git repository from GitHub set the right toolkit for your workflow, or set up authentication for your cloud provider.<\/p>\n\n\n\n<p>You can also create <a href=\"https:\/\/docs.github.com\/en\/actions\/creating-actions\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">your own action<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Action <strong>php-actions\/composer@v6<\/strong><\/h2>\n\n\n\n<p><strong>php-actions\/composer@v6<\/strong> &#8211; is a GitHub action that allows you to install Composer packages to run linter, UnitTests, Integration Tests, static analyzers, or for building projects.<\/p>\n\n\n\n<p>Benefits of using <strong>php-actions\/composer@v6<\/strong>:<\/p>\n\n\n\n<ul class=\"wp-block-list\" style=\"margin-top:var(--wp--preset--spacing--20);margin-right:var(--wp--preset--spacing--20);margin-bottom:var(--wp--preset--spacing--20);margin-left:var(--wp--preset--spacing--20)\">\n<li>Ease of Use: This GitHub Action is easy to set up and use in your project, giving you a quick start and making it easy to automate your work with Composer.<\/li>\n\n\n\n<li>Integration with GitHub Actions: Its use within the GitHub Actions system provides a single tool to manage automation in your project.<\/li>\n\n\n\n<li>Updates and Support: Actions is actively maintained by its developers to ensure timely bug fixes and new functionality.<\/li>\n\n\n\n<li>Integration with other GitHub Actions: You can combine <code>php-actions\/composer@v6<\/code> with other GitHub Actions to create complex workflows.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Using<\/h3>\n\n\n\n<p>Create a GitHub Workflow file in &nbsp;<code>.github\/workflows\/ci.yml<\/code>&nbsp; with the following content:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: yaml; title: ; notranslate\" title=\"\">\nname: CI\n\non: &#x5B;push]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions\/checkout@v3\n      - uses: php-actions\/composer@v6\n\n     # now run your PHPCS package\n      - name: Run PHPCS\n        run: composer run phpcs\n<\/pre><\/div>\n\n\n<p>Now, when you run your code in the repository, and go to the Actions tab, you will see how the GitHub Action pipeline is running:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/wp-yoda.com\/wp-content\/uploads\/2023\/07\/image-5.png\"><img decoding=\"async\" src=\"https:\/\/wp-yoda.com\/wp-content\/uploads\/2023\/07\/image-5-1024x571.png\" alt=\"using php-actions\/composer@v6\" class=\"wp-image-1377\"\/><\/a><\/figure>\n\n\n\n<p>If you open the <strong>php-actions\/composer@v6<\/strong> tab you will see a log of installing Composer packages:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><a href=\"https:\/\/wp-yoda.com\/wp-content\/uploads\/2023\/07\/image-6.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/wp-yoda.com\/wp-content\/uploads\/2023\/07\/image-6-1024x423.png\" alt=\"using php-actions\/composer@v6\" class=\"wp-image-1378\" width=\"765\" height=\"316\"\/><\/a><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Cache using<\/h3>\n\n\n\n<p>GitHub Actions allows you to cache Composer package downloads from the Internet between different workflows\/jobs. This speeds up project builds. If the <code>composer.lock<\/code> file is changed, the packages will be re-downloaded from the Internet because the cache will be invalid.<\/p>\n\n\n\n<p>You can use cache in <strong>php-actions\/composer@v6<\/strong> the next way:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: yaml; title: ; notranslate\" title=\"\">\nname: CI\n\non: &#x5B;push]\n\njobs:\n  build:\n    runs-on: &#x5B;ubuntu-latest]\n    \n    steps:\n    - uses: actions\/checkout@v3\n\n    - name: Cache Composer dependencies\n      uses: actions\/cache@v3\n      with:\n        path: \/tmp\/composer-cache\n        key: ${{ runner.os }}-${{ hashFiles(&#039;**\/composer.lock&#039;) }}\n      \n    - uses: php-actions\/composer@v6\n\n    ...      \n<\/pre><\/div>\n\n\n<p>In the above example, a &#8220;key&#8221; is passed to the Cache, which consists of a hash of the <code>composer.lock<\/code> file. This means that as long as the contents of <code>composer.lock<\/code> are not changed between workflows, the Composer cache directory will be kept between workflows.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Example<\/h3>\n\n\n\n<p>For a real example of how to use Composer, PHPCS and GitHub Actions, check out the repository <a href=\"https:\/\/github.com\/renakdup\/using-phpcs-for-wordpress\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">https:\/\/github.com\/renakdup\/using-phpcs-for-wordpress<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Result<\/h2>\n\n\n\n<p>In this short article, you learned what a GitHub Action is, how to use <strong>php-actions\/composer@v6 <\/strong>action, and how to use caching. There are also many other settings you can read about <a href=\"https:\/\/github.com\/marketplace\/actions\/composer-php-actions\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">here<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>php-actions\/composer@v6 &#8211; is a GitHub action that allows you to install Composer packages to run linter, UnitTests, Integration Tests, static analyzers, or for building projects.<\/p>\n","protected":false},"author":1,"featured_media":224,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"tags":[],"notice_category":[22],"class_list":["post-235","notices","type-notices","status-publish","format-standard","has-post-thumbnail","hentry","notice_category-github-actions"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Using php-actions\/composer@v6 in GitHub Actions - WP Yoda<\/title>\n<meta name=\"description\" content=\"php-actions\/composer@v6 - is a GitHub action that allows you to install Composer packages to run linter, UnitTests, Integration Tests, static analyzers, or for building projects.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/wp-yoda.com\/en\/notices\/github-actions\/using-php-actions-composerv6-in-github-actions\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Using php-actions\/composer@v6 in GitHub Actions - WP Yoda\" \/>\n<meta property=\"og:description\" content=\"php-actions\/composer@v6 - is a GitHub action that allows you to install Composer packages to run linter, UnitTests, Integration Tests, static analyzers, or for building projects.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/wp-yoda.com\/en\/notices\/github-actions\/using-php-actions-composerv6-in-github-actions\/\" \/>\n<meta property=\"og:site_name\" content=\"WP Yoda\" \/>\n<meta property=\"article:modified_time\" content=\"2023-08-27T14:20:52+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/wp-yoda.com\/wp-content\/uploads\/2023\/07\/image-5.png\" \/>\n\t<meta property=\"og:image:width\" content=\"2350\" \/>\n\t<meta property=\"og:image:height\" content=\"1310\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/wp-yoda.com\\\/en\\\/notices\\\/github-actions\\\/using-php-actions-composerv6-in-github-actions\\\/\",\"url\":\"https:\\\/\\\/wp-yoda.com\\\/en\\\/notices\\\/github-actions\\\/using-php-actions-composerv6-in-github-actions\\\/\",\"name\":\"Using php-actions\\\/composer@v6 in GitHub Actions - WP Yoda\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/wp-yoda.com\\\/en\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/wp-yoda.com\\\/en\\\/notices\\\/github-actions\\\/using-php-actions-composerv6-in-github-actions\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/wp-yoda.com\\\/en\\\/notices\\\/github-actions\\\/using-php-actions-composerv6-in-github-actions\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/wp-yoda.com\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/image-5.png\",\"datePublished\":\"2023-07-07T20:32:37+00:00\",\"dateModified\":\"2023-08-27T14:20:52+00:00\",\"description\":\"php-actions\\\/composer@v6 - is a GitHub action that allows you to install Composer packages to run linter, UnitTests, Integration Tests, static analyzers, or for building projects.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/wp-yoda.com\\\/en\\\/notices\\\/github-actions\\\/using-php-actions-composerv6-in-github-actions\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/wp-yoda.com\\\/en\\\/notices\\\/github-actions\\\/using-php-actions-composerv6-in-github-actions\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/wp-yoda.com\\\/en\\\/notices\\\/github-actions\\\/using-php-actions-composerv6-in-github-actions\\\/#primaryimage\",\"url\":\"https:\\\/\\\/wp-yoda.com\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/image-5.png\",\"contentUrl\":\"https:\\\/\\\/wp-yoda.com\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/image-5.png\",\"width\":2350,\"height\":1310,\"caption\":\"php-actions\\\/composer@v6\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/wp-yoda.com\\\/en\\\/notices\\\/github-actions\\\/using-php-actions-composerv6-in-github-actions\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/wp-yoda.com\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Notices\",\"item\":\"https:\\\/\\\/wp-yoda.com\\\/en\\\/notices\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Using php-actions\\\/composer@v6 in GitHub Actions\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/wp-yoda.com\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/wp-yoda.com\\\/en\\\/\",\"name\":\"WP Yoda\",\"description\":\"Notes about PHP, WordPress and IT\",\"publisher\":{\"@id\":\"https:\\\/\\\/wp-yoda.com\\\/en\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/wp-yoda.com\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/wp-yoda.com\\\/en\\\/#organization\",\"name\":\"WP Yoda\",\"url\":\"https:\\\/\\\/wp-yoda.com\\\/en\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/wp-yoda.com\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/wp-yoda.com\\\/en\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2023\\\/05\\\/Andrew_222_Master_Yoda__WordPress_plain_background_763a84a4-5042-4fac-9bdb-4562c05563e7.png\",\"contentUrl\":\"https:\\\/\\\/wp-yoda.com\\\/en\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2023\\\/05\\\/Andrew_222_Master_Yoda__WordPress_plain_background_763a84a4-5042-4fac-9bdb-4562c05563e7.png\",\"width\":1024,\"height\":1024,\"caption\":\"WP Yoda\"},\"image\":{\"@id\":\"https:\\\/\\\/wp-yoda.com\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Using php-actions\/composer@v6 in GitHub Actions - WP Yoda","description":"php-actions\/composer@v6 - is a GitHub action that allows you to install Composer packages to run linter, UnitTests, Integration Tests, static analyzers, or for building projects.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/wp-yoda.com\/en\/notices\/github-actions\/using-php-actions-composerv6-in-github-actions\/","og_locale":"en_US","og_type":"article","og_title":"Using php-actions\/composer@v6 in GitHub Actions - WP Yoda","og_description":"php-actions\/composer@v6 - is a GitHub action that allows you to install Composer packages to run linter, UnitTests, Integration Tests, static analyzers, or for building projects.","og_url":"https:\/\/wp-yoda.com\/en\/notices\/github-actions\/using-php-actions-composerv6-in-github-actions\/","og_site_name":"WP Yoda","article_modified_time":"2023-08-27T14:20:52+00:00","og_image":[{"width":2350,"height":1310,"url":"https:\/\/wp-yoda.com\/wp-content\/uploads\/2023\/07\/image-5.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/wp-yoda.com\/en\/notices\/github-actions\/using-php-actions-composerv6-in-github-actions\/","url":"https:\/\/wp-yoda.com\/en\/notices\/github-actions\/using-php-actions-composerv6-in-github-actions\/","name":"Using php-actions\/composer@v6 in GitHub Actions - WP Yoda","isPartOf":{"@id":"https:\/\/wp-yoda.com\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/wp-yoda.com\/en\/notices\/github-actions\/using-php-actions-composerv6-in-github-actions\/#primaryimage"},"image":{"@id":"https:\/\/wp-yoda.com\/en\/notices\/github-actions\/using-php-actions-composerv6-in-github-actions\/#primaryimage"},"thumbnailUrl":"https:\/\/wp-yoda.com\/wp-content\/uploads\/2023\/07\/image-5.png","datePublished":"2023-07-07T20:32:37+00:00","dateModified":"2023-08-27T14:20:52+00:00","description":"php-actions\/composer@v6 - is a GitHub action that allows you to install Composer packages to run linter, UnitTests, Integration Tests, static analyzers, or for building projects.","breadcrumb":{"@id":"https:\/\/wp-yoda.com\/en\/notices\/github-actions\/using-php-actions-composerv6-in-github-actions\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/wp-yoda.com\/en\/notices\/github-actions\/using-php-actions-composerv6-in-github-actions\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wp-yoda.com\/en\/notices\/github-actions\/using-php-actions-composerv6-in-github-actions\/#primaryimage","url":"https:\/\/wp-yoda.com\/wp-content\/uploads\/2023\/07\/image-5.png","contentUrl":"https:\/\/wp-yoda.com\/wp-content\/uploads\/2023\/07\/image-5.png","width":2350,"height":1310,"caption":"php-actions\/composer@v6"},{"@type":"BreadcrumbList","@id":"https:\/\/wp-yoda.com\/en\/notices\/github-actions\/using-php-actions-composerv6-in-github-actions\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/wp-yoda.com\/en\/"},{"@type":"ListItem","position":2,"name":"Notices","item":"https:\/\/wp-yoda.com\/en\/notices\/"},{"@type":"ListItem","position":3,"name":"Using php-actions\/composer@v6 in GitHub Actions"}]},{"@type":"WebSite","@id":"https:\/\/wp-yoda.com\/en\/#website","url":"https:\/\/wp-yoda.com\/en\/","name":"WP Yoda","description":"Notes about PHP, WordPress and IT","publisher":{"@id":"https:\/\/wp-yoda.com\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/wp-yoda.com\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/wp-yoda.com\/en\/#organization","name":"WP Yoda","url":"https:\/\/wp-yoda.com\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wp-yoda.com\/en\/#\/schema\/logo\/image\/","url":"https:\/\/wp-yoda.com\/en\/wp-content\/uploads\/sites\/2\/2023\/05\/Andrew_222_Master_Yoda__WordPress_plain_background_763a84a4-5042-4fac-9bdb-4562c05563e7.png","contentUrl":"https:\/\/wp-yoda.com\/en\/wp-content\/uploads\/sites\/2\/2023\/05\/Andrew_222_Master_Yoda__WordPress_plain_background_763a84a4-5042-4fac-9bdb-4562c05563e7.png","width":1024,"height":1024,"caption":"WP Yoda"},"image":{"@id":"https:\/\/wp-yoda.com\/en\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/wp-yoda.com\/en\/wp-json\/wp\/v2\/notices\/235","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp-yoda.com\/en\/wp-json\/wp\/v2\/notices"}],"about":[{"href":"https:\/\/wp-yoda.com\/en\/wp-json\/wp\/v2\/types\/notices"}],"author":[{"embeddable":true,"href":"https:\/\/wp-yoda.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp-yoda.com\/en\/wp-json\/wp\/v2\/comments?post=235"}],"version-history":[{"count":0,"href":"https:\/\/wp-yoda.com\/en\/wp-json\/wp\/v2\/notices\/235\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wp-yoda.com\/en\/wp-json\/wp\/v2\/media\/224"}],"wp:attachment":[{"href":"https:\/\/wp-yoda.com\/en\/wp-json\/wp\/v2\/media?parent=235"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp-yoda.com\/en\/wp-json\/wp\/v2\/tags?post=235"},{"taxonomy":"notice_category","embeddable":true,"href":"https:\/\/wp-yoda.com\/en\/wp-json\/wp\/v2\/notice_category?post=235"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}