{"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":"kapec-mums-vajag-symfony-polyfill-un-kapec-mums-nevajadzetu","status":"publish","type":"post","link":"https:\/\/thecodest.co\/lv\/blog\/why-do-we-need-symfony-polyfill-and-why-we-shouldnt\/","title":{"rendered":"K\u0101p\u0113c mums ir nepiecie\u0161ams Symfony Polyfill (... un k\u0101p\u0113c mums nevajadz\u0113tu)"},"content":{"rendered":"<p>Liel\u0101kaj\u0101 da\u013c\u0101 m\u016bsdienu <strong><a href=\"https:\/\/thecodest.co\/lv\/dictionary\/how-to-hire-a-php-developer\/\">PHP<\/a> projekti<\/strong>, paman\u012bsiet, ka ir liela atkar\u012bba no <a href=\"https:\/\/github.com\/symfony\/polyfill\" rel=\"nofollow\">Symfony Polyfill<\/a> bibliot\u0113ka. \u0160aj\u0101 rakst\u0101 m\u0113s izskaidrosim ne tikai to, k\u0101 tas darbojas un k\u0101 tas ir saist\u012bts ar <strong>Symfony projekti<\/strong>, bet m\u0113s ar\u012b padzi\u013cin\u0101ti apl\u016bkosim ideju par probl\u0113mu, ko t\u0101 m\u0113\u0123ina atrisin\u0101t.<\/p>\n<h2>Mazliet v\u0113stures<\/h2>\n<p><strong>PHP<\/strong> ilgu laiku bija slikt\u0101 st\u0101vokl\u012b. Tas bija 2005. gad\u0101, kad Andrejs Zmievskis s\u0101ka <a href=\"https:\/\/thecodest.co\/lv\/dictionary\/why-do-projects-fail\/\">projekts<\/a> lai nodro\u0161in\u0101tu dzimt\u0101 Unicode atbalstu <strong>PHP<\/strong> sakar\u0101 ar jaukt\u0101m atsauksm\u0113m un daudz\u0101m ba\u017e\u0101m, ka <strong>PHP<\/strong> notiek nepareiz\u0101 virzien\u0101. Att\u012bst\u012bba <strong>PHP<\/strong> 6.x s\u0101k\u0101s. Ta\u010du tas t\u0101 ar\u012b netika pabeigts, un tas ir st\u0101sts citai dienai. 10 gadus v\u0113l\u0101k, kaut kad starp 2014. un 2015. gadu, Dmitrijs Stogovs, Si\u0146\u010den Hui un \u0145ikita Popovs s\u0101ka darbu pie projekta <code>phpng<\/code> - projekts, kas optimiz\u0113ja un p\u0101rveidoja iek\u0161\u0113jo Zend Engine, ko izmantoja <strong>PHP<\/strong>.<\/p>\n<h4>&gt;_ <em>Rad\u0101s PHP 7<\/em><\/h4>\n<p>Un par p\u0113d\u0113jiem gadiem, <strong>PHP<\/strong> tiek att\u012bst\u012bta strauj\u0101k nek\u0101 jebkad agr\u0101k, un pa\u0161laik t\u0101 stabil\u0101 versija ir 8.1.<\/p>\n<p><img decoding=\"async\" src=\"\/app\/uploads\/2024\/05\/162561908-025b0d15-1b7a-4592-8f81-05c7b29bc3c9.png\" alt=\"att\u0113ls\" \/><\/p>\n<p>Strauj\u0101s jauno valodas funkciju att\u012bst\u012bbas d\u0113\u013c \u0161\u012bm izmai\u0146\u0101m bija j\u0101piel\u0101gojas ne tikai izstr\u0101d\u0101t\u0101jiem, bet ar\u012b infrastrukt\u016bras un hostinga pakalpojumu sniedz\u0113jiem.<\/p>\n<p>Lai m\u0113s, izstr\u0101d\u0101t\u0101ji, var\u0113tu izmantot m\u016bsu iem\u012b\u013cot\u0101s programm\u0113\u0161anas valodas jaun\u0101k\u0101s un lab\u0101k\u0101s funkcijas. <strong>Symfony Polyfill<\/strong> projekts ir dzimis.<\/p>\n<h2>Symfony Polyfill un t\u0101 funkcija<\/h2>\n<blockquote>\n<p>\u0160is projekts backports funkcijas, kas atrodamas jaun\u0101kaj\u0101 <strong>PHP versijas<\/strong> un nodro\u0161ina da\u017eu papla\u0161in\u0101jumu un funkciju savietojam\u012bbas sl\u0101\u0146us. To paredz\u0113ts izmantot, ja ir iesp\u0113jama p\u0101rnesam\u012bba starp da\u017e\u0101d\u0101m valst\u012bm. <strong>PHP versijas<\/strong> un papla\u0161in\u0101jumi ir v\u0113lami.<\/p>\n<\/blockquote>\n<p>Tas ir t\u012brs apraksts par <a href=\"https:\/\/github.com\/symfony\/polyfill\" rel=\"nofollow\">Symfony Polyfill<\/a> bet ko tas noz\u012bm\u0113? <\/p>\n<p>\u0145emot v\u0113r\u0101 strauji augo\u0161o <strong>PHP valoda<\/strong> un interneta pakalpojumu sniedz\u0113ju piel\u0101got\u0101s programmat\u016bras piel\u0101go\u0161ana, liel\u0101k\u0101 da\u013ca izstr\u0101d\u0101t\u0101ju ir sask\u0101ru\u0161ies ar vienk\u0101r\u0161u izv\u0113li:<\/p>\n<ul>\n<li>K\u0101 <a href=\"https:\/\/thecodest.co\/lv\/blog\/hire-vue-js-developers\/\">izstr\u0101d\u0101t\u0101js<\/a>, es veidoju lietojumprogrammas vec\u0101k\u0101 versij\u0101 <strong>PHP<\/strong> un nevar izmantot jaun\u0101k\u0101s valodas funkcijas, vai<\/li>\n<li>K\u0101 izstr\u0101d\u0101t\u0101js es veidoju modernu lietojumprogrammu, izmantojot jaun\u0101ko versiju <strong>PHP<\/strong>.<\/li>\n<\/ul>\n<p>Ta\u010du tiem bija j\u0101saglab\u0101 savietojam\u012bba ar citiem r\u012bkiem un pakalpojumiem, kas jau tiek izmantoti gan sist\u0113m\u0101, gan <a href=\"https:\/\/thecodest.co\/lv\/dictionary\/what-is-code-refactoring\/\">kods<\/a> un infrastrukt\u016bras pus\u0113 - gandr\u012bz vienm\u0113r tiek izmantotas vec\u0101kas versijas <strong>PHP<\/strong>.Vai man, d\u0101rgais las\u012bt\u0101j, ir j\u0101piemin \u0161o divu risin\u0101jumu t\u0101 sauktais \u2018jautr\u012bbas faktors\u2019?<\/p>\n<p>Lai atvieglotu darbu izstr\u0101d\u0101t\u0101jiem, 2015. gad\u0101 atv\u0113rt\u0101 koda kopiena izveidoja <a href=\"https:\/\/github.com\/symfony\/polyfill\/tree\/v1.0.0\" rel=\"nofollow\">Polyfill pirm\u0101 stabil\u0101 versija ar numuru 1.0.<\/a>. Izstr\u0101d\u0101t\u0101ju dz\u012bve k\u013cuva viegl\u0101ka, un var teikt, ka Symfony Polyfill atrisin\u0101ja daudzas probl\u0113mas, piem\u0113ram, koda p\u0101rnesam\u012bbu starp da\u017e\u0101d\u0101m platform\u0101m, <strong>PHP versija<\/strong> at\u0161\u0137ir\u012bbas, k\u0101 ar\u012b atviegloja lietojumprogrammu refaktoriz\u0101ciju un samazin\u0101ja tehnolo\u0123isko par\u0101du.<\/p>\n<p>Diem\u017e\u0113l ne visas probl\u0113mas var atrisin\u0101t ar vienu r\u012bku.<\/p>\n<h2>Probl\u0113mas, kas saist\u012btas ar vair\u0101ku vides versiju uztur\u0113\u0161anu<\/h2>\n<p>Sare\u017e\u0123\u012btam <strong>IT projekti<\/strong>, da\u017e\u0101du vides versiju uztur\u0113\u0161ana da\u017e\u0101diem klientiem\/nozar\u0113m\/dienestiem ir parasta proced\u016bra. T\u0101 rezult\u0101t\u0101 rodas nepiecie\u0161am\u012bba vienlaic\u012bgi izstr\u0101d\u0101t daudz da\u017e\u0101du fili\u0101\u013cu lietojumprogrammas, kur\u0101m bie\u017ei vien ir at\u0161\u0137ir\u012bgas funkcion\u0101l\u0101s pras\u012bbas un kur\u0101m ir sava piesaiste. Esmu daudzk\u0101rt sask\u0101ries ar probl\u0113mu uztur\u0113t vienu un to pa\u0161u lietojumprogrammu da\u017e\u0101diem klientiem da\u017e\u0101d\u0101s PHP5 \/ PHP7 vid\u0113s, un daudz\u0101s probl\u0113mas, kas saist\u012btas ar bibliot\u0113ku vai to atkar\u012bbu nesader\u012bbu da\u017e\u0101d\u0101m versij\u0101m, ir vienk\u0101r\u0161i neatrisin\u0101mas, izmantojot tikai <strong>Symfony Polyfill<\/strong>.<\/p>\n<h2>Prasmju at\u0161\u0137ir\u012bba starp att\u012bst\u012bbas jomas dal\u012bbniekiem team<\/h2>\n<p>\u0145emot v\u0113r\u0101 straujo ieb\u016bv\u0113to funkciju skaita pieaugumu <strong>PHP<\/strong>, daudzi izstr\u0101d\u0101t\u0101ji nav sekoju\u0161i l\u012bdzi p\u0101rmai\u0146u tempam. Daudzas no funkcij\u0101m, kas tiek pied\u0101v\u0101tas augst\u0101kaj\u0101s versij\u0101s <strong>PHP<\/strong> ir viegli pan\u0101kt ar \u0101r\u0113j\u0101m bibliot\u0113k\u0101m, vai ar\u012b izstr\u0101d\u0101t\u0101jiem vienk\u0101r\u0161i nebija nepiecie\u0161amas jaun\u0101s funkcijas, piem\u0113ram, <a href=\"https:\/\/www.php.net\/manual\/en\/language.fibers.php\" rel=\"nofollow\">PHP \u0161\u0137iedras<\/a>. Izv\u0113loties <a href=\"https:\/\/thecodest.co\/lv\/blog\/how-to-hire-the-best-outsourced-development-team-for-a-scaleup\/\">komanda<\/a> locek\u013ciem, ir labi p\u0101rliecin\u0101ties, ka prasmes ir saska\u0146otas vai ka koda pieg\u0101des process ir konsekvent\u0101ks, izmantojot statisk\u0101s anal\u012bzes r\u012bkus un agr\u012bnu versiju regresijas k\u013c\u016bdu atkl\u0101\u0161anu.<\/p>\n<h2>Nev\u0113l\u0113\u0161an\u0101s main\u012bties<\/h2>\n<p><img decoding=\"async\" src=\"\/app\/uploads\/2024\/05\/168078028-edd8afe9-04aa-4250-983b-7bdf115bc459.png\" alt=\"att\u0113ls\" \/><\/p>\n<p>Jaunu valodas funkciju ievie\u0161ana joproj\u0101m ir diezgan zema un <strong>PHP<\/strong> 5 ir vair\u0101k nek\u0101 24% da\u013ca skaidri par\u0101da, ka <strong><em>ceturtaj\u0101 da\u013c\u0101 PHP projektu tiek izmantotas versijas, kas ir zem\u0101kas par 7.x.<\/em><\/strong>, kuras dro\u0161\u012bbas atbalsts tiks p\u0101rtraukts 2022. gada 6. decembr\u012b. Tas noz\u012bm\u0113, ka \u0161\u012b zi\u0146ojuma rakst\u012b\u0161anas laik\u0101 vair\u0101k nek\u0101 25% PHP balst\u012btu PHP. <a href=\"https:\/\/thecodest.co\/lv\/blog\/find-your-ideal-stack-for-web-development\/\">T\u012bmek\u013ca vietne<\/a> projekti l\u012bdz gada beig\u0101m b\u016bs potenci\u0101li neaizsarg\u0101ti pret vis\u0101m jaunaj\u0101m dro\u0161\u012bbas ievainojam\u012bb\u0101m. \u201cJa tas darbojas, k\u0101p\u0113c mums b\u016btu j\u0101trauc\u0113jas?\u201d<\/p>\n<h2>Secin\u0101jums<\/h2>\n<p>Mums p\u0113c iesp\u0113jas \u0101tr\u0101k j\u0101piel\u0101gojas valodas izmai\u0146\u0101m un p\u0113c iesp\u0113jas \u0101tr\u0101k j\u0101izmanto jaun\u0101kie risin\u0101jumi. Iesp\u0113jam\u0101s legacy projekta migr\u0101cijas laik\u0101 ir v\u0113rts iek\u013caut <strong>Symfony Polyfill<\/strong> k\u0101 pal\u012bgs un izmantojot t\u0101dus pa\u0146\u0113mienus k\u0101 Strangler Pattern un pa\u0161laik mod\u0113 eso\u0161o BDD metodolo\u0123iju, ko ir pasakaini viegli piem\u0113rot, lai <strong>Symfony ietvars<\/strong>. T\u0101tad, vai m\u0113s patie\u0161\u0101m esam spiesti izmantot <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 izstr\u0101des bezmaksas konsult\u0101cijas\" \/><\/a><\/p>\n<p><strong>Las\u012bt vair\u0101k:<\/strong><\/p>\n<p><a href=\"https:\/\/thecodest.co\/blog\/php-development-5-things-you-ought-to-know\">PHP Izstr\u0101de: 5 lietas, kas jums b\u016btu j\u0101zina<\/a><\/p>\n<p><a href=\"https:\/\/thecodest.co\/blog\/7-startups-that-will-shake-the-marketplace-scene-in-2022\/\">7 jaunuz\u0146\u0113mumi, kas 2022. gad\u0101 satricin\u0101s tirgus skatuvi<\/a><\/p>\n<p><a href=\"https:\/\/thecodest.co\/blog\/php-development-symfony-console-component-tips-tricks\">PHP Izstr\u0101de. Symfony konsoles komponente - Padomi un triki<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>\u0160aj\u0101 rakst\u0101 m\u0113s izskaidrosim, k\u0101 darbojas Symfony Polyfill un k\u0101 tas ir saist\u012bts ar Symfony projektiem. M\u0113s ar\u012b padzi\u013cin\u0101ti apl\u016bkosim ideju, ko \u0161\u012b bibliot\u0113ka cen\u0161as atrisin\u0101t.<\/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\/lv\/emuars\/kapec-mums-vajag-symfony-polyfill-un-kapec-mums-nevajadzetu\/\" \/>\n<meta property=\"og:locale\" content=\"lv_LV\" \/>\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\/lv\/emuars\/kapec-mums-vajag-symfony-polyfill-un-kapec-mums-nevajadzetu\/\" \/>\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 min\u016btes\" \/>\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\":\"lv-LV\",\"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\":\"lv-LV\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/thecodest.co\\\/blog\\\/why-do-we-need-symfony-polyfill-and-why-we-shouldnt\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"lv-LV\",\"@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\":\"lv-LV\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/thecodest.co\\\/#organization\",\"name\":\"The Codest\",\"url\":\"https:\\\/\\\/thecodest.co\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"lv-LV\",\"@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\":\"lv-LV\",\"@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\\\/lv\\\/author\\\/thecodest\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"K\u0101p\u0113c mums ir nepiecie\u0161ams Symfony Polyfill (... un k\u0101p\u0113c mums nevajadz\u0113tu) - The Codest","description":"\u0160aj\u0101 rakst\u0101 m\u0113s izskaidrosim, k\u0101 darbojas Symfony Polyfill un k\u0101 tas ir saist\u012bts ar Symfony projektiem. M\u0113s ar\u012b padzi\u013cin\u0101ti apl\u016bkosim ideju, ko \u0161\u012b bibliot\u0113ka cen\u0161as atrisin\u0101t.","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\/lv\/emuars\/kapec-mums-vajag-symfony-polyfill-un-kapec-mums-nevajadzetu\/","og_locale":"lv_LV","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\/lv\/emuars\/kapec-mums-vajag-symfony-polyfill-un-kapec-mums-nevajadzetu\/","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 min\u016btes"},"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":"lv-LV","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":"K\u0101p\u0113c mums ir nepiecie\u0161ams Symfony Polyfill (... un k\u0101p\u0113c mums nevajadz\u0113tu) - 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":"\u0160aj\u0101 rakst\u0101 m\u0113s izskaidrosim, k\u0101 darbojas Symfony Polyfill un k\u0101 tas ir saist\u012bts ar Symfony projektiem. M\u0113s ar\u012b padzi\u013cin\u0101ti apl\u016bkosim ideju, ko \u0161\u012b bibliot\u0113ka cen\u0161as atrisin\u0101t.","breadcrumb":{"@id":"https:\/\/thecodest.co\/blog\/why-do-we-need-symfony-polyfill-and-why-we-shouldnt\/#breadcrumb"},"inLanguage":"lv-LV","potentialAction":[{"@type":"ReadAction","target":["https:\/\/thecodest.co\/blog\/why-do-we-need-symfony-polyfill-and-why-we-shouldnt\/"]}]},{"@type":"ImageObject","inLanguage":"lv-LV","@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":"lv-LV"},{"@type":"Organization","@id":"https:\/\/thecodest.co\/#organization","name":"The Codest","url":"https:\/\/thecodest.co\/","logo":{"@type":"ImageObject","inLanguage":"lv-LV","@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":"lv-LV","@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\/lv\/author\/thecodest\/"}]}},"_links":{"self":[{"href":"https:\/\/thecodest.co\/lv\/wp-json\/wp\/v2\/posts\/3883","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thecodest.co\/lv\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thecodest.co\/lv\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thecodest.co\/lv\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/thecodest.co\/lv\/wp-json\/wp\/v2\/comments?post=3883"}],"version-history":[{"count":5,"href":"https:\/\/thecodest.co\/lv\/wp-json\/wp\/v2\/posts\/3883\/revisions"}],"predecessor-version":[{"id":8142,"href":"https:\/\/thecodest.co\/lv\/wp-json\/wp\/v2\/posts\/3883\/revisions\/8142"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/thecodest.co\/lv\/wp-json\/wp\/v2\/media\/3884"}],"wp:attachment":[{"href":"https:\/\/thecodest.co\/lv\/wp-json\/wp\/v2\/media?parent=3883"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thecodest.co\/lv\/wp-json\/wp\/v2\/categories?post=3883"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thecodest.co\/lv\/wp-json\/wp\/v2\/tags?post=3883"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}