{"id":229557,"date":"2022-11-11T10:13:00","date_gmt":"2022-11-11T07:13:00","guid":{"rendered":"https:\/\/wordpress.mediadoma.com\/?p=229557"},"modified":"2022-11-09T08:27:30","modified_gmt":"2022-11-09T05:27:30","slug":"kompozitor-dlja-wordpress-chastina-1","status":"publish","type":"post","link":"https:\/\/wordpress.mediadoma.com\/uk\/kompozitor-dlja-wordpress-chastina-1\/","title":{"rendered":"\u041a\u043e\u043c\u043f\u043e\u0437\u0438\u0442\u043e\u0440 \u0434\u043b\u044f WordPress, \u0447\u0430\u0441\u0442\u0438\u043d\u0430 1"},"content":{"rendered":"\n<p>\u0413\u0430\u0440\u0430\u0437\u0434, \u0442\u043e\u0436 \u043f\u0456\u0441\u043b\u044f \u0440\u043e\u0437\u043c\u043e\u0432\u0438 \u043f\u0440\u043e \u0432\u0441\u0456 \u0440\u0456\u0437\u043d\u043e\u043c\u0430\u043d\u0456\u0442\u043d\u0456 \u0431\u0456\u0431\u043b\u0456\u043e\u0442\u0435\u043a\u0438, \u044f\u043a\u0456 \u043c\u043e\u0436\u0443\u0442\u044c \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u0442\u0438 \u043f\u043e\u043a\u0440\u0430\u0449\u0438\u0442\u0438 \u044f\u043a\u0456\u0441\u0442\u044c \u043a\u043e\u0434\u0443 \u0432\u0430\u0448\u043e\u0457 \u0440\u043e\u0431\u043e\u0442\u0438, \u0432\u0441\u0435 \u043e\u0434\u043d\u043e \u0432\u0438\u043d\u0438\u043a\u0430\u0454 \u0437\u0430\u043f\u0438\u0442\u0430\u043d\u043d\u044f:<\/p>\n<p>\u042f\u043a \u0437\u043c\u0443\u0441\u0438\u0442\u0438 \u0446\u0456 \u043f\u0440\u043e\u0435\u043a\u0442\u0438 \u043f\u0440\u0430\u0446\u044e\u0432\u0430\u0442\u0438 \u0437 \u043d\u0430\u0448\u043e\u044e \u043a\u043e\u0434\u043e\u0432\u043e\u044e \u0431\u0430\u0437\u043e\u044e?<\/p>\n<p>\u041a\u043e\u0440\u043e\u0442\u0448\u0435 \u043a\u0430\u0436\u0443\u0447\u0438, \u0434\u043b\u044f \u0446\u044c\u043e\u0433\u043e \u043f\u043e\u0442\u0440\u0456\u0431\u0435\u043d <a href=\"https:\/\/getcomposer.org\/\" target=\"_blank\" rel=\"noopener nofollow\" class=\"external external_icon\">Composer<\/a>. \u042f\u043a\u0449\u043e \u0432\u0438 \u043d\u0456\u043a\u043e\u043b\u0438 \u043d\u0435 \u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u043b\u0438\u0441\u044f \u043d\u0438\u043c, \u044f \u0432\u0436\u0435 <a href=\"https:\/\/tommcfarlin.com\/setting-php-and-composer-in-mamp\/\" target=\"_blank\" rel=\"noopener nofollow\" class=\"external external_icon\">\u043a\u043e\u0440\u043e\u0442\u043a\u043e \u043f\u0438\u0441\u0430\u0432 \u043f\u0440\u043e \u0446\u0435<\/a> \u0440\u0430\u043d\u0456\u0448\u0435, \u0430\u043b\u0435 \u044f \u043c\u0430\u044e \u043d\u0430\u043c\u0456\u0440 \u043d\u0430\u0434\u0430\u0442\u0438 \u043e\u0441\u043d\u043e\u0432\u0438 \u0442\u043e\u0433\u043e, \u0449\u043e \u0432\u0430\u043c \u043f\u043e\u0442\u0440\u0456\u0431\u043d\u043e, \u0449\u043e\u0431 \u043f\u043e\u0447\u0430\u0442\u0438 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u0439\u043e\u0433\u043e \u0442\u0430 \u0432\u0438\u0449\u0435\u0437\u0433\u0430\u0434\u0430\u043d\u0456 \u0431\u0456\u0431\u043b\u0456\u043e\u0442\u0435\u043a\u0438 \u0443 \u0432\u0430\u0448\u0456\u0439 \u0440\u043e\u0431\u043e\u0442\u0456.<\/p>\n<p>\u0406 \u0432 \u0446\u0456\u0439, \u0456 \u0432 \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0456\u0439 \u043f\u0443\u0431\u043b\u0456\u043a\u0430\u0446\u0456\u0457 \u044f \u0440\u043e\u0437\u043f\u043e\u0432\u0456\u043c, \u044f\u043a \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u0442\u0438 \u0432\u0441\u0435 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e \u0432 \u043d\u0430\u0439\u043f\u0440\u043e\u0441\u0442\u0456\u0448\u0456\u0439 \u0444\u043e\u0440\u043c\u0456, \u0430 \u043f\u043e\u0442\u0456\u043c \u044f\u043a \u0446\u0435 \u0456\u043d\u0442\u0435\u0433\u0440\u0443\u0454\u0442\u044c\u0441\u044f \u0437 Git, \u0449\u043e\u0431 \u0432\u0438 \u043c\u043e\u0433\u043b\u0438 \u043f\u043e\u0447\u0430\u0442\u0438 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u0439\u043e\u0433\u043e \u0443 \u0441\u0432\u043e\u0454\u043c\u0443 \u043f\u043e\u0432\u0441\u044f\u043a\u0434\u0435\u043d\u043d\u043e\u043c\u0443 \u0436\u0438\u0442\u0442\u0456.<\/p>\n<h2>\u041d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u043d\u043d\u044f Composer \u0434\u043b\u044f WordPress<\/h2>\n<p>\u0404 \u0431\u0430\u0433\u0430\u0442\u043e \u0456\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0456\u0457, \u044f\u043a\u0443 \u043c\u043e\u0436\u043d\u0430 (\u0456 \u044f \u0431 \u0441\u0442\u0432\u0435\u0440\u0434\u0436\u0443\u0432\u0430\u0432, \u0449\u043e \u0457\u0457 \u0441\u043b\u0456\u0434 \u043f\u043e\u043c\u0456\u0441\u0442\u0438\u0442\u0438 \u0443 \u0444\u0430\u0439\u043b \u0434\u043b\u044f Composer). \u0426\u0435 \u0432\u043a\u043b\u044e\u0447\u0430\u0454 \u0442\u0430\u043a\u0456 \u0440\u0435\u0447\u0456, \u044f\u043a \u0456\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0456\u044f \u043f\u0440\u043e \u0430\u0432\u0442\u043e\u0440\u0430, PSR, \u0456\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0456\u044f \u0442\u043e\u0449\u043e. \u0410\u043b\u0435 \u0446\u0435 \u043d\u0430\u0441\u043f\u0440\u0430\u0432\u0434\u0456 \u0432\u0438\u0445\u043e\u0434\u0438\u0442\u044c \u0437\u0430 \u0440\u0430\u043c\u043a\u0438 \u0446\u0456\u0454\u0457 \u043f\u0443\u0431\u043b\u0456\u043a\u0430\u0446\u0456\u0457. \u041d\u0430\u0442\u043e\u043c\u0456\u0441\u0442\u044c \u044f \u0445\u043e\u0447\u0443 \u043f\u043e\u0434\u0456\u043b\u0438\u0442\u0438\u0441\u044f \u043d\u0435\u043e\u0431\u0445\u0456\u0434\u043d\u0438\u043c \u043c\u0456\u043d\u0456\u043c\u0443\u043c\u043e\u043c \u0442\u043e\u0433\u043e, \u044f\u043a \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u0442\u0438 \u0442\u0430 \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u0442\u0438 \u0446\u044e \u0456\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0456\u044e.<\/p>\n<h3>\u0417\u0440\u0430\u0437\u043e\u043a \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0443<\/h3>\n<p>\u041f\u0440\u0438\u043f\u0443\u0441\u0442\u0456\u043c\u043e, \u043d\u0430 \u043c\u0438\u0442\u044c \u0432\u0438 \u0437\u0431\u0438\u0440\u0430\u0454\u0442\u0435\u0441\u044f \u0440\u043e\u0437\u043f\u043e\u0447\u0430\u0442\u0438 \u0440\u043e\u0431\u043e\u0442\u0443 \u043d\u0430\u0434 \u043f\u043b\u0430\u0433\u0456\u043d\u043e\u043c \u0430\u0431\u043e \u0447\u0438\u043c\u043e\u0441\u044c, \u043f\u043e\u0432&#8217;\u044f\u0437\u0430\u043d\u0438\u043c \u0456\u0437 WordPress, \u0434\u043b\u044f \u0447\u043e\u0433\u043e \u0437\u043d\u0430\u0434\u043e\u0431\u043b\u044f\u0442\u044c\u0441\u044f \u0440\u0456\u0437\u043d\u0456 \u0431\u0456\u0431\u043b\u0456\u043e\u0442\u0435\u043a\u0438, \u0440\u043e\u0437\u0433\u043b\u044f\u043d\u0443\u0442\u0456 \u0432 \u043f\u043e\u043f\u0435\u0440\u0435\u0434\u043d\u0456\u0439 \u0441\u0435\u0440\u0456\u0457. \u0406 \u043f\u0456\u0434 \u0447\u0430\u0441 \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u043d\u043d\u044f \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0443 \u0434\u043b\u044f \u0446\u044c\u043e\u0433\u043e \u0443 \u0432\u0430\u0441 \u0431\u0443\u0434\u0435 \u0434\u0443\u0436\u0435 \u043c\u0430\u043b\u043e \u0444\u0430\u0439\u043b\u0456\u0432. \u041c\u043e\u0436\u0435 \u043f\u0430\u0440\u0430 \u043f\u043e\u0440\u043e\u0436\u043d\u0456\u0445 \u0444\u0430\u0439\u043b\u0456\u0432 PHP, assets \u0456 \u0442.\u0434. \u041c\u043e\u0436\u043b\u0438\u0432\u043e \u0446\u0435 \u0431\u0443\u0434\u0435 \u0432\u0438\u0433\u043b\u044f\u0434\u0430\u0442\u0438 \u0442\u0430\u043a:<\/p>\n<p>\u0417\u0432\u0438\u0447\u0430\u0439\u043d\u043e, \u043d\u0430\u0432\u0435\u0434\u0435\u043d\u0438\u0439 \u0432\u0438\u0449\u0435 \u043f\u0440\u0438\u043a\u043b\u0430\u0434 \u0443\u0436\u0435 \u0442\u0440\u043e\u0445\u0438 \u0432\u0438\u043f\u0435\u0440\u0435\u0434\u0436\u0430\u0454 \u0432\u0430\u0448\u0443 \u0440\u043e\u0431\u043e\u0442\u0443, \u043e\u0441\u043a\u0456\u043b\u044c\u043a\u0438:<\/p>\n<ul>\n<li>\u0404 <code>composer.lock<\/code>\u00a0\u0444\u0430\u0439\u043b, \u044f\u043a\u0438\u0439 \u043f\u043e\u043a\u0430\u0437\u0443\u0454, \u0449\u043e Composer \u0431\u0443\u043b\u043e \u0432\u0438\u043a\u043e\u043d\u0430\u043d\u043e,<\/li>\n<li>\u0423 \u043d\u044c\u043e\u043c\u0443 \u0454 <code>vendor<\/code>\u00a0\u043a\u0430\u0442\u0430\u043b\u043e\u0433, \u044f\u043a\u0438\u0439 \u043f\u043e\u043a\u0430\u0437\u0443\u0454 \u0431\u0456\u0431\u043b\u0456\u043e\u0442\u0435\u043a\u0438, \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0456 \u0447\u0435\u0440\u0435\u0437 Composer,<\/li>\n<li>\u0406\u0441\u043d\u0443\u0454 <code>grumphp.yml<\/code>\u00a0\u0444\u0430\u0439\u043b, \u044f\u043a\u0438\u0439 \u0432\u0438\u0437\u043d\u0430\u0447\u0430\u0454, \u044f\u043a \u043f\u043e\u0432\u0438\u043d\u0435\u043d \u043f\u0440\u0430\u0446\u044e\u0432\u0430\u0442\u0438 GrumPHP (\u044f \u0440\u043e\u0437\u043f\u043e\u0432\u0456\u043c \u043f\u0440\u043e \u0446\u0435 \u043f\u0456\u0437\u043d\u0456\u0448\u0435) \u043f\u0456\u0434 \u0447\u0430\u0441 \u043d\u044e\u0445\u0430\u043d\u043d\u044f \u043a\u043e\u0434\u0443.<\/li>\n<\/ul>\n<p>\u0410\u043b\u0435 \u0441\u0443\u0442\u044c \u0432\u0438\u0449\u0435\u0437\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u043e\u0433\u043e \u0442\u0430 \u0441\u0430\u043c\u0430: \u0443 \u0432\u0430\u0441 \u0454, <code>composer.json<\/code>\u0456 \u0446\u0435 \u0432\u0438\u0437\u043d\u0430\u0447\u0430\u0454 \u0442\u0430 \u0432\u043a\u043b\u044e\u0447\u0430\u0454 \u0432\u0441\u0435, \u0449\u043e \u043d\u0430\u043c \u043f\u043e\u0442\u0440\u0456\u0431\u043d\u043e \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0456 \u043f\u043e\u043f\u0435\u0440\u0435\u0434\u043d\u044c\u043e\u0457 \u043f\u0443\u0431\u043b\u0456\u043a\u0430\u0446\u0456\u0457. \u041e\u0442\u0436\u0435, \u044f\u043a \u043c\u0438 \u0446\u0435 \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0454\u043c\u043e?<\/p>\n<h3>\u041d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u043d\u043d\u044f Composer<\/h3>\n<p>\u041f\u043e-\u043f\u0435\u0440\u0448\u0435, \u0432\u0430\u043c \u043f\u043e\u0442\u0440\u0456\u0431\u043d\u043e \u043c\u0430\u0442\u0438 \u0443\u044f\u0432\u043b\u0435\u043d\u043d\u044f \u043f\u0440\u043e \u0442\u0435, \u044f\u043a \u0432\u0438 \u0437\u0431\u0438\u0440\u0430\u0454\u0442\u0435\u0441\u044f \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443\u0432\u0430\u0442\u0438 \u0441\u0432\u0456\u0439 \u043f\u043b\u0430\u0433\u0456\u043d. \u041d\u0430\u043f\u0440\u0438\u043a\u043b\u0430\u0434, \u044f \u043c\u0430\u044e \u0442\u0430\u043a\u0438\u0439 \u043f\u043b\u0430\u0433\u0456\u043d:<\/p>\n<ul>\n<li>\u0423\u0441\u0456 \u0444\u0430\u0439\u043b\u0438 PHP \u0437\u043d\u0430\u0445\u043e\u0434\u044f\u0442\u044c\u0441\u044f \u0432 <code>src<\/code>\u00a0\u043a\u0430\u0442\u0430\u043b\u043e\u0437\u0456,<\/li>\n<li>\u0423\u0441\u0456 \u0444\u0430\u0439\u043b\u0438 CSS, JavaScript, \u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u043d\u044f \u0442\u043e\u0449\u043e \u0437\u043d\u0430\u0445\u043e\u0434\u044f\u0442\u044c\u0441\u044f \u0432 <code>assets<\/code>\u00a0\u043a\u0430\u0442\u0430\u043b\u043e\u0437\u0456,<\/li>\n<li>\u041a\u0430\u0442\u0430\u043b\u043e\u0433 <code>vendor<\/code>\u00a0\u043f\u0440\u0438\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u0434\u043b\u044f \u0440\u0435\u0447\u0435\u0439, \u044f\u043a\u0456 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043e \u0447\u0435\u0440\u0435\u0437 Composer,<\/li>\n<li><code>views<\/code>\u00a0\u0446\u0435 \u0442\u0435, \u0449\u043e \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0454\u0442\u044c\u0441\u044f \u0432 \u0456\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0456 \u043f\u0440\u043e\u0435\u043a\u0442\u0443.<\/li>\n<\/ul>\n<p>\u041d\u0430\u043f\u0440\u0438\u043a\u043b\u0430\u0434:<\/p>\n<\/p>\n<p>\u041f\u043e-\u0434\u0440\u0443\u0433\u0435, \u0443 \u043a\u0430\u0442\u0430\u043b\u043e\u0437\u0456, \u043f\u0440\u043e \u044f\u043a\u0438\u0439 \u0439\u0434\u0435 \u043c\u043e\u0432\u0430, \u0432\u0438 \u0437\u0430\u0445\u043e\u0447\u0435\u0442\u0435 \u0441\u0442\u0432\u043e\u0440\u0438\u0442\u0438 \u0444\u0430\u0439\u043b \u043f\u0456\u0434 \u043d\u0430\u0437\u0432\u043e\u044e <code>composer.json<\/code>. \u0426\u0435 \u043c\u043e\u0436\u043d\u0430 \u0437\u0440\u043e\u0431\u0438\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 \u0442\u0435\u0440\u043c\u0456\u043d\u0430\u043b, \u043f\u0440\u043e\u0441\u0442\u043e \u0432\u0438\u0434\u0430\u0432\u0448\u0438 <code>touch<\/code>\u00a0\u043a\u043e\u043c\u0430\u043d\u0434\u0443, \u0430\u0431\u043e \u0432\u0438 \u043c\u043e\u0436\u0435\u0442\u0435 \u0441\u0442\u0432\u043e\u0440\u0438\u0442\u0438 \u0457\u0457 \u0443 \u0441\u0432\u043e\u0454\u043c\u0443 IDE.<\/p>\n<p>\u0412\u0430\u0436\u043b\u0438\u0432\u0438\u043c \u043c\u043e\u043c\u0435\u043d\u0442\u043e\u043c \u0454 \u0442\u0435, \u0449\u043e \u0456\u0441\u043d\u0443\u0454 <code>src<\/code>\u00a0\u043a\u0430\u0442\u0430\u043b\u043e\u0433, \u0442\u043e\u043c\u0443 \u0449\u043e \u0446\u0435 \u043a\u0430\u0442\u0430\u043b\u043e\u0433, \u044f\u043a\u0438\u0439 \u043c\u0456\u0441\u0442\u0438\u0442\u044c \u043d\u0430\u0448\u0456 \u0444\u0430\u0439\u043b\u0438 PHP, \u0456 \u0446\u0435 \u043a\u0430\u0442\u0430\u043b\u043e\u0433, \u044f\u043a\u0438\u0439 \u043c\u0438 \u0445\u043e\u0447\u0435\u043c\u043e \u043f\u0440\u043e\u043d\u044e\u0445\u0430\u0442\u0438.<\/p>\n<h3>\u0411\u0430\u0437\u043e\u0432\u0438\u0439 \u0444\u0430\u0439\u043b \u043a\u043e\u043c\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0430<\/h3>\n<p>\u0417 \u043e\u0433\u043b\u044f\u0434\u0443 \u043d\u0430 \u0446\u0435, \u043e\u0441\u044c \u043e\u0441\u043d\u043e\u0432\u043d\u0438\u0439 \u0444\u0430\u0439\u043b, \u044f\u043a\u0438\u0439 \u0432\u0438 \u043c\u043e\u0436\u0435\u0442\u0435 <a href=\"https:\/\/gist.github.com\/tommcfarlin\/60ac0e1fba9fa152fc57622e3866d6dc\" target=\"_blank\" rel=\"noopener nofollow\" class=\"external external_icon\">\u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438<\/a><code>composer.json<\/code> \u0443 \u0441\u0432\u043e\u0457\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u0445 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0456 \u043f\u043e\u043f\u0435\u0440\u0435\u0434\u043d\u044c\u043e\u0457 \u0441\u0435\u0440\u0456\u0457 \u0442\u0430 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0456 \u0442\u043e\u0433\u043e, \u0449\u043e \u043d\u0430\u0432\u0435\u0434\u0435\u043d\u043e \u043d\u0438\u0436\u0447\u0435:<a href=\"https:\/\/gist.github.com\/tommcfarlin\/60ac0e1fba9fa152fc57622e3866d6dc\" target=\"_blank\" rel=\"noopener nofollow\" class=\"external\"><\/a><\/p>\n<pre><code>{\n  \"name\": \"pressware\/demo-wordpress-plugin\",\n  \"description\": \"This file is used to show how to configure a WordPress plugin using Composer.\",\n  \"autoload\": {\n    \"psr-4\": {\n      \"Pressware\": \"src\/\"\n    }\n  },\n  \"require-dev\": {\n    \"phpro\/grumphp\": \"^0.11.6\",\n    \"phpmd\/phpmd\": \"^2.6\",\n    \"phpunit\/phpunit\": \"5.7.21\",\n    \"nikic\/php-parser\": \"^3.0\",\n    \"sebastian\/phpcpd\": \"^3.0\",\n    \"povils\/phpmnd\": \"^1.1\",\n    \"squizlabs\/php_codesniffer\": \"^3.0\",\n    \"jakub-onderka\/php-parallel-lint\": \"^0.9.2\",\n    \"sensiolabs\/security-checker\": \"^4.0\"\n  }\n}<\/code><\/pre>\n<p>\u0414\u0438\u0432\u043b\u044f\u0447\u0438\u0441\u044c \u043d\u0430 \u0444\u0430\u0439\u043b \u0432\u0438\u0449\u0435, \u043e\u0441\u044c \u044f\u043a \u0439\u043e\u0433\u043e \u0440\u043e\u0437\u0456\u0431\u0440\u0430\u0442\u0438:<\/p>\n<ol>\n<li>\u0420\u044f\u0434\u043a\u0438 2 \u0456 3 \u0434\u0430\u044e\u0442\u044c \u043d\u0435\u0432\u0435\u043b\u0438\u043a\u0438\u0439 \u043e\u043f\u0438\u0441 \u0441\u0443\u0442\u0456 \u043f\u043b\u0430\u0433\u0456\u043d\u0430. \u0426\u0435 \u0442\u0430\u043a\u043e\u0436 \u0456\u043d\u0448\u0456 \u043e\u0431\u043b\u0430\u0441\u0442\u0456 \u0432 \u0446\u044c\u043e\u043c\u0443 \u0444\u0430\u0439\u043b\u0456, \u0449\u043e\u0431 \u043d\u0430\u0434\u0430\u0442\u0438 \u0431\u0456\u043b\u044c\u0448\u0435 \u0456\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0456\u0457 \u043f\u0440\u043e \u0442\u0435, \u0449\u043e \u043f\u043e\u0442\u0440\u0456\u0431\u043d\u043e \u0437\u0440\u043e\u0431\u0438\u0442\u0438.<\/li>\n<li>\u0420\u044f\u0434\u043a\u0438 \u0437 4 \u043f\u043e 8 \u0432\u0430\u0436\u043b\u0438\u0432\u0456, \u043e\u0441\u043a\u0456\u043b\u044c\u043a\u0438 \u0432\u043e\u043d\u0438 \u043f\u043e\u044f\u0441\u043d\u044e\u044e\u0442\u044c, \u0449\u043e \u043c\u0438 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0454\u043c\u043e <a href=\"http:\/\/www.php-fig.org\/psr\/psr-4\/\" target=\"_blank\" rel=\"noopener nofollow\" class=\"external external_icon\">PSR-4<\/a> \u0434\u043b\u044f \u0430\u0432\u0442\u043e\u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0435\u043d\u043d\u044f, \u0456 \u0449\u043e \u0432\u0441\u0456 \u0444\u0430\u0439\u043b\u0438 \u043f\u0456\u0434\u043f\u0430\u0434\u0430\u044e\u0442\u044c \u043f\u0456\u0434 \u043f\u0440\u043e\u0441\u0442\u0456\u0440 \u0456\u043c\u0435\u043d \u0432\u0435\u0440\u0445\u043d\u044c\u043e\u0433\u043e \u0440\u0456\u0432\u043d\u044f, <code>Pressware<\/code>\u0430 \u0444\u0430\u0439\u043b\u0438 PHP \u0437\u043d\u0430\u0445\u043e\u0434\u044f\u0442\u044c\u0441\u044f \u0432 <code>src<\/code>\u00a0\u043a\u0430\u0442\u0430\u043b\u043e\u0437\u0456.<\/li>\n<li>\u0420\u044f\u0434\u043a\u0438 9\u201318 \u043e\u0445\u043e\u043f\u043b\u044e\u044e\u0442\u044c \u0443\u0441\u0456 \u0444\u0430\u0439\u043b\u0438, \u044f\u043a\u0456 \u0440\u043e\u0437\u0433\u043b\u044f\u0434\u0430\u043b\u0438\u0441\u044f \u0432 \u043f\u043e\u043f\u0435\u0440\u0435\u0434\u043d\u0456\u0439 \u0441\u0435\u0440\u0456\u0457.<\/li>\n<\/ol>\n<p>\u0414\u0430\u043b\u0456 \u0432\u0438\u043a\u043e\u043d\u0430\u0439\u0442\u0435 \u0442\u0430\u043a\u0443 \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u0443 \u0432\u0430\u0448\u043e\u043c\u0443 \u0442\u0435\u0440\u043c\u0456\u043d\u0430\u043b\u0456:<\/p>\n<p><code>$ composer install<\/code><\/p>\n<p>\u0406 \u0446\u0435 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0446\u0456 \u043f\u0430\u043a\u0435\u0442\u0438.<\/p>\n<h2>\u0429\u043e \u0449\u043e\u0434\u043e \u043a\u043e\u043c\u0456\u0442\u0456\u0432?<\/h2>\n<p>\u0429\u043e\u0431 \u043f\u0435\u0440\u0435\u043a\u043e\u043d\u0430\u0442\u0438\u0441\u044f, \u0449\u043e \u0432\u0438 \u043d\u0430\u043b\u0435\u0436\u043d\u0438\u043c \u0447\u0438\u043d\u043e\u043c \u0433\u0430\u0441\u0438\u0442\u0435 \u0442\u0430 \u043e\u0431\u0440\u043e\u0431\u043b\u044f\u0454\u0442\u0435 \u043a\u043e\u043c\u0456\u0442\u0438, \u0432\u0430\u0436\u043b\u0438\u0432\u043e \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u0442\u0438 GrumPHP \u0442\u0430\u043a, \u0449\u043e\u0431 \u0432\u0456\u043d \u0441\u043f\u043e\u0441\u0442\u0435\u0440\u0456\u0433\u0430\u0432 \u0437\u0430 \u0444\u0430\u0439\u043b\u0430\u043c\u0438. \u0410\u043b\u0435 \u044f \u0440\u043e\u0437\u0433\u043b\u044f\u043d\u0443 \u0446\u0435 \u0432 \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0456\u0439 \u043f\u0443\u0431\u043b\u0456\u043a\u0430\u0446\u0456\u0457.<\/p>\n<p>\u0422\u0438\u043c \u0447\u0430\u0441\u043e\u043c, \u043c\u043e\u0436\u043b\u0438\u0432\u043e, \u0446\u0435 \u0433\u0430\u0440\u043d\u0430 \u043d\u0430\u0433\u043e\u0434\u0430 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0438 \u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0430\u0446\u0456\u0439\u043d\u0438\u0439 \u043f\u043b\u0430\u0433\u0456\u043d \u0456 \u043f\u043e\u0442\u0440\u0435\u043d\u0443\u0432\u0430\u0442\u0438\u0441\u044f \u0437 \u043d\u0430\u0432\u0435\u0434\u0435\u043d\u0438\u043c \u0432\u0438\u0449\u0435 \u043a\u043e\u0434\u043e\u043c. \u041d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u0442\u0438 \u0439\u043e\u0433\u043e \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u0437 \u043f\u0435\u0440\u0448\u043e\u0433\u043e \u0440\u0430\u0437\u0443 \u043c\u043e\u0436\u0435 \u0431\u0443\u0442\u0438 \u0432\u0430\u0436\u043a\u043e. \u041d\u0430 \u0449\u0430\u0441\u0442\u044f, \u0431\u0430\u0433\u0430\u0442\u043e \u043f\u043e\u043c\u0438\u043b\u043e\u043a \u0432\u0438\u0432\u043e\u0434\u0443 \u0434\u0456\u0439\u0441\u043d\u043e \u043b\u0435\u0433\u043a\u043e \u0437\u0440\u043e\u0437\u0443\u043c\u0456\u0442\u0438, \u0442\u043e\u043c\u0443 \u0432\u0438\u0440\u0456\u0448\u0438\u0442\u0438 \u0457\u0445 \u0432\u0456\u0434\u043d\u043e\u0441\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e.<\/p>\n<p><div id=\"PostUnique_PostSource\" style=\"padding-top: 50px\">\u0414\u0436\u0435\u0440\u0435\u043b\u043e \u0437\u0430\u043f\u0438\u0441\u0443:  <a target=\"_blank\" rel=\"noopener nofollow\" href=\"\/\/tommcfarlin.com\" class=\"external external_icon\">tommcfarlin.com<\/a><\/div><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0426\u0435 \u043f\u0435\u0440\u0448\u0430 \u0437 \u0434\u0432\u043e\u0445 \u0447\u0430\u0441\u0442\u0438\u043d \u0441\u0435\u0440\u0456\u0457 \u043f\u0440\u043e \u0442\u0435, \u044f\u043a \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u0442\u0438 Composer \u0434\u043b\u044f \u0440\u043e\u0437\u0440\u043e\u0431\u043a\u0438 WordPress, \u0449\u043e\u0431 \u0432\u0438 \u043c\u043e\u0433\u043b\u0438 \u043f\u0438\u0441\u0430\u0442\u0438 \u0432\u0438\u0441\u043e\u043a\u043e\u044f\u043a\u0456\u0441\u043d\u0438\u0439 \u043a\u043e\u0434 \u0443 \u0441\u0432\u043e\u0457\u0439 \u0440\u043e\u0431\u043e\u0442\u0456).<\/p>\n","protected":false},"author":1,"featured_media":166003,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_wp_rev_ctl_limit":""},"categories":[756,1023,725],"tags":[1174],"class_list":["post-229557","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-vidkryte-dzherelo","category-korysni-sajty","category-rozrobnyk","tag-affiai-uk"],"_links":{"self":[{"href":"https:\/\/wordpress.mediadoma.com\/uk\/wp-json\/wp\/v2\/posts\/229557","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.mediadoma.com\/uk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wordpress.mediadoma.com\/uk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.mediadoma.com\/uk\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.mediadoma.com\/uk\/wp-json\/wp\/v2\/comments?post=229557"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.mediadoma.com\/uk\/wp-json\/wp\/v2\/posts\/229557\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wordpress.mediadoma.com\/uk\/wp-json\/wp\/v2\/media\/166003"}],"wp:attachment":[{"href":"https:\/\/wordpress.mediadoma.com\/uk\/wp-json\/wp\/v2\/media?parent=229557"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wordpress.mediadoma.com\/uk\/wp-json\/wp\/v2\/categories?post=229557"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wordpress.mediadoma.com\/uk\/wp-json\/wp\/v2\/tags?post=229557"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}