{"id":380843,"date":"2023-05-10T08:05:23","date_gmt":"2023-05-10T08:05:23","guid":{"rendered":"https:\/\/webkul.com\/blog\/?p=380843"},"modified":"2025-12-18T09:14:52","modified_gmt":"2025-12-18T09:14:52","slug":"phpstan-in-magento-2","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/phpstan-in-magento-2\/","title":{"rendered":"PHPStan in Magento 2"},"content":{"rendered":"\n<p>Hello Friends!!<\/p>\n\n\n\n<p>In today\u2019s blog, I will explain about PHPStan.<\/p>\n\n\n\n<p>PHPStan is a static analysis tool for PHP that can help you catch potential bugs and errors in your code before they even happen. <\/p>\n\n\n\n<p>PHPStan is useful to verify issues such as &#8211;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The return statement is missing in the methods. However, every method should return something.<\/li>\n\n\n\n<li>When we access an undefined constant.<\/li>\n\n\n\n<li>When we access an undefined property.<\/li>\n\n\n\n<li>If an array has N duplicate keys.<\/li>\n\n\n\n<li>When we call an undefined method.<\/li>\n\n\n\n<li>When we use possibly undefined variables.<\/li>\n\n\n\n<li>When we use unknown magic methods and properties on classes with __call and __get.<\/li>\n\n\n\n<li>Those anonymous function that has unused use.<\/li>\n\n\n\n<li>Accessing to constant in an unknown class.<\/li>\n<\/ul>\n\n\n\n<p>Magento actually comes with PHPStan pre-installed. You can confirm it by checking out the composer.json file in the root of your Magento instance, like the image below.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1112\" height=\"451\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/05\/Screenshot-2023-05-10-13_17_14.png\" alt=\"phpstan in composer file\" class=\"wp-image-380889\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/05\/Screenshot-2023-05-10-13_17_14.png 1112w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/05\/Screenshot-2023-05-10-13_17_14-300x122.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/05\/Screenshot-2023-05-10-13_17_14-250x101.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/05\/Screenshot-2023-05-10-13_17_14-768x311.png 768w\" sizes=\"(max-width: 1112px) 100vw, 1112px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>To confirm which version of PHPStan you are running, execute the command below.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">composer show phpstan\/phpstan<\/pre>\n\n\n\n<p>To use PHPStan with <a href=\"https:\/\/store.webkul.com\/Magento-2.html\" target=\"_blank\" rel=\"noreferrer noopener\">Magento 2<\/a>, we should always update it via Composer.<\/p>\n\n\n\n<p>Use the command below to update the PHPStan &#8211;<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">composer require --dev phpstan\/phpstan<\/pre>\n\n\n\n<p>Once PHPStan is updated on your instance,<\/p>\n\n\n\n<p>Create a PHPStan configuration file called phpstan.neon in the root folder of your project, which looks like the file below &#8211;<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">parameters:\n    level: 7\n    fileExtensions:\n        - php\n        - phtml\n    paths:\n        - Api\n        - Block\n        - Controller\n        - Helper\n        - Model\n        - Plugin\n        - Repository\n        - Setup\n        - Ui\n        - Validator\n        - view\nincludes:\n    - VendorName\/ModuleName\/phpstan-magento\/extension.neon<\/pre>\n\n\n\n<p>In the above configuration file, we&#8217;re including the phpstan.neon file that comes with the Magento 2 base package, and defining some additional parameters.<\/p>\n\n\n\n<p>The level parameter determines the strictness of the analysis, with higher numbers indicating more strictness.<\/p>\n\n\n\n<p>The paths parameter tells PHPStan where to find the code that it should analyze. <\/p>\n\n\n\n<p>The includes parameter is where you have placed the phpstan configuration file.<\/p>\n\n\n\n<p>It can be in the vendor folder too, if you have installed your module via Composer.<\/p>\n\n\n\n<p>Now you can run PHPStan using the vendor\/bin\/phpstan analyze command &#8211;<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">vendor\/bin\/phpstan analyze app\/code\/VendorName\/ModuleName<\/pre>\n\n\n\n<p>In the above command, we&#8217;re analyzing the app\/code\/VendorName\/ModuleName directory. You can also analyze individual files with the below command- <\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">vendor\/bin\/phpstan analyze app\/code\/VendorName\/ModuleName\/Controller\/Index\/Index.php<\/pre>\n\n\n\n<p>If PHPStan runs successfully, it will look like the image below.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"391\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/05\/Screenshot-2023-05-10-12_33_53-1200x391.png\" alt=\"phpstan run successfully will look like this\" class=\"wp-image-380883\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/05\/Screenshot-2023-05-10-12_33_53-1200x391.png 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/05\/Screenshot-2023-05-10-12_33_53-300x98.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/05\/Screenshot-2023-05-10-12_33_53-250x82.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/05\/Screenshot-2023-05-10-12_33_53-768x251.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/05\/Screenshot-2023-05-10-12_33_53.png 1364w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>In the above image, Webkul is my VendorName and DetectMobile is my ModuleName.<\/p>\n\n\n\n<p>PHPStan will output any errors or warnings that it finds in your code. You can then use this PHPstan information to fix any potential issues and improve the quality of your code.<\/p>\n\n\n\n<p>That\u2019s all about <a href=\"https:\/\/developer.adobe.com\/commerce\/testing\/guide\/#phpstan\">PHPStan<\/a>. I hope this will be helpful.<\/p>\n\n\n\n<p>If you have any questions, please comment below, and we will try to respond to you.<\/p>\n\n\n\n<p>Thanks for visiting the&nbsp;<a href=\"https:\/\/webkul.com\/\">Webkul<\/a>&nbsp;blog! \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hello Friends!! In today\u2019s blog, I will explain about PHPStan. PHPStan is a static analysis tool for PHP that can help you catch potential bugs and errors in your code before they even happen. PHPStan is useful to verify issues such as &#8211; Magento actually comes with PHPStan pre-installed. You can confirm it by checking <a href=\"https:\/\/webkul.com\/blog\/phpstan-in-magento-2\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":430,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9121],"tags":[14179,14176,14177],"class_list":["post-380843","post","type-post","status-publish","format-standard","hentry","category-magento-2","tag-how-to-use-phpstan-in-magento-2","tag-phpstan","tag-phpstan-and-its-uses"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>PHPStan in Magento 2 - Webkul Blog<\/title>\n<meta name=\"description\" content=\"phpstan-and-its-uses-in-magento-2 how to use phpstan in magento 2, phpstan will improve your code quality.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/webkul.com\/blog\/phpstan-in-magento-2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PHPStan in Magento 2 - Webkul Blog\" \/>\n<meta property=\"og:description\" content=\"phpstan-and-its-uses-in-magento-2 how to use phpstan in magento 2, phpstan will improve your code quality.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/phpstan-in-magento-2\/\" \/>\n<meta property=\"og:site_name\" content=\"Webkul Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webkul\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-05-10T08:05:23+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-12-18T09:14:52+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/05\/Screenshot-2023-05-10-13_17_14.png\" \/>\n<meta name=\"author\" content=\"Shweta Singh\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@webkul\" \/>\n<meta name=\"twitter:site\" content=\"@webkul\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Shweta Singh\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/webkul.com\/blog\/phpstan-in-magento-2\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/phpstan-in-magento-2\/\"},\"author\":{\"name\":\"Shweta Singh\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/2aa9e6c8f634365b94451ac7a636a444\"},\"headline\":\"PHPStan in Magento 2\",\"datePublished\":\"2023-05-10T08:05:23+00:00\",\"dateModified\":\"2025-12-18T09:14:52+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/phpstan-in-magento-2\/\"},\"wordCount\":417,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/phpstan-in-magento-2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/05\/Screenshot-2023-05-10-13_17_14.png\",\"keywords\":[\"how to use phpstan in magento 2\",\"phpstan\",\"phpstan and its uses\"],\"articleSection\":[\"Magento 2\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/phpstan-in-magento-2\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/phpstan-in-magento-2\/\",\"url\":\"https:\/\/webkul.com\/blog\/phpstan-in-magento-2\/\",\"name\":\"PHPStan in Magento 2 - Webkul Blog\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/phpstan-in-magento-2\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/phpstan-in-magento-2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/05\/Screenshot-2023-05-10-13_17_14.png\",\"datePublished\":\"2023-05-10T08:05:23+00:00\",\"dateModified\":\"2025-12-18T09:14:52+00:00\",\"description\":\"phpstan-and-its-uses-in-magento-2 how to use phpstan in magento 2, phpstan will improve your code quality.\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/phpstan-in-magento-2\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/phpstan-in-magento-2\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/phpstan-in-magento-2\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/05\/Screenshot-2023-05-10-13_17_14.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/05\/Screenshot-2023-05-10-13_17_14.png\",\"width\":1112,\"height\":451,\"caption\":\"Screenshot-2023-05-10-13_17_14\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/phpstan-in-magento-2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PHPStan in Magento 2\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/webkul.com\/blog\/#website\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"name\":\"Webkul Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/webkul.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/webkul.com\/blog\/#organization\",\"name\":\"WebKul Software Private Limited\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"width\":380,\"height\":380,\"caption\":\"WebKul Software Private Limited\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webkul\/\",\"https:\/\/x.com\/webkul\",\"https:\/\/www.instagram.com\/webkul\/\",\"https:\/\/www.linkedin.com\/company\/webkul\",\"https:\/\/www.youtube.com\/user\/webkul\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/2aa9e6c8f634365b94451ac7a636a444\",\"name\":\"Shweta Singh\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/51b8ea403cd7931cc8ef43d9b80e04e02143fd85bae4fe4ff866790408fb82d0?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/51b8ea403cd7931cc8ef43d9b80e04e02143fd85bae4fe4ff866790408fb82d0?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g\",\"caption\":\"Shweta Singh\"},\"url\":\"https:\/\/webkul.com\/blog\/author\/shweta-singh342\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"PHPStan in Magento 2 - Webkul Blog","description":"phpstan-and-its-uses-in-magento-2 how to use phpstan in magento 2, phpstan will improve your code quality.","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:\/\/webkul.com\/blog\/phpstan-in-magento-2\/","og_locale":"en_US","og_type":"article","og_title":"PHPStan in Magento 2 - Webkul Blog","og_description":"phpstan-and-its-uses-in-magento-2 how to use phpstan in magento 2, phpstan will improve your code quality.","og_url":"https:\/\/webkul.com\/blog\/phpstan-in-magento-2\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2023-05-10T08:05:23+00:00","article_modified_time":"2025-12-18T09:14:52+00:00","og_image":[{"url":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/05\/Screenshot-2023-05-10-13_17_14.png","type":"","width":"","height":""}],"author":"Shweta Singh","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Shweta Singh","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/phpstan-in-magento-2\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/phpstan-in-magento-2\/"},"author":{"name":"Shweta Singh","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/2aa9e6c8f634365b94451ac7a636a444"},"headline":"PHPStan in Magento 2","datePublished":"2023-05-10T08:05:23+00:00","dateModified":"2025-12-18T09:14:52+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/phpstan-in-magento-2\/"},"wordCount":417,"commentCount":0,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/phpstan-in-magento-2\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/05\/Screenshot-2023-05-10-13_17_14.png","keywords":["how to use phpstan in magento 2","phpstan","phpstan and its uses"],"articleSection":["Magento 2"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/phpstan-in-magento-2\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/phpstan-in-magento-2\/","url":"https:\/\/webkul.com\/blog\/phpstan-in-magento-2\/","name":"PHPStan in Magento 2 - Webkul Blog","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/phpstan-in-magento-2\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/phpstan-in-magento-2\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/05\/Screenshot-2023-05-10-13_17_14.png","datePublished":"2023-05-10T08:05:23+00:00","dateModified":"2025-12-18T09:14:52+00:00","description":"phpstan-and-its-uses-in-magento-2 how to use phpstan in magento 2, phpstan will improve your code quality.","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/phpstan-in-magento-2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/phpstan-in-magento-2\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/phpstan-in-magento-2\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/05\/Screenshot-2023-05-10-13_17_14.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/05\/Screenshot-2023-05-10-13_17_14.png","width":1112,"height":451,"caption":"Screenshot-2023-05-10-13_17_14"},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/phpstan-in-magento-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"PHPStan in Magento 2"}]},{"@type":"WebSite","@id":"https:\/\/webkul.com\/blog\/#website","url":"https:\/\/webkul.com\/blog\/","name":"Webkul Blog","description":"","publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/webkul.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/webkul.com\/blog\/#organization","name":"WebKul Software Private Limited","url":"https:\/\/webkul.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","width":380,"height":380,"caption":"WebKul Software Private Limited"},"image":{"@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webkul\/","https:\/\/x.com\/webkul","https:\/\/www.instagram.com\/webkul\/","https:\/\/www.linkedin.com\/company\/webkul","https:\/\/www.youtube.com\/user\/webkul\/"]},{"@type":"Person","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/2aa9e6c8f634365b94451ac7a636a444","name":"Shweta Singh","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/51b8ea403cd7931cc8ef43d9b80e04e02143fd85bae4fe4ff866790408fb82d0?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/51b8ea403cd7931cc8ef43d9b80e04e02143fd85bae4fe4ff866790408fb82d0?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g","caption":"Shweta Singh"},"url":"https:\/\/webkul.com\/blog\/author\/shweta-singh342\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/380843","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/users\/430"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=380843"}],"version-history":[{"count":16,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/380843\/revisions"}],"predecessor-version":[{"id":518001,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/380843\/revisions\/518001"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=380843"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=380843"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=380843"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}