{"id":405770,"date":"2024-06-29T18:31:25","date_gmt":"2024-06-29T18:31:25","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=405770"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=405770","title":{"rendered":"<span>CodeIgniter 4. Prelude to PHPUnit<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/c7a\/788\/52d\/c7a78852d462581c12f702279a249c5b.png\" alt=\"Copyright XAMPP Logo (www.apachefriends.org), Copyright Xdebug Logo (xdebug.org)\" title=\"Copyright XAMPP Logo (www.apachefriends.org), Copyright Xdebug Logo (xdebug.org)\" width=\"300\" height=\"111\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/c7a\/788\/52d\/c7a78852d462581c12f702279a249c5b.png\"\/><figcaption>Copyright XAMPP Logo (www.apachefriends.org), Copyright Xdebug Logo (xdebug.org)<\/figcaption><\/figure>\n<h2>Thanks for your feedbacks<\/h2>\n<p>I thank the members of the Habr community for their benevolent attitude to the article by the author \u00ab<a href=\"https:\/\/habr.com\/ru\/post\/568252\/\" rel=\"noopener noreferrer nofollow\">Speed Dating with the CodeIgniter 4 on GitHub<\/a>\u00bb in the form of votes and comments.<\/p>\n<p>The friendly attitude to the author prompted him to continue developing a topic dedicated to PHPUnit as part of <a href=\"https:\/\/codeigniter.com\/download\" rel=\"noopener noreferrer nofollow\">CodeIgniter<\/a> 4.<\/p>\n<h2>Install Xdebug on XAMPP (Windows 32-bit (x86))<\/h2>\n<p>1. Why <a href=\"https:\/\/xdebug.org\/\" rel=\"noopener noreferrer nofollow\">Xdebug<\/a>? In <a href=\"https:\/\/github.com\/codeigniter4\/appstarter\" rel=\"noopener noreferrer nofollow\">GitHub <\/a>in file \u00ab<a href=\"https:\/\/github.com\/codeigniter4\/appstarter\/blob\/master\/tests\/README.md\" rel=\"noopener noreferrer nofollow\"><u>appstarter\/tests\/README.md<\/u><\/a>\u00bb in the \u00abRequirements\u00bb section explicitly states: \u00abYou also need to install XDebug to successfully calculate code coverage\u00bb.<\/p>\n<p>2. Although the Codeigniter4 documentation itself mentions Xdebug once, and then only in passing, in the \u00abReplace var_dump\u00bb section, it seems reasonable to follow the technical documentation on GitHub. Therefore, it is advisable to install Xdebug on your local computer in XAMPP.<\/p>\n<p>3. <a href=\"https:\/\/www.apachefriends.org\/index.html\" rel=\"noopener noreferrer nofollow\">XAMPP<\/a> with PHP 7.* for Win 32 (x86) was chosen to illustrate the fact that CodeIgniter 4 allows you to solve web development tasks even on computers with minimal configuration.<\/p>\n<p>4. The author of this article was greatly helped in solving this issue by acquaintance with the following articles:<\/p>\n<ul>\n<li>\n<p>\u00ab<a href=\"https:\/\/gist.github.com\/odan\/1abe76d373a9cbb15bed\" rel=\"noopener noreferrer nofollow\">Installing Xdebug for XAMPP with PHP 7.x<\/a>\u00bb, odan, 2021. (I put star on Github. I was <a href=\"https:\/\/gist.github.com\/odan\/1abe76d373a9cbb15bed\/stargazers?page=25\" rel=\"noopener noreferrer nofollow\">1225<\/a>th.)<\/p>\n<\/li>\n<li>\n<p>\u00ab<a href=\"https:\/\/medium.com\/d6-digital\/installing-xdebug-for-xampp-with-php-in-windows-d2b750861118\" rel=\"noopener noreferrer nofollow\">Installing XDEBUG for XAMPP with PHP in Windows<\/a>\u00bb, Ahmed Thaajwer, 2019.<\/p>\n<\/li>\n<\/ul>\n<h2>Formulation of the task<\/h2>\n<ul>\n<li>\n<p>Install <code>Xdebug<\/code><\/p>\n<\/li>\n<li>\n<p>in <code>XAMPP<\/code> on a local <code>Win x86<\/code> <code>(32-bit)<\/code><\/p>\n<\/li>\n<li>\n<p>with <code>PHP 7.*<\/code> .<\/p>\n<\/li>\n<li>\n<p>Install, if required in the process, the file <code>vc_redist.x86.exe<\/code><\/p>\n<p>from\u00a0\u00ab<a href=\"https:\/\/support.microsoft.com\/en-us\/topic\/the-latest-supported-visual-c-downloads-2647da03-1eea-4433-9aff-95f26a218cc0\" rel=\"noopener noreferrer nofollow\">The latest supported Visual C++ downloads<\/a>\u00bb.<\/p>\n<\/li>\n<li>\n<p>This article uses <a href=\"https:\/\/gitforwindows.org\/\" rel=\"noopener noreferrer nofollow\">Git Bash<\/a>.<\/p>\n<\/li>\n<\/ul>\n<h2>Solution of the task<\/h2>\n<h2>Step. 1. Testing the presence of Xdebug<\/h2>\n<ul>\n<li>\n<p>Start (restart) <code>XAMPP<\/code>.<\/p>\n<\/li>\n<li>\n<p>Open <code>Git Bash<\/code> in any directory (folder).<\/p>\n<\/li>\n<li>\n<p>In the Git Bush <code>command line<\/code>, run the command with the option<br \/><code>php -v<\/code><\/p>\n<\/li>\n<\/ul>\n<p>If you have something like this:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/4cb\/589\/712\/4cb58971273675a1af9b55b68c290109.png\" width=\"620\" height=\"150\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/4cb\/589\/712\/4cb58971273675a1af9b55b68c290109.png\"\/><figcaption><\/figcaption><\/figure>\n<p>, then X is absent.<\/p>\n<p>(Successful testing of the Xdebug is presented at the end of the article in step 5.)<\/p>\n<h2>Step 2. Download the dynamic library Xdebug<\/h2>\n<p>On the Xdebug website, on the \u00ab<a href=\"https:\/\/xdebug.org\/download\" rel=\"noopener noreferrer nofollow\">Downloads<\/a>\u00bb page in the \u00abLatest Release\u00bb chapter and in the \u00abWindows binaries\u00bb section, select the link for downloading the dynamic library that is actual for you:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/4df\/457\/97f\/4df45797ff4f1fbab4cd497432468a6b.png\" width=\"884\" height=\"464\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/4df\/457\/97f\/4df45797ff4f1fbab4cd497432468a6b.png\"\/><figcaption><\/figcaption><\/figure>\n<p>To continue working within the framework of this article, the Windows binaries are relevant:<\/p>\n<p><code>PHP 7.3 VC15 TS (32 bit)<\/code> .<\/p>\n<h2>Step 3. Move the downloaded file of *.dll to pathBeforeYourXAMPP\\xampp\\php\\ext\\<\/h2>\n<p>The downloaded file in our case is <code>php_xdebug-2.9.7-7.3-vc15.dll<\/code><\/p>\n<p>move (copy) to the directory <code>pathBeforeYourXAMPP\\xampp\\php\\ext\\<\/code> .<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/175\/8ba\/ac2\/1758baac210a0ecfe6111be67d89c42d.png\" width=\"748\" height=\"662\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/175\/8ba\/ac2\/1758baac210a0ecfe6111be67d89c42d.png\"\/><figcaption><\/figcaption><\/figure>\n<h2>Step 4. Editing the php.ini file<\/h2>\n<ul>\n<li>\n<p>Open in your favorite editor the file <code>pathBeforeYourXAMPP\\xampp\\php\\php.ini<\/code> <\/p>\n<\/li>\n<\/ul>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/882\/551\/449\/8825514493df1f57a829fa17009a40e3.png\" width=\"749\" height=\"662\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/882\/551\/449\/8825514493df1f57a829fa17009a40e3.png\"\/><figcaption><\/figcaption><\/figure>\n<ul>\n<li>\n<p>Find and Disable Output Buffering <code>output_buffering = Off<\/code> <\/p>\n<\/li>\n<\/ul>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/652\/e2e\/a67\/652e2ea67121b49cabf409447d4eea21.png\" width=\"720\" height=\"514\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/652\/e2e\/a67\/652e2ea67121b49cabf409447d4eea21.png\"\/><figcaption><\/figcaption><\/figure>\n<ul>\n<li>\n<p>Scroll down to the \u00abXDebug\u00bb section (or create one) and copy \/ paste the lines below:<\/p>\n<p><code>[XDebug]<br \/>zend_extension=\"c:\\xampp\\php\\ext\\php_xdebug-2.9.7-7.3-vc15.dll\" <br \/>xdebug.remote_autostart=1 xdebug.profiler_append=0 <br \/>xdebug.profiler_enable=0 xdebug.profiler_enable_trigger=0 <br \/>xdebug.profiler_output_dir=\"c:\\xampp\\tmp\" <br \/>;xdebug.profiler_output_name=\"cachegrind.out.%t-%s\" <br \/>xdebug.remote_enable=1 xdebug.remote_handler=\"dbgp\" <br \/>xdebug.remote_host=\"127.0.0.1\" <br \/>xdebug.remote_log=\"c:\\xampp\\tmp\\xdebug.txt\" xdebug.remote_port=9000 <br \/>xdebug.trace_output_dir=\"c:\\xampp\\tmp\"<br \/>;36000=10h<br \/>xdebug.remote_cookie_expire_time=36000<\/code>  <\/p>\n<\/li>\n<\/ul>\n<p>We get something like this:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/045\/13b\/f2d\/04513bf2deef6b4e9a06fe9a77c8bbd8.png\" width=\"712\" height=\"441\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/045\/13b\/f2d\/04513bf2deef6b4e9a06fe9a77c8bbd8.png\"\/><figcaption><\/figcaption><\/figure>\n<h3>Step 5.\u00a0Testing the presence of Xdebug<\/h3>\n<ul>\n<li>\n<p>Start (restart) <code>XAMPP<\/code>.<\/p>\n<\/li>\n<li>\n<p>Open <code>Git Bash<\/code> in any directory (folder).<\/p>\n<\/li>\n<li>\n<p>In the Git Bush <code>command line<\/code>, run the command with the option<br \/><code>php -v<\/code><\/p>\n<\/li>\n<\/ul>\n<p>If you have something like this:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/45a\/10a\/05b\/45a10a05bca8a32677b59a1c9bc9d9a9.png\" width=\"620\" height=\"150\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/45a\/10a\/05b\/45a10a05bca8a32677b59a1c9bc9d9a9.png\"\/><figcaption><\/figcaption><\/figure>\n<p><code>with Xdebug v2.9.7<\/code>  ,<\/p>\n<p>then it all worked.<\/p>\n<h2>P.S.<\/h2>\n<p>Sometimes, if you get an error, check your file <code>php.ini<\/code>  .<\/p>\n<p>It is possible that there is additional \u00abzend_extension\u00bb code in the file<br \/> <code>zend_extension=...<\/code>  ,<\/p>\n<p> then it needs to be commented out \u00ab;\u00bb <br \/><code>;zend_extension=...<\/code>  .<\/p>\n<p>I would be glad if this post turns out to be useful to someone (and sorry for my English).<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/573376\/\"> https:\/\/habr.com\/ru\/articles\/573376\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<figure class=\"\"><figcaption>Copyright XAMPP Logo (www.apachefriends.org), Copyright Xdebug Logo (xdebug.org)<\/figcaption><\/figure>\n<h2>Thanks for your feedbacks<\/h2>\n<p>I thank the members of the Habr community for their benevolent attitude to the article by the author \u00ab<a href=\"https:\/\/habr.com\/ru\/post\/568252\/\" rel=\"noopener noreferrer nofollow\">Speed Dating with the CodeIgniter 4 on GitHub<\/a>\u00bb in the form of votes and comments.<\/p>\n<p>The friendly attitude to the author prompted him to continue developing a topic dedicated to PHPUnit as part of <a href=\"https:\/\/codeigniter.com\/download\" rel=\"noopener noreferrer nofollow\">CodeIgniter<\/a> 4.<\/p>\n<h2>Install Xdebug on XAMPP (Windows 32-bit (x86))<\/h2>\n<p>1. Why <a href=\"https:\/\/xdebug.org\/\" rel=\"noopener noreferrer nofollow\">Xdebug<\/a>? In <a href=\"https:\/\/github.com\/codeigniter4\/appstarter\" rel=\"noopener noreferrer nofollow\">GitHub <\/a>in file \u00ab<a href=\"https:\/\/github.com\/codeigniter4\/appstarter\/blob\/master\/tests\/README.md\" rel=\"noopener noreferrer nofollow\"><u>appstarter\/tests\/README.md<\/u><\/a>\u00bb in the \u00abRequirements\u00bb section explicitly states: \u00abYou also need to install XDebug to successfully calculate code coverage\u00bb.<\/p>\n<p>2. Although the Codeigniter4 documentation itself mentions Xdebug once, and then only in passing, in the \u00abReplace var_dump\u00bb section, it seems reasonable to follow the technical documentation on GitHub. Therefore, it is advisable to install Xdebug on your local computer in XAMPP.<\/p>\n<p>3. <a href=\"https:\/\/www.apachefriends.org\/index.html\" rel=\"noopener noreferrer nofollow\">XAMPP<\/a> with PHP 7.* for Win 32 (x86) was chosen to illustrate the fact that CodeIgniter 4 allows you to solve web development tasks even on computers with minimal configuration.<\/p>\n<p>4. The author of this article was greatly helped in solving this issue by acquaintance with the following articles:<\/p>\n<ul>\n<li>\n<p>\u00ab<a href=\"https:\/\/gist.github.com\/odan\/1abe76d373a9cbb15bed\" rel=\"noopener noreferrer nofollow\">Installing Xdebug for XAMPP with PHP 7.x<\/a>\u00bb, odan, 2021. (I put star on Github. I was <a href=\"https:\/\/gist.github.com\/odan\/1abe76d373a9cbb15bed\/stargazers?page=25\" rel=\"noopener noreferrer nofollow\">1225<\/a>th.)<\/p>\n<\/li>\n<li>\n<p>\u00ab<a href=\"https:\/\/medium.com\/d6-digital\/installing-xdebug-for-xampp-with-php-in-windows-d2b750861118\" rel=\"noopener noreferrer nofollow\">Installing XDEBUG for XAMPP with PHP in Windows<\/a>\u00bb, Ahmed Thaajwer, 2019.<\/p>\n<\/li>\n<\/ul>\n<h2>Formulation of the task<\/h2>\n<ul>\n<li>\n<p>Install <code>Xdebug<\/code><\/p>\n<\/li>\n<li>\n<p>in <code>XAMPP<\/code> on a local <code>Win x86<\/code> <code>(32-bit)<\/code><\/p>\n<\/li>\n<li>\n<p>with <code>PHP 7.*<\/code> .<\/p>\n<\/li>\n<li>\n<p>Install, if required in the process, the file <code>vc_redist.x86.exe<\/code><\/p>\n<p>from\u00a0\u00ab<a href=\"https:\/\/support.microsoft.com\/en-us\/topic\/the-latest-supported-visual-c-downloads-2647da03-1eea-4433-9aff-95f26a218cc0\" rel=\"noopener noreferrer nofollow\">The latest supported Visual C++ downloads<\/a>\u00bb.<\/p>\n<\/li>\n<li>\n<p>This article uses <a href=\"https:\/\/gitforwindows.org\/\" rel=\"noopener noreferrer nofollow\">Git Bash<\/a>.<\/p>\n<\/li>\n<\/ul>\n<h2>Solution of the task<\/h2>\n<h2>Step. 1. Testing the presence of Xdebug<\/h2>\n<ul>\n<li>\n<p>Start (restart) <code>XAMPP<\/code>.<\/p>\n<\/li>\n<li>\n<p>Open <code>Git Bash<\/code> in any directory (folder).<\/p>\n<\/li>\n<li>\n<p>In the Git Bush <code>command line<\/code>, run the command with the option<br \/><code>php -v<\/code><\/p>\n<\/li>\n<\/ul>\n<p>If you have something like this:<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>, then X is absent.<\/p>\n<p>(Successful testing of the Xdebug is presented at the end of the article in step 5.)<\/p>\n<h2>Step 2. Download the dynamic library Xdebug<\/h2>\n<p>On the Xdebug website, on the \u00ab<a href=\"https:\/\/xdebug.org\/download\" rel=\"noopener noreferrer nofollow\">Downloads<\/a>\u00bb page in the \u00abLatest Release\u00bb chapter and in the \u00abWindows binaries\u00bb section, select the link for downloading the dynamic library that is actual for you:<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>To continue working within the framework of this article, the Windows binaries are relevant:<\/p>\n<p><code>PHP 7.3 VC15 TS (32 bit)<\/code> .<\/p>\n<h2>Step 3. Move the downloaded file of *.dll to pathBeforeYourXAMPP\\xampp\\php\\ext\\<\/h2>\n<p>The downloaded file in our case is <code>php_xdebug-2.9.7-7.3-vc15.dll<\/code><\/p>\n<p>move (copy) to the directory <code>pathBeforeYourXAMPP\\xampp\\php\\ext\\<\/code> .<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<h2>Step 4. Editing the php.ini file<\/h2>\n<ul>\n<li>\n<p>Open in your favorite editor the file <code>pathBeforeYourXAMPP\\xampp\\php\\php.ini<\/code> <\/p>\n<\/li>\n<\/ul>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<ul>\n<li>\n<p>Find and Disable Output Buffering <code>output_buffering = Off<\/code> <\/p>\n<\/li>\n<\/ul>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<ul>\n<li>\n<p>Scroll down to the \u00abXDebug\u00bb section (or create one) and copy \/ paste the lines below:<\/p>\n<p><code>[XDebug]<br \/>zend_extension=\"c:\\xampp\\php\\ext\\php_xdebug-2.9.7-7.3-vc15.dll\" <br \/>xdebug.remote_autostart=1 xdebug.profiler_append=0 <br \/>xdebug.profiler_enable=0 xdebug.profiler_enable_trigger=0 <br \/>xdebug.profiler_output_dir=\"c:\\xampp\\tmp\" <br \/>;xdebug.profiler_output_name=\"cachegrind.out.%t-%s\" <br \/>xdebug.remote_enable=1 xdebug.remote_handler=\"dbgp\" <br \/>xdebug.remote_host=\"127.0.0.1\" <br \/>xdebug.remote_log=\"c:\\xampp\\tmp\\xdebug.txt\" xdebug.remote_port=9000 <br \/>xdebug.trace_output_dir=\"c:\\xampp\\tmp\"<br \/>;36000=10h<br \/>xdebug.remote_cookie_expire_time=36000<\/code>  <\/p>\n<\/li>\n<\/ul>\n<p>We get something like this:<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<h3>Step 5.\u00a0Testing the presence of Xdebug<\/h3>\n<ul>\n<li>\n<p>Start (restart) <code>XAMPP<\/code>.<\/p>\n<\/li>\n<li>\n<p>Open <code>Git Bash<\/code> in any directory (folder).<\/p>\n<\/li>\n<li>\n<p>In the Git Bush <code>command line<\/code>, run the command with the option<br \/><code>php -v<\/code><\/p>\n<\/li>\n<\/ul>\n<p>If you have something like this:<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p><code>with Xdebug v2.9.7<\/code>  ,<\/p>\n<p>then it all worked.<\/p>\n<h2>P.S.<\/h2>\n<p>Sometimes, if you get an error, check your file <code>php.ini<\/code>  .<\/p>\n<p>It is possible that there is additional \u00abzend_extension\u00bb code in the file<br \/> <code>zend_extension=...<\/code>  ,<\/p>\n<p> then it needs to be commented out \u00ab;\u00bb <br \/><code>;zend_extension=...<\/code>  .<\/p>\n<p>I would be glad if this post turns out to be useful to someone (and sorry for my English).<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/573376\/\"> https:\/\/habr.com\/ru\/articles\/573376\/<\/a><br \/><\/br><\/br><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-405770","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/405770","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=405770"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/405770\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=405770"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=405770"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=405770"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}