{"id":23125,"date":"2024-11-21T16:28:17","date_gmt":"2024-11-21T08:28:17","guid":{"rendered":"https:\/\/fwq.ai\/blog\/23125\/"},"modified":"2024-11-21T16:28:17","modified_gmt":"2024-11-21T08:28:17","slug":"laravel%e5%90%8e%e7%ab%af%e6%95%b0%e6%8d%ae%e5%ba%93%e6%90%ad%e5%bb%ba%e6%b5%81%e7%a8%8b","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/23125\/","title":{"rendered":"laravel\u540e\u7aef\u6570\u636e\u5e93\u642d\u5efa\u6d41\u7a0b"},"content":{"rendered":"<p>laravel\u662f\u4e00\u4e2a\u975e\u5e38\u6d41\u884c\u7684php\u6846\u67b6\uff0c\u4e14\u5728web\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u65b9\u9762\u63d0\u4f9b\u4e86\u5f88\u591a\u4fbf\u5229\u3002laravel\u652f\u6301\u8bb8\u591a\u6570\u636e\u5e93\u6280\u672f\uff0c\u5305\u62ecmysql\u3001postgresql\u548csqlite\u3002\u672c\u7bc7\u6587\u7ae0\u5c06\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528laravel\u4e0emysql\u6570\u636e\u5e93\u8fdb\u884c\u4ea4\u4e92\uff0c\u4e3b\u8981\u5305\u62ec\u4ee5\u4e0b\u51e0\u4e2a\u6b65\u9aa4\uff1a<\/p>\n<ol>\n<li>\u5b89\u88c5MySQL<\/li>\n<li>\u521b\u5efa\u6570\u636e\u5e93<\/li>\n<li>\u914d\u7f6eLaravel\u73af\u5883\u53d8\u91cf<\/li>\n<li>\u521b\u5efa\u8fc1\u79fb<\/li>\n<li>\u8fd0\u884c\u8fc1\u79fb<\/li>\n<li>\u5b89\u88c5MySQL<\/li>\n<\/ol>\n<p>\u9996\u5148\u8981\u5728\u672c\u5730\u8ba1\u7b97\u673a\u4e0a\u5b89\u88c5MySQL\uff0c\u53ef\u4ee5\u4f7f\u7528\u5b98\u65b9\u7684MySQL\u5b89\u88c5\u7a0b\u5e8f\uff0c\u6216\u8005\u4f7f\u7528\u7c7b\u4f3cXAMPP\u7684\u8f6f\u4ef6\u5305\u3002\u4e3a\u4e86\u4f7f\u7528Laravel\uff0c\u9700\u8981\u5c06MySQL\u7684\u5b89\u88c5\u8def\u5f84\u6dfb\u52a0\u5230\u8ba1\u7b97\u673a\u7684\u73af\u5883\u53d8\u91cf\u4e2d\u3002\u5728Windows\u7cfb\u7edf\u4e0a\uff0c\u53ef\u4ee5\u8fd9\u6837\u64cd\u4f5c\uff1a<\/p>\n<p>1\uff09\u6253\u5f00\u63a7\u5236\u9762\u677f -&gt; \u7cfb\u7edf\u4e0e\u5b89\u5168 -&gt; \u7cfb\u7edf -&gt; \u9ad8\u7ea7\u7cfb\u7edf\u8bbe\u7f6e -&gt; \u73af\u5883\u53d8\u91cf<\/p>\n<p>2\uff09\u5728\u201c\u7cfb\u7edf\u53d8\u91cf\u201d\u4e2d\uff0c\u627e\u5230\u201cPath\u201d\uff0c\u5e76\u5c06MySQL\u7684bin\u6587\u4ef6\u5939\u8def\u5f84\u6dfb\u52a0\u5230\u672b\u5c3e\u3002\u4f8b\u5982\uff1a<\/p>\n<pre>C:Program FilesMySQLMySQL Server 8.0in;<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<ol>\n<li>\u521b\u5efa\u6570\u636e\u5e93<\/li>\n<\/ol>\n<p>\u4f7f\u7528MySQL\u5ba2\u6237\u7aef\u7a0b\u5e8f\uff08\u6bd4\u5982MySQL\u547d\u4ee4\u884c\u5ba2\u6237\u7aef\u6216phpMyAdmin\uff09\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u6570\u636e\u5e93\uff0c\u4f8b\u5982\uff1a<\/p>\n<pre>CREATE DATABASE laravel_db;<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<p>\u63a5\u4e0b\u6765\uff0c\u9700\u8981\u5728Laravel\u9879\u76ee\u4e2d\u8bbe\u7f6e\u6570\u636e\u5e93\u8fde\u63a5\u3002<\/p>\n<ol>\n<li>\u914d\u7f6eLaravel\u73af\u5883\u53d8\u91cf<\/li>\n<\/ol>\n<p>\u4f7f\u7528\u6587\u672c\u7f16\u8f91\u5668\u6253\u5f00Laravel\u9879\u76ee\u7684.env\u6587\u4ef6\uff0c\u8fd9\u662fLaravel\u4f7f\u7528\u7684\u73af\u5883\u53d8\u91cf\u6587\u4ef6\u3002\u5728\u8be5\u6587\u4ef6\u4e2d\uff0c\u53ef\u4ee5\u8bbe\u7f6e\u5e94\u7528\u7a0b\u5e8f\u6240\u9700\u7684\u5404\u79cd\u53d8\u91cf\u548c\u53c2\u6570\uff0c\u5305\u62ec\u6570\u636e\u5e93\u8fde\u63a5\u4fe1\u606f\u3002<\/p>\n<pre>DB_CONNECTION=mysql\nDB_HOST=127.0.0.1\nDB_PORT=3306\nDB_DATABASE=laravel_db\nDB_USERNAME=root\nDB_PASSWORD=<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<p>\u8fd9\u4e9b\u53c2\u6570\u6bd4\u8f83\u5bb9\u6613\u7406\u89e3\u3002DB_CONNECTION\u6307\u5b9a\u4f7f\u7528\u54ea\u79cd\u6570\u636e\u5e93\u7cfb\u7edf\uff0c\u4f8b\u5982MySQL\uff1bDB_HOST\u3001DB_PORT\u548cDB_DATABASE\u6307\u5b9a\u8fde\u63a5MySQL\u7684\u4e3b\u673a\u540d\u3001\u7aef\u53e3\u53f7\u548c\u6570\u636e\u5e93\u540d\u79f0\uff0c\u800cDB_USERNAME\u548cDB_PASSWORD\u5219\u662f\u8fde\u63a5\u7528\u6237\u540d\u548c\u5bc6\u7801\u3002\u5fc5\u987b\u786e\u4fdd\u8fd9\u4e9b\u503c\u4e0eMySQL\u7684\u914d\u7f6e\u76f8\u5339\u914d\uff0c\u624d\u53ef\u4ee5\u6210\u529f\u8fde\u63a5\u5230\u6570\u636e\u5e93\u3002<\/p>\n<ol>\n<li>\u521b\u5efa\u8fc1\u79fb<\/li>\n<\/ol>\n<p>\u8fc1\u79fb\u662fLaravel\u4e2d\u6570\u636e\u8868\u7684\u521b\u5efa\u3001\u4fee\u6539\u548c\u5220\u9664\u7684\u673a\u5236\u3002\u901a\u8fc7\u8fc1\u79fb\uff0c\u53ef\u4ee5\u5728\u4efb\u4f55\u73af\u5883\u4e2d\u5b8c\u6210\u8fd9\u4e9b\u64cd\u4f5c\uff0c\u5e76\u8f7b\u677e\u5730\u5c06\u8fd9\u4e9b\u66f4\u6539\u5e94\u7528\u4e8e\u4e0d\u540c\u7684\u670d\u52a1\u5668\u3002<\/p>\n<p>\u5728Laravel\u4e2d\uff0c\u8fc1\u79fb\u5b58\u50a8\u5728database\/migrations\u76ee\u5f55\u4e2d\u3002\u53ef\u4ee5\u4f7f\u7528Artisan\u547d\u4ee4\u884c\u5de5\u5177\u521b\u5efa\u65b0\u7684\u8fc1\u79fb\u6587\u4ef6\u3002\u6bd4\u5982\uff0c\u4e0b\u9762\u8fd9\u4e2a\u547d\u4ee4\u5c06\u521b\u5efa\u4e00\u4e2a\u521b\u5efausers\u8868\u7684\u8fc1\u79fb\uff1a<\/p>\n<pre>php artisan make:migration create_users_table<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<p>\u8fd9\u5c06\u5728migrations\u76ee\u5f55\u4e2d\u521b\u5efa\u4e00\u4e2a\u65b0\u6587\u4ef6\uff0c\u540d\u4e3a2020_07_30_135314_create_users_table.php\uff08\u65f6\u95f4\u6233\u53ef\u80fd\u4f1a\u6709\u6240\u4e0d\u540c\uff09\u3002\u6253\u5f00\u8be5\u6587\u4ef6\u53ef\u4ee5\u770b\u5230Laravel\u63d0\u4f9b\u4e86\u4e00\u4e9b\u6a21\u677f\u4ee3\u7801\u3002<\/p>\n<pre>&lt;?php use IlluminateDatabaseMigrationsMigration;\nuse IlluminateDatabaseSchemaBlueprint;\nuse IlluminateSupportFacadesSchema;\n\nclass CreateUsersTable extends Migration\n{\n    \/**\n     * Run the migrations.\n     *\n     * @return void\n     *\/\n    public function up()\n    {\n        Schema::create('users', function (Blueprint $table) {\n            $table-&gt;id();\n            $table-&amp;gt;string('name');\n            $table-&amp;gt;string('email')-&amp;gt;unique();\n            $table-&amp;gt;timestamp('email_verified_at')-&amp;gt;nullable();\n            $table-&amp;gt;string('password');\n            $table-&amp;gt;rememberToken();\n            $table-&amp;gt;timestamps();\n        });\n    }\n\n    \/**\n     * Reverse the migrations.\n     *\n     * @return void\n     *\/\n    public function down()\n    {\n        Schema::dropIfExists('users');\n    }\n}<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<p>\u8fd9\u6bb5\u4ee3\u7801\u5728up()\u65b9\u6cd5\u4e2d\u5b9a\u4e49\u4e86\u4e00\u4e2a\u540d\u4e3ausers\u7684\u8868\uff0c\u5e76\u6307\u5b9a\u4e86\u8be5\u8868\u7684\u5404\u4e2a\u5b57\u6bb5\u3002id()\u65b9\u6cd5\u5b9a\u4e49\u4e86\u4e3b\u952e\uff0cname()\u548cemail()\u65b9\u6cd5\u5b9a\u4e49\u4e86\u666e\u901a\u5b57\u7b26\u4e32\u5b57\u6bb5\uff0ctimestamp()\u65b9\u6cd5\u5b9a\u4e49\u4e86\u65f6\u95f4\u6233\uff0crememberToken()\u65b9\u6cd5\u5b9a\u4e49\u4e86\u7528\u4e8e\u201c\u8bb0\u4f4f\u6211\u201d\u673a\u5236\u7684token\u5b57\u6bb5\uff0c\u6700\u540e\u4e00\u4e2atimestamps()\u65b9\u6cd5\u5b9a\u4e49\u4e86\u4e24\u4e2a\u65f6\u95f4\u6233\u5b57\u6bb5\uff08created_at\u548cupdated_at\uff09\u3002<\/p>\n<p>\u53ef\u4ee5\u6839\u636e\u9700\u8981\u4fee\u6539\u8fd9\u4e2a\u6a21\u677f\u4ee3\u7801\uff0c\u4f8b\u5982\u6dfb\u52a0\u5176\u4ed6\u5b57\u6bb5\u6216\u4fee\u6539\u73b0\u6709\u5b57\u6bb5\u3002\u4e00\u65e6\u51c6\u5907\u597d\u4e86\u8fc1\u79fb\uff0c\u5c31\u53ef\u4ee5\u8fd0\u884c\u5b83\u3002<\/p>\n<ol>\n<li>\u8fd0\u884c\u8fc1\u79fb<\/li>\n<\/ol>\n<p>\u4e3a\u4e86\u5728\u6570\u636e\u5e93\u4e2d\u521b\u5efausers\u8868\uff0c\u9700\u8981\u8fd0\u884cLaravel\u7684\u8fc1\u79fb\u673a\u5236\u3002\u53ef\u4ee5\u4f7f\u7528\u4e0b\u9762\u7684Artisan\u547d\u4ee4\u884c\u5de5\u5177\u8fd0\u884c\u6307\u5b9a\u7684\u8fc1\u79fb\u6587\u4ef6\uff1a<\/p>\n<pre>php artisan migrate --path=\/database\/migrations\/create_users_table.php<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<p>\u8be5\u547d\u4ee4\u5c06\u6253\u5370\u8f93\u51fa\u8fc1\u79fb\u7684\u72b6\u6001\uff0c\u5305\u62ec\u6267\u884c\u6210\u529f\u8fd8\u662f\u5931\u8d25\uff0c\u4ee5\u53ca\u5bf9\u90a3\u4e9b\u8868\u505a\u4e86\u5b9e\u9645\u7684\u4fee\u6539\u3002<\/p>\n<p>\u73b0\u5728\uff0c\u5c31\u53ef\u4ee5\u5728Laravel\u4e2d\u4f7f\u7528users\u8868\u4e86\u3002\u53ef\u4ee5\u5728\u63a7\u5236\u5668\u3001\u6a21\u578b\u6216\u5176\u4ed6\u90e8\u5206\u4e2d\u4f7f\u7528Eloquent\u5bf9\u8c61\uff0c\u5c06\u6570\u636e\u63d2\u5165\u8868\u4e2d\u3001\u67e5\u8be2\u548c\u67e5\u8be2\u8868\u4e2d\u7684\u6570\u636e\u3001\u66f4\u65b0\u6570\u636e\u7b49\u3002<\/p>\n<p>\u603b\u7ed3<\/p>\n<p>\u4ee5\u4e0a\u5c31\u662fLaravel\u540e\u7aef\u6570\u636e\u5e93\u642d\u5efa\u7684\u6d41\u7a0b\u3002\u5728\u5b9e\u9645\u4f7f\u7528\u65f6\uff0c\u8fd8\u9700\u8981\u66f4\u6df1\u5165\u5730\u4e86\u89e3Eloquent\u7684\u4f7f\u7528\u65b9\u6cd5\uff0c\u4ee5\u53ca\u5982\u4f55\u4e0eMySQL\u3001PostgreSQL\u7b49\u6570\u636e\u5e93\u7cfb\u7edf\u8fdb\u884c\u66f4\u9ad8\u7ea7\u548c\u66f4\u590d\u6742\u7684\u4ea4\u4e92\u3002\u5982\u679c\u4f7f\u7528Laravel\u6784\u5efa\u4e00\u4e2a\u5927\u578b\u7684web\u5e94\u7528\u7a0b\u5e8f\uff0c\u8fd9\u4e9b\u77e5\u8bc6\u70b9\u90fd\u662f\u975e\u5e38\u91cd\u8981\u7684\u3002<\/p>\n<p>\u4ee5\u4e0a\u5c31\u662flaravel\u540e\u7aef\u6570\u636e\u5e93\u642d\u5efa\u6d41\u7a0b\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>laravel\u662f\u4e00\u4e2a\u975e\u5e38\u6d41\u884c\u7684php\u6846\u67b6\uff0c\u4e14\u5728web\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u65b9\u9762\u63d0\u4f9b\u4e86\u5f88\u591a\u4fbf\u5229\u3002laravel\u652f\u6301\u8bb8\u591a\u6570\u636e\u5e93\u6280\u672f\uff0c\u5305\u62ecmysql\u3001postgresql\u548csqlite\u3002\u672c\u7bc7\u6587\u7ae0\u5c06\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528laravel\u4e0emysql\u6570\u636e\u5e93\u8fdb\u884c\u4ea4\u4e92\uff0c\u4e3b\u8981\u5305\u62ec\u4ee5\u4e0b\u51e0\u4e2a\u6b65\u9aa4\uff1a \u5b89\u88c5MySQL \u521b\u5efa\u6570\u636e\u5e93 \u914d\u7f6eLaravel\u73af\u5883\u53d8\u91cf \u521b\u5efa\u8fc1\u79fb \u8fd0\u884c\u8fc1\u79fb \u5b89\u88c5MySQL \u9996\u5148\u8981\u5728\u672c\u5730\u8ba1\u7b97\u673a\u4e0a\u5b89\u88c5MySQL\uff0c\u53ef\u4ee5\u4f7f\u7528\u5b98\u65b9\u7684MySQL\u5b89\u88c5\u7a0b\u5e8f\uff0c\u6216\u8005\u4f7f\u7528\u7c7b\u4f3cXAMPP\u7684\u8f6f\u4ef6\u5305\u3002\u4e3a\u4e86\u4f7f\u7528Laravel\uff0c\u9700\u8981\u5c06MySQL\u7684\u5b89\u88c5\u8def\u5f84\u6dfb\u52a0\u5230\u8ba1\u7b97\u673a\u7684\u73af\u5883\u53d8\u91cf\u4e2d\u3002\u5728Windows\u7cfb\u7edf\u4e0a\uff0c\u53ef\u4ee5\u8fd9\u6837\u64cd\u4f5c\uff1a 1\uff09\u6253\u5f00\u63a7\u5236\u9762\u677f -&gt; \u7cfb\u7edf\u4e0e\u5b89\u5168 -&gt; \u7cfb\u7edf -&gt; \u9ad8\u7ea7\u7cfb\u7edf\u8bbe\u7f6e -&gt; \u73af\u5883\u53d8\u91cf 2\uff09\u5728\u201c\u7cfb\u7edf\u53d8\u91cf\u201d\u4e2d\uff0c\u627e\u5230\u201cPath\u201d\uff0c\u5e76\u5c06MySQL\u7684bin\u6587\u4ef6\u5939\u8def\u5f84\u6dfb\u52a0\u5230\u672b\u5c3e\u3002\u4f8b\u5982\uff1a C:Program FilesMySQLMySQL Server 8.0in; \u767b\u5f55\u540e\u590d\u5236 \u521b\u5efa\u6570\u636e\u5e93 \u4f7f\u7528MySQL\u5ba2\u6237\u7aef\u7a0b\u5e8f\uff08\u6bd4\u5982MySQL\u547d\u4ee4\u884c\u5ba2\u6237\u7aef\u6216phpMyAdmin\uff09\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u6570\u636e\u5e93\uff0c\u4f8b\u5982\uff1a CREATE DATABASE laravel_db; \u767b\u5f55\u540e\u590d\u5236 \u63a5\u4e0b\u6765\uff0c\u9700\u8981\u5728Laravel\u9879\u76ee\u4e2d\u8bbe\u7f6e\u6570\u636e\u5e93\u8fde\u63a5\u3002 \u914d\u7f6eLaravel\u73af\u5883\u53d8\u91cf \u4f7f\u7528\u6587\u672c\u7f16\u8f91\u5668\u6253\u5f00Laravel\u9879\u76ee\u7684.env\u6587\u4ef6\uff0c\u8fd9\u662fLaravel\u4f7f\u7528\u7684\u73af\u5883\u53d8\u91cf\u6587\u4ef6\u3002\u5728\u8be5\u6587\u4ef6\u4e2d\uff0c\u53ef\u4ee5\u8bbe\u7f6e\u5e94\u7528\u7a0b\u5e8f\u6240\u9700\u7684\u5404\u79cd\u53d8\u91cf\u548c\u53c2\u6570\uff0c\u5305\u62ec\u6570\u636e\u5e93\u8fde\u63a5\u4fe1\u606f\u3002 DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=laravel_db DB_USERNAME=root DB_PASSWORD= \u767b\u5f55\u540e\u590d\u5236 \u8fd9\u4e9b\u53c2\u6570\u6bd4\u8f83\u5bb9\u6613\u7406\u89e3\u3002DB_CONNECTION\u6307\u5b9a\u4f7f\u7528\u54ea\u79cd\u6570\u636e\u5e93\u7cfb\u7edf\uff0c\u4f8b\u5982MySQL\uff1bDB_HOST\u3001DB_PORT\u548cDB_DATABASE\u6307\u5b9a\u8fde\u63a5MySQL\u7684\u4e3b\u673a\u540d\u3001\u7aef\u53e3\u53f7\u548c\u6570\u636e\u5e93\u540d\u79f0\uff0c\u800cDB_USERNAME\u548cDB_PASSWORD\u5219\u662f\u8fde\u63a5\u7528\u6237\u540d\u548c\u5bc6\u7801\u3002\u5fc5\u987b\u786e\u4fdd\u8fd9\u4e9b\u503c\u4e0eMySQL\u7684\u914d\u7f6e\u76f8\u5339\u914d\uff0c\u624d\u53ef\u4ee5\u6210\u529f\u8fde\u63a5\u5230\u6570\u636e\u5e93\u3002 \u521b\u5efa\u8fc1\u79fb \u8fc1\u79fb\u662fLaravel\u4e2d\u6570\u636e\u8868\u7684\u521b\u5efa\u3001\u4fee\u6539\u548c\u5220\u9664\u7684\u673a\u5236\u3002\u901a\u8fc7\u8fc1\u79fb\uff0c\u53ef\u4ee5\u5728\u4efb\u4f55\u73af\u5883\u4e2d\u5b8c\u6210\u8fd9\u4e9b\u64cd\u4f5c\uff0c\u5e76\u8f7b\u677e\u5730\u5c06\u8fd9\u4e9b\u66f4\u6539\u5e94\u7528\u4e8e\u4e0d\u540c\u7684\u670d\u52a1\u5668\u3002 \u5728Laravel\u4e2d\uff0c\u8fc1\u79fb\u5b58\u50a8\u5728database\/migrations\u76ee\u5f55\u4e2d\u3002\u53ef\u4ee5\u4f7f\u7528Artisan\u547d\u4ee4\u884c\u5de5\u5177\u521b\u5efa\u65b0\u7684\u8fc1\u79fb\u6587\u4ef6\u3002\u6bd4\u5982\uff0c\u4e0b\u9762\u8fd9\u4e2a\u547d\u4ee4\u5c06\u521b\u5efa\u4e00\u4e2a\u521b\u5efausers\u8868\u7684\u8fc1\u79fb\uff1a php artisan make:migration create_users_table \u767b\u5f55\u540e\u590d\u5236 \u8fd9\u5c06\u5728migrations\u76ee\u5f55\u4e2d\u521b\u5efa\u4e00\u4e2a\u65b0\u6587\u4ef6\uff0c\u540d\u4e3a2020_07_30_135314_create_users_table.php\uff08\u65f6\u95f4\u6233\u53ef\u80fd\u4f1a\u6709\u6240\u4e0d\u540c\uff09\u3002\u6253\u5f00\u8be5\u6587\u4ef6\u53ef\u4ee5\u770b\u5230Laravel\u63d0\u4f9b\u4e86\u4e00\u4e9b\u6a21\u677f\u4ee3\u7801\u3002 &lt;?php use IlluminateDatabaseMigrationsMigration; use IlluminateDatabaseSchemaBlueprint; use [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-23125","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/23125","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=23125"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/23125\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=23125"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=23125"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=23125"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}