{"id":3883,"date":"2022-05-19T11:20:21","date_gmt":"2022-05-19T11:20:21","guid":{"rendered":"http:\/\/the-codest.localhost\/blog\/why-do-we-need-symfony-polyfill-and-why-we-shouldnt\/"},"modified":"2026-04-28T14:07:09","modified_gmt":"2026-04-28T14:07:09","slug":"kodel-mums-reikia-symfony-polyfill-ir-kodel-mes-neturetume","status":"publish","type":"post","link":"https:\/\/thecodest.co\/lt\/blog\/why-do-we-need-symfony-polyfill-and-why-we-shouldnt\/","title":{"rendered":"Kod\u0117l mums reikia \"Symfony Polyfill\" (... ir kod\u0117l netur\u0117tume)"},"content":{"rendered":"<p>Daugumoje \u0161iuolaikini\u0173 <strong><a href=\"https:\/\/thecodest.co\/lt\/dictionary\/how-to-hire-a-php-developer\/\">PHP<\/a> projektai<\/strong>, pasteb\u0117site, kad yra didel\u0117 priklausomyb\u0117 nuo <a href=\"https:\/\/github.com\/symfony\/polyfill\" rel=\"nofollow\">\"Symfony Polyfill<\/a> biblioteka. \u0160iame straipsnyje paai\u0161kinsime ne tik tai, kaip ji veikia ir kaip ji susijusi su <strong>\"Symfony\" projektai<\/strong>, ta\u010diau taip pat gilinsim\u0117s \u012f problemos, kuri\u0105 bandoma i\u0161spr\u0119sti, id\u0117j\u0105.<\/p>\n<h2>\u0160iek tiek istorijos<\/h2>\n<p><strong>PHP<\/strong> ilg\u0105 laik\u0105 buvo prastos b\u016bkl\u0117s. Tai buvo 2005 m., kai Andrejus Zmievskis prad\u0117jo <a href=\"https:\/\/thecodest.co\/lt\/dictionary\/why-do-projects-fail\/\">projektas<\/a> \u012fdiegti gimt\u0105j\u0105 \"Unicode\" palaikymo funkcij\u0105 <strong>PHP<\/strong> d\u0117l mi\u0161ri\u0173 atsiliepim\u0173 ir daugelio susir\u016bpinim\u0105 kelian\u010di\u0173 prie\u017eas\u010di\u0173, kad <strong>PHP<\/strong> eina netinkama linkme. Vystymasis <strong>PHP<\/strong> 6.x prad\u0117tas. Ta\u010diau jis taip ir nebuvo baigtas - tai jau kitos dienos istorija. Po 10 met\u0173, ka\u017ekur 2014-2015 m., Dmitrijus Stogovas, Xinchen Hui ir Nikita Popovas prad\u0117jo <code>phpng<\/code> - projektas, kuriuo optimizuotas ir pertvarkytas vidinis \"Zend Engine\", naudojamas <strong>PHP<\/strong>.<\/p>\n<h4>&gt;_ <em>Gim\u0117 PHP 7<\/em><\/h4>\n<p>Ir pastaraisiais metais, <strong>PHP<\/strong> auga spar\u010diau nei bet kada anks\u010diau, \u0161iuo metu yra stabili 8.1 versija.<\/p>\n<p><img decoding=\"async\" src=\"\/app\/uploads\/2024\/05\/162561908-025b0d15-1b7a-4592-8f81-05c7b29bc3c9.png\" alt=\"vaizdas\" \/><\/p>\n<p>D\u0117l spartaus nauj\u0173 kalbos funkcij\u0173 pl\u0117tojimo prie \u0161i\u0173 poky\u010di\u0173 tur\u0117jo prisitaikyti ne tik k\u016br\u0117jai, bet ir infrastrukt\u016bros bei prieglobos paslaug\u0173 teik\u0117jai.<\/p>\n<p>Siekdami u\u017etikrinti, kad mes, programuotojai, gal\u0117tume naudotis naujausiomis ir geriausiomis m\u016bs\u0173 mylimos programavimo kalbos funkcijomis. <strong>\"Symfony Polyfill<\/strong> gim\u0117 projektas.<\/p>\n<h2>\"Symfony Polyfill\" ir jo funkcija<\/h2>\n<blockquote>\n<p>\u0160is projektas palaiko naujausioje <strong>PHP versijos<\/strong> ir suteikia suderinamumo sluoksnius kai kuriems pl\u0117tiniams ir funkcijoms. Jis skirtas naudoti, kai perkeliamumas tarp <strong>PHP versijos<\/strong> ir pl\u0117tinius.<\/p>\n<\/blockquote>\n<p>Tai grynas apra\u0161ymas <a href=\"https:\/\/github.com\/symfony\/polyfill\" rel=\"nofollow\">\"Symfony Polyfill<\/a> bet k\u0105 tai rei\u0161kia? <\/p>\n<p>D\u0117l spar\u010diai besikei\u010dian\u010di\u0173 <strong>PHP kalba<\/strong> ir interneto paslaug\u0173 teik\u0117j\u0173 programin\u0117s \u012frangos pritaikymo ne pagal poreikius, dauguma k\u016br\u0117j\u0173 susid\u016br\u0117 su paprastu pasirinkimu:<\/p>\n<ul>\n<li>Kaip <a href=\"https:\/\/thecodest.co\/lt\/blog\/hire-vue-js-developers\/\">k\u016br\u0117jas<\/a>, kuriu programas senesn\u0117je versijoje <strong>PHP<\/strong> ir negali naudotis naujausiomis kalbos funkcijomis, arba<\/li>\n<li>Kaip programuotojas kuriu moderni\u0105 program\u0105 naudodamas naujausi\u0105 versij\u0105 <strong>PHP<\/strong>.<\/li>\n<\/ul>\n<p>Ta\u010diau jie tur\u0117jo i\u0161laikyti suderinamum\u0105 su kitais \u012frankiais ir paslaugomis, jau naudojamais tiek <a href=\"https:\/\/thecodest.co\/lt\/dictionary\/what-is-code-refactoring\/\">kodas<\/a> ir infrastrukt\u016bros pus\u0117je - beveik visada naudojamos senesn\u0117s versijos <strong>PHP<\/strong>.Ar reikia, mielas skaitytojau, min\u0117ti \u0161i\u0173 dviej\u0173 sprendim\u0173 vadinam\u0105j\u012f \u2018linksmumo faktori\u0173\u2019?<\/p>\n<p>Siekdama palengvinti k\u016br\u0117jams keli\u0105, 2015 m. atvirojo kodo bendruomen\u0117 suk\u016br\u0117 <a href=\"https:\/\/github.com\/symfony\/polyfill\/tree\/v1.0.0\" rel=\"nofollow\">pirmoji stabili \"Polyfill\" versija, pa\u017eym\u0117ta numeriu 1.0<\/a>. Programuotoj\u0173 gyvenimas tapo lengvesnis ir galima sakyti, kad \u2019Symfony Polyfill\" i\u0161sprend\u0117 daugyb\u0119 problem\u0173, toki\u0173 kaip kodo perkeliamumas tarp skirting\u0173 platform\u0173, <strong>PHP versija<\/strong> skirtumus, taip pat palengvino program\u0173 pertvarkym\u0105 ir suma\u017eino technologin\u0119 skol\u0105.<\/p>\n<p>Deja, ne visas problemas galima i\u0161spr\u0119sti vienu \u012frankiu.<\/p>\n<h2>Problemos, susijusios su keli\u0173 aplinkos versij\u0173 palaikymu<\/h2>\n<p>Sud\u0117ting\u0173 <strong>IT projektai<\/strong>, skirting\u0173 aplink\u0173 versij\u0173 palaikymas skirtingiems klientams, skyriams ir padaliniams yra \u012fprasta proced\u016bra. D\u0117l to vienu metu tenka kurti daug skirting\u0173 \u0161ak\u0173 taikom\u0173j\u0173 program\u0173, kurioms da\u017enai keliami skirtingi funkciniai reikalavimai ir kurios turi savo trauk\u0105. Ne kart\u0105 susid\u016briau su tos pa\u010dios programos palaikymo skirtingiems klientams skirtingose PHP5 \/ PHP7 aplinkose problema, o daugyb\u0117 problem\u0173, susijusi\u0173 su bibliotek\u0173 ar j\u0173 priklausomybi\u0173 nesuderinamumu skirtingoms versijoms, yra tiesiog nei\u0161sprend\u017eiamos naudojant tik <strong>\"Symfony Polyfill<\/strong>.<\/p>\n<h2>Kvalifikacijos atotr\u016bkis tarp vystymosi team nari\u0173<\/h2>\n<p>D\u0117l spartaus funkcij\u0173, integruot\u0173 \u012f <strong>PHP<\/strong>, daugelis k\u016br\u0117j\u0173 neatsiliko nuo poky\u010di\u0173 tempo. Daugelis funkcij\u0173, si\u016blom\u0173 auk\u0161tesn\u0117se versijose <strong>PHP<\/strong> lengva pasiekti naudojant i\u0161orines bibliotekas, arba k\u016br\u0117jams papras\u010diausiai nereik\u0117jo nauj\u0173 funkcij\u0173, pvz. <a href=\"https:\/\/www.php.net\/manual\/en\/language.fibers.php\" rel=\"nofollow\">PHP skaidulos<\/a>. Pasirink\u0119 <a href=\"https:\/\/thecodest.co\/lt\/blog\/how-to-hire-the-best-outsourced-development-team-for-a-scaleup\/\">komanda<\/a> nariams, pravartu \u012fsitikinti, kad \u012fg\u016bd\u017eiai yra suderinti arba kad kodo pristatymo procesas b\u016bt\u0173 nuoseklesnis, naudojant statin\u0117s analiz\u0117s \u012frankius ir anksti nustatant versij\u0173 regresijos klaidas.<\/p>\n<h2>Nenoras keistis<\/h2>\n<p><img decoding=\"async\" src=\"\/app\/uploads\/2024\/05\/168078028-edd8afe9-04aa-4250-983b-7bdf115bc459.png\" alt=\"vaizdas\" \/><\/p>\n<p>Nauj\u0173 kalbos funkcij\u0173 diegimas vis dar yra gana menkas ir <strong>PHP<\/strong> 5 daugiau nei 24% dalis ai\u0161kiai rodo, kad <strong><em>ketvirtadalyje PHP projekt\u0173 naudojamos \u017eemesn\u0117s nei 7.x versijos.<\/em><\/strong>, kurios saugumo parama bus nutraukta 2022 m. gruod\u017eio 6 d. Tai rei\u0161kia, kad \u0161io prane\u0161imo ra\u0161ymo metu daugiau nei 25% PHP pagrindu veikian\u010di\u0173 <a href=\"https:\/\/thecodest.co\/lt\/blog\/find-your-ideal-stack-for-web-development\/\">Tinklalapis<\/a> iki met\u0173 pabaigos projektai bus potencialiai pa\u017eeid\u017eiami d\u0117l vis\u0173 nauj\u0173 saugumo sprag\u0173. \u201cJei tai veikia, kod\u0117l tur\u0117tume vargintis\u201d?<\/p>\n<h2>I\u0161vada<\/h2>\n<p>Tur\u0117tume kuo grei\u010diau prisitaikyti prie kalbos poky\u010di\u0173 ir kuo grei\u010diau naudoti naujausius sprendimus. Per galim\u0105 palikimo projekto perk\u0117lim\u0105 verta \u012ftraukti <strong>\"Symfony Polyfill<\/strong> kaip pagalbin\u0117 priemon\u0117 ir naudojant tokius metodus kaip Strangler Pattern ir \u0161iuo metu mading\u0105 BDD metodik\u0105, kuri\u0105 pasaki\u0161kai lengva pritaikyti <strong>\"Symfony\" sistema<\/strong>. Taigi, ar tikrai esame priversti naudoti <strong>\"Symfony Polyfill<\/strong>?<\/p>\n<p><a href=\"https:\/\/calendly.com\/the-codest-php\/thecodest-php-tech-consultation\"><img decoding=\"async\" src=\"\/app\/uploads\/2024\/05\/php_development.png\" alt=\"PHP k\u016brimas nemokamos konsultacijos\" \/><\/a><\/p>\n<p><strong>Skaityti daugiau:<\/strong><\/p>\n<p><a href=\"https:\/\/thecodest.co\/blog\/php-development-5-things-you-ought-to-know\">PHP K\u016brimas: 5 dalykai, kuriuos tur\u0117tum\u0117te \u017einoti<\/a><\/p>\n<p><a href=\"https:\/\/thecodest.co\/blog\/7-startups-that-will-shake-the-marketplace-scene-in-2022\/\">7 startuoliai ir mastelio \u012fmon\u0117s, kurios 2022 m. sudrebins rink\u0105<\/a><\/p>\n<p><a href=\"https:\/\/thecodest.co\/blog\/php-development-symfony-console-component-tips-tricks\">PHP K\u016brimas. \"Symfony\" konsol\u0117s komponentas - Patarimai ir gudryb\u0117s<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>\u0160iame straipsnyje paai\u0161kinsime, kaip veikia \"Symfony Polyfill\" ir kaip jis susij\u0119s su \"Symfony\" projektais. Taip pat gilinsim\u0117s \u012f id\u0117j\u0105, kuri\u0105 \u0161i biblioteka bando i\u0161spr\u0119sti.<\/p>","protected":false},"author":2,"featured_media":3884,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[8],"tags":[],"class_list":["post-3883","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software-development"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.3 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Why do we need Symfony Polyfill (... and why we shouldn&#039;t) - The Codest<\/title>\n<meta name=\"description\" content=\"In the following article, we explain how Symfony Polyfill works and how it relates to Symfony projects. We will also dive deeper into the idea that this library tries to solve.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/thecodest.co\/lt\/tinklarastis\/kodel-mums-reikia-symfony-polyfill-ir-kodel-mes-neturetume\/\" \/>\n<meta property=\"og:locale\" content=\"lt_LT\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Why do we need Symfony Polyfill (... and why we shouldn&#039;t)\" \/>\n<meta property=\"og:description\" content=\"In the following article, we explain how Symfony Polyfill works and how it relates to Symfony projects. We will also dive deeper into the idea that this library tries to solve.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/thecodest.co\/lt\/tinklarastis\/kodel-mums-reikia-symfony-polyfill-ir-kodel-mes-neturetume\/\" \/>\n<meta property=\"og:site_name\" content=\"The Codest\" \/>\n<meta property=\"article:published_time\" content=\"2022-05-19T11:20:21+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-04-28T14:07:09+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/thecodest.co\/app\/uploads\/2024\/05\/why_do_we_need_symfony_polyfill_-._and_why_we_shouldn_t-.png\" \/>\n\t<meta property=\"og:image:width\" content=\"960\" \/>\n\t<meta property=\"og:image:height\" content=\"540\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"thecodest\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"thecodest\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minut\u0117s\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/thecodest.co\\\/blog\\\/why-do-we-need-symfony-polyfill-and-why-we-shouldnt\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/thecodest.co\\\/blog\\\/why-do-we-need-symfony-polyfill-and-why-we-shouldnt\\\/\"},\"author\":{\"name\":\"thecodest\",\"@id\":\"https:\\\/\\\/thecodest.co\\\/#\\\/schema\\\/person\\\/7e3fe41dfa4f4e41a7baad4c6e0d4f76\"},\"headline\":\"Why do we need Symfony Polyfill (&#8230; and why we shouldn&#8217;t)\",\"datePublished\":\"2022-05-19T11:20:21+00:00\",\"dateModified\":\"2026-04-28T14:07:09+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/thecodest.co\\\/blog\\\/why-do-we-need-symfony-polyfill-and-why-we-shouldnt\\\/\"},\"wordCount\":805,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/thecodest.co\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/thecodest.co\\\/blog\\\/why-do-we-need-symfony-polyfill-and-why-we-shouldnt\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/thecodest.co\\\/app\\\/uploads\\\/2024\\\/05\\\/why_do_we_need_symfony_polyfill_-._and_why_we_shouldn_t-.png\",\"articleSection\":[\"Software Development\"],\"inLanguage\":\"lt-LT\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/thecodest.co\\\/blog\\\/why-do-we-need-symfony-polyfill-and-why-we-shouldnt\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/thecodest.co\\\/blog\\\/why-do-we-need-symfony-polyfill-and-why-we-shouldnt\\\/\",\"url\":\"https:\\\/\\\/thecodest.co\\\/blog\\\/why-do-we-need-symfony-polyfill-and-why-we-shouldnt\\\/\",\"name\":\"Why do we need Symfony Polyfill (... and why we shouldn't) - The Codest\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/thecodest.co\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/thecodest.co\\\/blog\\\/why-do-we-need-symfony-polyfill-and-why-we-shouldnt\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/thecodest.co\\\/blog\\\/why-do-we-need-symfony-polyfill-and-why-we-shouldnt\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/thecodest.co\\\/app\\\/uploads\\\/2024\\\/05\\\/why_do_we_need_symfony_polyfill_-._and_why_we_shouldn_t-.png\",\"datePublished\":\"2022-05-19T11:20:21+00:00\",\"dateModified\":\"2026-04-28T14:07:09+00:00\",\"description\":\"In the following article, we explain how Symfony Polyfill works and how it relates to Symfony projects. We will also dive deeper into the idea that this library tries to solve.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/thecodest.co\\\/blog\\\/why-do-we-need-symfony-polyfill-and-why-we-shouldnt\\\/#breadcrumb\"},\"inLanguage\":\"lt-LT\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/thecodest.co\\\/blog\\\/why-do-we-need-symfony-polyfill-and-why-we-shouldnt\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"lt-LT\",\"@id\":\"https:\\\/\\\/thecodest.co\\\/blog\\\/why-do-we-need-symfony-polyfill-and-why-we-shouldnt\\\/#primaryimage\",\"url\":\"https:\\\/\\\/thecodest.co\\\/app\\\/uploads\\\/2024\\\/05\\\/why_do_we_need_symfony_polyfill_-._and_why_we_shouldn_t-.png\",\"contentUrl\":\"https:\\\/\\\/thecodest.co\\\/app\\\/uploads\\\/2024\\\/05\\\/why_do_we_need_symfony_polyfill_-._and_why_we_shouldn_t-.png\",\"width\":960,\"height\":540},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/thecodest.co\\\/blog\\\/why-do-we-need-symfony-polyfill-and-why-we-shouldnt\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/thecodest.co\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Why do we need Symfony Polyfill (&#8230; and why we shouldn&#8217;t)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/thecodest.co\\\/#website\",\"url\":\"https:\\\/\\\/thecodest.co\\\/\",\"name\":\"The Codest\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/thecodest.co\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/thecodest.co\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"lt-LT\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/thecodest.co\\\/#organization\",\"name\":\"The Codest\",\"url\":\"https:\\\/\\\/thecodest.co\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"lt-LT\",\"@id\":\"https:\\\/\\\/thecodest.co\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/thecodest.co\\\/app\\\/uploads\\\/2024\\\/03\\\/thecodest-logo.svg\",\"contentUrl\":\"https:\\\/\\\/thecodest.co\\\/app\\\/uploads\\\/2024\\\/03\\\/thecodest-logo.svg\",\"width\":144,\"height\":36,\"caption\":\"The Codest\"},\"image\":{\"@id\":\"https:\\\/\\\/thecodest.co\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/pl.linkedin.com\\\/company\\\/codest\",\"https:\\\/\\\/clutch.co\\\/profile\\\/codest\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/thecodest.co\\\/#\\\/schema\\\/person\\\/7e3fe41dfa4f4e41a7baad4c6e0d4f76\",\"name\":\"thecodest\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"lt-LT\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5dbfe6a1e8c86e432e8812759e34e6fe82ebac75119ae3237a6c1311fa19caf4?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5dbfe6a1e8c86e432e8812759e34e6fe82ebac75119ae3237a6c1311fa19caf4?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5dbfe6a1e8c86e432e8812759e34e6fe82ebac75119ae3237a6c1311fa19caf4?s=96&d=mm&r=g\",\"caption\":\"thecodest\"},\"url\":\"https:\\\/\\\/thecodest.co\\\/lt\\\/author\\\/thecodest\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Kod\u0117l mums reikia \"Symfony Polyfill\" (... ir kod\u0117l netur\u0117tume) - The Codest","description":"\u0160iame straipsnyje paai\u0161kinsime, kaip veikia \"Symfony Polyfill\" ir kaip jis susij\u0119s su \"Symfony\" projektais. Taip pat gilinsim\u0117s \u012f id\u0117j\u0105, kuri\u0105 \u0161i biblioteka bando i\u0161spr\u0119sti.","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:\/\/thecodest.co\/lt\/tinklarastis\/kodel-mums-reikia-symfony-polyfill-ir-kodel-mes-neturetume\/","og_locale":"lt_LT","og_type":"article","og_title":"Why do we need Symfony Polyfill (... and why we shouldn't)","og_description":"In the following article, we explain how Symfony Polyfill works and how it relates to Symfony projects. We will also dive deeper into the idea that this library tries to solve.","og_url":"https:\/\/thecodest.co\/lt\/tinklarastis\/kodel-mums-reikia-symfony-polyfill-ir-kodel-mes-neturetume\/","og_site_name":"The Codest","article_published_time":"2022-05-19T11:20:21+00:00","article_modified_time":"2026-04-28T14:07:09+00:00","og_image":[{"width":960,"height":540,"url":"https:\/\/thecodest.co\/app\/uploads\/2024\/05\/why_do_we_need_symfony_polyfill_-._and_why_we_shouldn_t-.png","type":"image\/png"}],"author":"thecodest","twitter_card":"summary_large_image","twitter_misc":{"Written by":"thecodest","Est. reading time":"5 minut\u0117s"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/thecodest.co\/blog\/why-do-we-need-symfony-polyfill-and-why-we-shouldnt\/#article","isPartOf":{"@id":"https:\/\/thecodest.co\/blog\/why-do-we-need-symfony-polyfill-and-why-we-shouldnt\/"},"author":{"name":"thecodest","@id":"https:\/\/thecodest.co\/#\/schema\/person\/7e3fe41dfa4f4e41a7baad4c6e0d4f76"},"headline":"Why do we need Symfony Polyfill (&#8230; and why we shouldn&#8217;t)","datePublished":"2022-05-19T11:20:21+00:00","dateModified":"2026-04-28T14:07:09+00:00","mainEntityOfPage":{"@id":"https:\/\/thecodest.co\/blog\/why-do-we-need-symfony-polyfill-and-why-we-shouldnt\/"},"wordCount":805,"commentCount":0,"publisher":{"@id":"https:\/\/thecodest.co\/#organization"},"image":{"@id":"https:\/\/thecodest.co\/blog\/why-do-we-need-symfony-polyfill-and-why-we-shouldnt\/#primaryimage"},"thumbnailUrl":"https:\/\/thecodest.co\/app\/uploads\/2024\/05\/why_do_we_need_symfony_polyfill_-._and_why_we_shouldn_t-.png","articleSection":["Software Development"],"inLanguage":"lt-LT","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/thecodest.co\/blog\/why-do-we-need-symfony-polyfill-and-why-we-shouldnt\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/thecodest.co\/blog\/why-do-we-need-symfony-polyfill-and-why-we-shouldnt\/","url":"https:\/\/thecodest.co\/blog\/why-do-we-need-symfony-polyfill-and-why-we-shouldnt\/","name":"Kod\u0117l mums reikia \"Symfony Polyfill\" (... ir kod\u0117l netur\u0117tume) - The Codest","isPartOf":{"@id":"https:\/\/thecodest.co\/#website"},"primaryImageOfPage":{"@id":"https:\/\/thecodest.co\/blog\/why-do-we-need-symfony-polyfill-and-why-we-shouldnt\/#primaryimage"},"image":{"@id":"https:\/\/thecodest.co\/blog\/why-do-we-need-symfony-polyfill-and-why-we-shouldnt\/#primaryimage"},"thumbnailUrl":"https:\/\/thecodest.co\/app\/uploads\/2024\/05\/why_do_we_need_symfony_polyfill_-._and_why_we_shouldn_t-.png","datePublished":"2022-05-19T11:20:21+00:00","dateModified":"2026-04-28T14:07:09+00:00","description":"\u0160iame straipsnyje paai\u0161kinsime, kaip veikia \"Symfony Polyfill\" ir kaip jis susij\u0119s su \"Symfony\" projektais. Taip pat gilinsim\u0117s \u012f id\u0117j\u0105, kuri\u0105 \u0161i biblioteka bando i\u0161spr\u0119sti.","breadcrumb":{"@id":"https:\/\/thecodest.co\/blog\/why-do-we-need-symfony-polyfill-and-why-we-shouldnt\/#breadcrumb"},"inLanguage":"lt-LT","potentialAction":[{"@type":"ReadAction","target":["https:\/\/thecodest.co\/blog\/why-do-we-need-symfony-polyfill-and-why-we-shouldnt\/"]}]},{"@type":"ImageObject","inLanguage":"lt-LT","@id":"https:\/\/thecodest.co\/blog\/why-do-we-need-symfony-polyfill-and-why-we-shouldnt\/#primaryimage","url":"https:\/\/thecodest.co\/app\/uploads\/2024\/05\/why_do_we_need_symfony_polyfill_-._and_why_we_shouldn_t-.png","contentUrl":"https:\/\/thecodest.co\/app\/uploads\/2024\/05\/why_do_we_need_symfony_polyfill_-._and_why_we_shouldn_t-.png","width":960,"height":540},{"@type":"BreadcrumbList","@id":"https:\/\/thecodest.co\/blog\/why-do-we-need-symfony-polyfill-and-why-we-shouldnt\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/thecodest.co\/"},{"@type":"ListItem","position":2,"name":"Why do we need Symfony Polyfill (&#8230; and why we shouldn&#8217;t)"}]},{"@type":"WebSite","@id":"https:\/\/thecodest.co\/#website","url":"https:\/\/thecodest.co\/","name":"The Codest","description":"","publisher":{"@id":"https:\/\/thecodest.co\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/thecodest.co\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"lt-LT"},{"@type":"Organization","@id":"https:\/\/thecodest.co\/#organization","name":"The Codest","url":"https:\/\/thecodest.co\/","logo":{"@type":"ImageObject","inLanguage":"lt-LT","@id":"https:\/\/thecodest.co\/#\/schema\/logo\/image\/","url":"https:\/\/thecodest.co\/app\/uploads\/2024\/03\/thecodest-logo.svg","contentUrl":"https:\/\/thecodest.co\/app\/uploads\/2024\/03\/thecodest-logo.svg","width":144,"height":36,"caption":"The Codest"},"image":{"@id":"https:\/\/thecodest.co\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/pl.linkedin.com\/company\/codest","https:\/\/clutch.co\/profile\/codest"]},{"@type":"Person","@id":"https:\/\/thecodest.co\/#\/schema\/person\/7e3fe41dfa4f4e41a7baad4c6e0d4f76","name":"thecodest","image":{"@type":"ImageObject","inLanguage":"lt-LT","@id":"https:\/\/secure.gravatar.com\/avatar\/5dbfe6a1e8c86e432e8812759e34e6fe82ebac75119ae3237a6c1311fa19caf4?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/5dbfe6a1e8c86e432e8812759e34e6fe82ebac75119ae3237a6c1311fa19caf4?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5dbfe6a1e8c86e432e8812759e34e6fe82ebac75119ae3237a6c1311fa19caf4?s=96&d=mm&r=g","caption":"thecodest"},"url":"https:\/\/thecodest.co\/lt\/author\/thecodest\/"}]}},"_links":{"self":[{"href":"https:\/\/thecodest.co\/lt\/wp-json\/wp\/v2\/posts\/3883","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thecodest.co\/lt\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thecodest.co\/lt\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thecodest.co\/lt\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/thecodest.co\/lt\/wp-json\/wp\/v2\/comments?post=3883"}],"version-history":[{"count":5,"href":"https:\/\/thecodest.co\/lt\/wp-json\/wp\/v2\/posts\/3883\/revisions"}],"predecessor-version":[{"id":8142,"href":"https:\/\/thecodest.co\/lt\/wp-json\/wp\/v2\/posts\/3883\/revisions\/8142"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/thecodest.co\/lt\/wp-json\/wp\/v2\/media\/3884"}],"wp:attachment":[{"href":"https:\/\/thecodest.co\/lt\/wp-json\/wp\/v2\/media?parent=3883"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thecodest.co\/lt\/wp-json\/wp\/v2\/categories?post=3883"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thecodest.co\/lt\/wp-json\/wp\/v2\/tags?post=3883"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}