<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Chetan Rohilla</title>
    <description>The latest articles on DEV Community by Chetan Rohilla (@readymadecode).</description>
    <link>https://dev.to/readymadecode</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F667267%2F9a9fb67e-b1de-45d5-895e-0b7eab6b74fc.png</url>
      <title>DEV Community: Chetan Rohilla</title>
      <link>https://dev.to/readymadecode</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/readymadecode"/>
    <language>en</language>
    <item>
      <title>Understand the JavaScript SEO basics in 2023</title>
      <dc:creator>Chetan Rohilla</dc:creator>
      <pubDate>Fri, 16 Jun 2023 16:34:32 +0000</pubDate>
      <link>https://dev.to/readymadecode/understand-the-javascript-seo-basics-in-2023-3k64</link>
      <guid>https://dev.to/readymadecode/understand-the-javascript-seo-basics-in-2023-3k64</guid>
      <description>&lt;p&gt;In 2023, &lt;strong&gt;JavaScript SEO basics&lt;/strong&gt; are more important than ever. With the rise of JavaScript-based frameworks such as React, Angular, and Vue, understanding how to optimize your website for search engine visibility is essential. This guide will provide an overview to Understand the JavaScript SEO basics in 2023, including how to structure your code, optimize your content, and use the right tools to ensure your website is properly indexed by search engines. With the right knowledge and tools, you can ensure your website is seen by the right people and get the most out of your SEO efforts.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to Optimize Your JavaScript Site for SEO in 2023
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Search engine optimization (SEO)&lt;/strong&gt; is an important part of any website’s success. As technology advances, so do the techniques used to optimize websites for search engines. In 2023, optimizing your JavaScript site for SEO will be more important than ever. You can read the official google documention here to &lt;strong&gt;&lt;a href="https://developers.google.com/search/docs/crawling-indexing/javascript/javascript-seo-basics"&gt;Understand the JavaScript SEO basics in 2023&lt;/a&gt;&lt;/strong&gt;. Here are some tips to help you get started.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Use Semantic Markup:&lt;/strong&gt; Semantic markup is a way of writing HTML code that helps search engines understand the content of your website. By using semantic markup, you can make sure that search engines can easily identify the content of your website and rank it accordingly.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Optimize Your JavaScript Code:&lt;/strong&gt; JavaScript code can be difficult for search engines to understand. To make sure that your website is properly indexed, you should optimize your JavaScript code by minifying it and using caching techniques.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Use Structured Data:&lt;/strong&gt; Structured data is a way of providing additional information about your website to search engines. By using structured data, you can make sure that search engines can better understand the content of your website and rank it accordingly.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Optimize Your Images:&lt;/strong&gt; Images can be a great way to improve the user experience of your website, but they can also slow down your website’s loading time. To make sure that your website loads quickly, you should optimize your images by compressing them and using the correct file format.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Use Responsive Design:&lt;/strong&gt; Responsive design is a way of making sure that your website looks great on all devices. By using responsive design, you can make sure that your website looks great on both desktop and mobile devices, which can help improve your website’s ranking.
By following these tips, you can make sure that your JavaScript site is properly optimized for SEO in 2023. With the right optimization techniques, you can make sure that your website is properly indexed by search engines and ranked accordingly.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Understanding the Impact of JavaScript on SEO in 2023
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;As we move into 2023,&lt;/strong&gt; it’s becoming increasingly clear that JavaScript is having a major impact on SEO. With the rise of dynamic webpages, JavaScript is becoming an essential tool for optimizing websites for search engine rankings. In this article, we’ll take a look at how JavaScript is impacting SEO in 2023 and what you can do to make sure your website is optimized for search engine rankings.&lt;/p&gt;

&lt;p&gt;First, let’s take a look at how JavaScript is impacting SEO in 2023. As more websites are built with JavaScript, search engines are becoming better at crawling and indexing dynamic content. This means that websites built with JavaScript are more likely to be indexed and ranked higher in search engine results. Additionally, JavaScript can be used to create interactive elements on a website, such as drop-down menus and interactive maps, which can help improve user experience and engagement.&lt;/p&gt;

&lt;p&gt;Another way that JavaScript is impacting SEO in 2023 is through the use of Accelerated Mobile Pages (AMP). AMP is a technology that allows webpages to load faster on mobile devices, which can help improve user experience and engagement. Additionally, AMP pages are more likely to be indexed and ranked higher in search engine results.&lt;/p&gt;

&lt;p&gt;Finally, JavaScript can be used to create dynamic content that is more likely to be indexed and ranked higher in search engine results. Dynamic content can include things like interactive maps, videos, and other interactive elements that can help improve user experience and engagement.&lt;/p&gt;

&lt;p&gt;So, what can you do to make sure your website is optimized for search engine rankings in 2023? First, make sure your website is built with JavaScript and is optimized for mobile devices. Additionally, make sure your website is using AMP technology and is creating dynamic content that is more likely to be indexed and ranked higher in search engine results. Finally, make sure you are using the latest SEO techniques to ensure your website is optimized for search engine rankings.&lt;/p&gt;

&lt;p&gt;By understanding how JavaScript is impacting SEO in 2023, you can make sure your website is optimized for search engine rankings and is providing the best user experience possible. With the right strategies in place, you can ensure your website is well-positioned to succeed in the ever-evolving world of SEO.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Benefits of Using JavaScript for SEO in 2023
&lt;/h2&gt;

&lt;p&gt;As we move into 2023, the importance of JavaScript for SEO is becoming increasingly clear. JavaScript is a powerful tool that can help you optimize your website for search engine rankings, and it’s becoming more and more important for SEO success. &lt;strong&gt;Here are some of the benefits of using JavaScript for SEO in 2023:&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Improved User Experience:&lt;/strong&gt; JavaScript can help you create a more interactive and engaging user experience on your website. This can help improve your website’s rankings in search engine results pages (SERPs).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Faster Loading Times:&lt;/strong&gt; JavaScript can help you reduce the loading time of your website, which is an important factor for SEO. Faster loading times can help improve your website’s rankings in SERPs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Increased Visibility:&lt;/strong&gt; JavaScript can help you create more visible content on your website, which can help improve your website’s visibility in SERPs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Improved Accessibility:&lt;/strong&gt; JavaScript can help you make your website more accessible to users with disabilities, which can help improve your website’s rankings in SERPs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Better Mobile Experience:&lt;/strong&gt; JavaScript can help you create a better mobile experience for your website, which can help improve your website’s rankings in SERPs.
Overall, JavaScript is a powerful tool that can help you optimize your website for SEO in 2023. By taking advantage of the benefits of using JavaScript for SEO, you can improve your website’s rankings in SERPs and increase your website’s visibility.&lt;/li&gt;
&lt;/ol&gt;




&lt;p&gt;&lt;strong&gt;Here is list of Top Free Web Tools To Understand the JavaScript SEO basics in 2023:&lt;/strong&gt;&lt;br&gt;
&lt;a href="https://millionstraffic.com/tools/file-mime-type-checker"&gt;File mime type checker&lt;/a&gt;&lt;br&gt;
&lt;a href="https://millionstraffic.com/tools/safe-url-checker"&gt;Safe URL checker&lt;/a&gt;&lt;br&gt;
&lt;a href="https://millionstraffic.com/tools/http-headers-lookup"&gt;HTTP headers lookup&lt;/a&gt;&lt;br&gt;
&lt;a href="https://millionstraffic.com/tools/email-extractor"&gt;Email extractor&lt;/a&gt;&lt;br&gt;
&lt;a href="https://millionstraffic.com/tools/cursive-text-generator"&gt;Cursive text generator&lt;/a&gt;&lt;br&gt;
&lt;a href="https://millionstraffic.com/tools/morse-converter"&gt;Morse converter&lt;/a&gt;&lt;br&gt;
&lt;a href="https://millionstraffic.com/tools/octal-converter"&gt;Octal converter&lt;/a&gt;&lt;br&gt;
&lt;a href="https://millionstraffic.com/tools/paypal-link-generator"&gt;PayPal link generator&lt;/a&gt;&lt;br&gt;
&lt;a href="https://millionstraffic.com/tools/youtube-timestamp-link-generator"&gt;YouTube Timestamp link generator&lt;/a&gt;&lt;br&gt;
&lt;a href="https://millionstraffic.com/tools/uuid-v4-generator"&gt;UUID v4 generator&lt;/a&gt;&lt;br&gt;
&lt;a href="https://millionstraffic.com/tools/sql-beautifier"&gt;SQL formatter/beautifier&lt;/a&gt;&lt;br&gt;
&lt;a href="https://millionstraffic.com/tools/gif-to-webp"&gt;GIF to WEBP&lt;/a&gt;&lt;br&gt;
&lt;a href="https://millionstraffic.com/tools/number-to-roman-numerals"&gt;Number to Roman Numerals&lt;/a&gt;&lt;br&gt;
&lt;a href="https://millionstraffic.com/tools/unix-timestamp-to-date"&gt;Unix Timestamp to Date&lt;/a&gt;&lt;br&gt;
&lt;a href="https://millionstraffic.com/tools/youtube-thumbnail-downloader"&gt;YouTube thumbnail downloader&lt;/a&gt;&lt;br&gt;
&lt;a href="https://millionstraffic.com/tools/image-optimizer"&gt;Image optimizer&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  How to Leverage JavaScript for SEO in 2023
&lt;/h2&gt;

&lt;p&gt;As search engine algorithms become more sophisticated, it’s important for webmasters to stay ahead of the curve when it comes to optimizing their websites for SEO. JavaScript is an incredibly powerful tool for SEO, and it’s only going to become more important in the years to come. &lt;strong&gt;In this article, we’ll discuss how you can leverage JavaScript for SEO in 2023&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;First, let’s talk about the basics of JavaScript and how it can help with SEO. JavaScript is a scripting language that allows webmasters to create dynamic, interactive webpages. It can be used to create interactive elements such as drop-down menus, sliders, and more. By using JavaScript, webmasters can create a more engaging user experience, which can help improve their website’s ranking in search engine results.&lt;/p&gt;

&lt;p&gt;Next, let’s discuss how you can use JavaScript to optimize your website for SEO. One of the most important aspects of SEO is page speed. JavaScript can be used to reduce page load times, which can help improve your website’s ranking in search engine results. Additionally, JavaScript can be used to create dynamic content, which can help improve your website’s relevance to search queries.&lt;/p&gt;

&lt;p&gt;Finally, let’s talk about how you can use JavaScript to improve your website’s overall SEO performance. JavaScript can be used to create structured data, which can help search engines better understand the content on your website. Additionally, JavaScript can be used to create rich snippets, which can help improve your website’s visibility in search engine results.&lt;/p&gt;

&lt;p&gt;By leveraging JavaScript for SEO in 2023, you can ensure that your website is optimized for search engine algorithms and that it is providing a great user experience. With the right strategies and techniques, you can ensure that your website is well-positioned to rank highly in search engine results.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Latest JavaScript SEO Best Practices in 2023 For Understand the JavaScript SEO basics in 2023
&lt;/h2&gt;

&lt;p&gt;As the world of SEO continues to evolve, so too do the best practices for optimizing websites with JavaScript. In 2023, there are a few key things to keep in mind when it comes to JavaScript SEO.&lt;/p&gt;

&lt;p&gt;First, it’s important to make sure that your website is crawlable. This means that search engine bots can access and index your content. To do this, you’ll need to ensure that your JavaScript is properly rendered and that your content is visible to search engine bots.&lt;/p&gt;

&lt;p&gt;Second, you should use progressive enhancement when it comes to JavaScript. This means that you should start with a basic version of your website and then enhance it with JavaScript. This will ensure that your content is accessible to all users, regardless of their browser or device.&lt;/p&gt;

&lt;p&gt;Third, you should use server-side rendering when possible. This will ensure that your content is indexed quickly and accurately by search engines. It will also help to reduce the amount of time it takes for your content to be rendered on the user’s device.&lt;/p&gt;

&lt;p&gt;Finally, you should use structured data to help search engines understand the content on your website. Structured data can help search engines better understand the context of your content, which can help them rank your website higher in search results.&lt;/p&gt;

&lt;p&gt;By following these best practices, you can ensure that your website is properly optimized for search engines in 2023.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to Implement JavaScript SEO Strategies in 2023
&lt;/h2&gt;

&lt;p&gt;As the world of SEO continues to evolve, it’s important to stay ahead of the curve and implement the latest strategies. JavaScript SEO is one of the most important strategies to consider in 2023. &lt;strong&gt;Here’s how you can get started&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Understand the Basics of JavaScript SEO
&lt;/h2&gt;

&lt;p&gt;Before you can start implementing JavaScript SEO strategies, it’s important to understand the basics. JavaScript is a programming language that is used to create interactive web pages. It’s used to create dynamic content, such as animations, forms, and menus.&lt;/p&gt;

&lt;p&gt;When it comes to SEO, JavaScript can be used to create content that is more easily indexed by search engines. This can help improve your website’s visibility in search engine results pages (SERPs).&lt;/p&gt;

&lt;h2&gt;
  
  
  Optimize Your Site for JavaScript
&lt;/h2&gt;

&lt;p&gt;Once you understand the basics of JavaScript SEO, it’s time to start optimizing your site. This includes making sure that your website is properly configured to allow search engine crawlers to access and index your content.&lt;/p&gt;

&lt;p&gt;You should also make sure that your website is optimized for mobile devices. Mobile-friendly websites are more likely to rank higher in SERPs.&lt;/p&gt;

&lt;h3&gt;
  
  
  Use Structured Data
&lt;/h3&gt;

&lt;p&gt;Structured data is a way of providing additional information about your website to search engines. This can include information about your products, services, and other content.&lt;/p&gt;

&lt;p&gt;Using structured data can help search engines better understand your website and improve its visibility in SERPs. You can use tools like Google’s Structured Data Markup Helper to add structured data to your website.&lt;/p&gt;

&lt;h3&gt;
  
  
  Implement Lazy Loading
&lt;/h3&gt;

&lt;p&gt;Lazy loading is a technique that can help improve the performance of your website. It works by only loading content when it’s needed, which can help reduce page load times.&lt;/p&gt;

&lt;p&gt;This can be especially beneficial for websites with a lot of content, as it can help improve the user experience and make your website more likely to rank higher in SERPs.&lt;/p&gt;

&lt;h3&gt;
  
  
  Monitor Your Results
&lt;/h3&gt;

&lt;p&gt;Once you’ve implemented JavaScript SEO strategies, it’s important to monitor your results. You can use tools like Google Search Console to track your website’s performance in SERPs.&lt;/p&gt;

&lt;p&gt;This can help you identify any issues that may be affecting your website’s visibility and make adjustments as needed.&lt;/p&gt;

&lt;p&gt;By following these steps, you can start implementing JavaScript SEO strategies in 2023 and improve your website’s visibility in SERPs. With the right strategies in place, you can ensure that your website is well-positioned to succeed in the ever-changing world of SEO.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Role of JavaScript in SEO in 2023
&lt;/h2&gt;

&lt;p&gt;In 2023, JavaScript will continue to play an important role in SEO. JavaScript is a powerful programming language that enables developers to create interactive websites and applications. It is used to create dynamic content, such as animations, interactive forms, and other interactive elements. As search engines become more sophisticated, they are increasingly relying on JavaScript to understand and index webpages.&lt;/p&gt;

&lt;p&gt;Google has been using JavaScript to crawl and index websites since 2015. In the years since, they have continued to refine their algorithms to better understand and index JavaScript-based websites. This means that websites that use JavaScript are more likely to be indexed and ranked higher in search engine results.&lt;/p&gt;

&lt;p&gt;In addition to helping search engines understand and index websites, JavaScript can also be used to improve the user experience. For example, JavaScript can be used to create interactive elements, such as drop-down menus, sliders, and other interactive elements. This can help improve the user experience and make it easier for users to find what they are looking for.&lt;/p&gt;

&lt;p&gt;Finally, JavaScript can also be used to improve the speed of a website. By using JavaScript to load content asynchronously, websites can load faster and provide a better user experience. This can help improve the overall ranking of a website in search engine results.&lt;/p&gt;

&lt;p&gt;Overall, JavaScript will continue to play an important role in SEO in 2023. It can help search engines better understand and index websites, improve the user experience, and improve the speed of a website. As search engines become more sophisticated, JavaScript will become even more important for SEO.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to Use JavaScript to Improve Your SEO Rankings in 2023
&lt;/h2&gt;

&lt;p&gt;As the world of SEO continues to evolve, it’s important to stay ahead of the curve and use the latest tools and techniques to improve your rankings. One of the most powerful tools you can use to boost your SEO rankings in 2023 is JavaScript.&lt;/p&gt;

&lt;p&gt;JavaScript is a powerful programming language that can be used to create interactive web pages and applications. It can also be used to improve your SEO rankings in a variety of ways. &lt;strong&gt;Here are some of the top ways to use JavaScript to improve your SEO rankings in 2023:&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Optimize Your Site for Mobile Devices:&lt;/strong&gt; Mobile devices are becoming increasingly popular, and Google now takes into account how well your site is optimized for mobile devices when ranking your pages. Using JavaScript, you can create a mobile-friendly version of your website that will help you rank higher in search engine results.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Create Dynamic Content:&lt;/strong&gt; Dynamic content is content that changes based on user input or other factors. JavaScript can be used to create dynamic content that is more engaging and can help you rank higher in search engine results.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Improve Page Load Times:&lt;/strong&gt; Page load times are an important factor in SEO rankings. JavaScript can be used to reduce page load times, which can help you rank higher in search engine results.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Implement Structured Data:&lt;/strong&gt; Structured data is a way of formatting data so that search engines can better understand it. JavaScript can be used to implement structured data on your website, which can help you rank higher in search engine results.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Create Rich Snippets:&lt;/strong&gt; Rich snippets are pieces of information that appear in search engine results. JavaScript can be used to create rich snippets that can help you rank higher in search engine results.
By using JavaScript to improve your SEO rankings in 2023, you can stay ahead of the competition and get the most out of your SEO efforts. With the right strategies and techniques, you can use JavaScript to boost your rankings and get more traffic to your website.&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>seo</category>
      <category>seotools</category>
      <category>javascript</category>
      <category>searchengineoptimization</category>
    </item>
    <item>
      <title>Mobile-first indexing best practices in 2023</title>
      <dc:creator>Chetan Rohilla</dc:creator>
      <pubDate>Thu, 15 Jun 2023 09:51:52 +0000</pubDate>
      <link>https://dev.to/readymadecode/mobile-first-indexing-best-practices-in-2023-4jje</link>
      <guid>https://dev.to/readymadecode/mobile-first-indexing-best-practices-in-2023-4jje</guid>
      <description>&lt;p&gt;In today’s digital landscape, mobile devices have become the primary means of accessing the internet. As a result, search engines are increasingly prioritizing mobile-friendly websites. Mobile-first indexing has become the norm, with search engine algorithms focusing on a site’s mobile version for indexing and ranking purposes. To ensure your website performs well in search engine results and delivers an optimal mobile experience, it’s crucial to follow mobile-first indexing best practices in 2023. &lt;strong&gt;This article will outline key strategies to help you stay ahead of the game.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Responsive Web Design:
&lt;/h2&gt;

&lt;p&gt;Responsive web design is the foundation of a mobile-friendly website. It involves creating a site that adapts and adjusts its layout, content, and functionality based on the device it is being viewed on. By implementing responsive design principles, your website will automatically provide an optimized experience for users across various screen sizes and devices. This not only improves user experience but also boosts your chances of ranking higher in mobile search results.&lt;/p&gt;

&lt;h2&gt;
  
  
  Mobile Page Speed Optimization:
&lt;/h2&gt;

&lt;p&gt;Mobile users expect fast-loading websites, and search engines take loading speed into account when ranking sites. &lt;strong&gt;To optimize your mobile page speed, consider the following practices:&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Minimize server response time by choosing a reliable hosting provider and reducing the size of server responses.&lt;/li&gt;
&lt;li&gt;Compress and optimize images without compromising quality.&lt;/li&gt;
&lt;li&gt;Enable browser caching to store certain elements of your website on a user’s device, reducing the need to download them repeatedly.&lt;/li&gt;
&lt;li&gt;Minify CSS, JavaScript, and HTML files to reduce their size and improve load times.&lt;/li&gt;
&lt;li&gt;Use a content delivery network (CDN) to serve your website’s content from servers located closer to the user, reducing latency.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Mobile-Friendly Content:
&lt;/h2&gt;

&lt;p&gt;When designing content for mobile-first indexing, it’s important to prioritize readability and usability on smaller screens. &lt;strong&gt;Consider the following guidelines:&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Use clear and legible fonts that are easy to read on mobile devices.&lt;/li&gt;
&lt;li&gt;Avoid using large blocks of text. Instead, break up content into smaller paragraphs and use subheadings to improve scannability.&lt;/li&gt;
&lt;li&gt;Optimize images and videos for mobile by using responsive techniques and ensuring they load quickly.&lt;/li&gt;
&lt;li&gt;Ensure buttons and clickable elements are easily tappable and spaced adequately to avoid accidental clicks.&lt;/li&gt;
&lt;li&gt;Avoid intrusive pop-ups and interstitials that disrupt the user experience.&lt;/li&gt;
&lt;/ol&gt;




&lt;p&gt;&lt;strong&gt;Here also you can check some Millionstraffic SEO Tools For Mobile-first indexing best practices in 2023:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://millionstraffic.com/keywords-suggestion-tool"&gt;Keywords Suggestion Tool&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://millionstraffic.com/spider-simulator"&gt;Search Engine Spider Simulator&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://millionstraffic.com/domain-authority-checker"&gt;Domain Authority Checker&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://millionstraffic.com/broken-links-finder"&gt;Broken Links Finder&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://millionstraffic.com/find-dns-records"&gt;Find DNS records&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://millionstraffic.com/google-cache-checker"&gt;Google Cache Checker&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://millionstraffic.com/google-index-checker"&gt;Google Index Checker&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://millionstraffic.com/domain-hosting-checker"&gt;Domain Hosting Checker&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://millionstraffic.com/website-links-count-checker"&gt;Website Links Count Checker&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://millionstraffic.com/page-size-checker"&gt;Page Size Checker&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://millionstraffic.com/mozrank-checker"&gt;Mozrank Checker&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://millionstraffic.com/www-redirect-checker"&gt;www Redirect Checker&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://millionstraffic.com/domain-age-checker"&gt;Domain Age Checker&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://millionstraffic.com/keyword-density-checker"&gt;Keyword Density Checker&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://millionstraffic.com/online-ping-website-tool"&gt;Online Ping Website Tool&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://millionstraffic.com/alexa-rank-checker"&gt;Alexa Rank Checker&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://millionstraffic.com/backlink-checker"&gt;Backlink Checker&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://millionstraffic.com/meta-tags-analyzer"&gt;Meta Tags Analyzer&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://millionstraffic.com/robots-txt-generator"&gt;Robots.txt Generator&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://millionstraffic.com/xml-sitemap-generator"&gt;XML Sitemap Generator&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://millionstraffic.com/keyword-position-checker"&gt;Keyword Position Checker&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://millionstraffic.com/meta-tag-generator"&gt;Meta Tag Generator&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://millionstraffic.com/backlink-maker"&gt;Backlink Maker&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Structured Data Markup:
&lt;/h2&gt;

&lt;p&gt;Structured data markup provides search engines with additional context about your website’s content, enabling them to display rich snippets in search results. This is particularly important for mobile users who often rely on quick answers and information at a glance. Implementing structured data markup helps search engines understand your content better and improves your chances of appearing in featured snippets, knowledge panels, and other mobile search features.&lt;/p&gt;

&lt;h2&gt;
  
  
  Mobile Usability Testing:
&lt;/h2&gt;

&lt;p&gt;Regularly testing your website’s mobile usability is crucial to identify and fix any issues that might hinder user experience. Conduct comprehensive testing across different mobile devices, browsers, and screen sizes to ensure consistent functionality and optimal performance. Pay attention to factors such as site navigation, form submission, image rendering, and overall responsiveness. Addressing any usability issues promptly will lead to a more positive user experience and improved search rankings.&lt;/p&gt;

&lt;h2&gt;
  
  
  Optimize for Voice Search:
&lt;/h2&gt;

&lt;p&gt;With the rise of voice assistants and smart devices, optimizing your website for voice search has become increasingly important. Consider how users interact with your content using voice commands and natural language. Incorporate long-tail keywords and conversational phrases in your content to align with voice search queries. Additionally, ensure your website provides concise and accurate answers to common questions related to your niche.&lt;/p&gt;

&lt;h2&gt;
  
  
  Monitor and Analyze Mobile Performance:
&lt;/h2&gt;

&lt;p&gt;Keep a close eye on your website’s mobile performance by utilizing analytics tools. Monitor key metrics such as mobile traffic, bounce rate, time on page, and conversion rates specifically for mobile users. Identify areas for improvement and adjust your mobile-first indexing strategies accordingly. Regularly analyzing performance data will help you make data-driven decisions to optimize your website’s mobile experience.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion:
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;In 2023, mobile-first indexing continues to be a critical aspect of search engine optimization (SEO)&lt;/strong&gt; and website development. By following the best practices outlined in this article, you can ensure that your website is optimized for mobile devices, provides a seamless user experience, and ranks well in mobile search results. Embracing mobile-first indexing is no longer an option but a necessity to stay competitive in the ever-evolving digital landscape.&lt;/p&gt;

</description>
      <category>seo</category>
      <category>digitalmarketing</category>
      <category>websitetraffic</category>
      <category>webdev</category>
    </item>
    <item>
      <title>The Impact of Website Malware on SEO 2023</title>
      <dc:creator>Chetan Rohilla</dc:creator>
      <pubDate>Fri, 02 Jun 2023 10:17:55 +0000</pubDate>
      <link>https://dev.to/readymadecode/the-impact-of-website-malware-on-seo-2023-50hk</link>
      <guid>https://dev.to/readymadecode/the-impact-of-website-malware-on-seo-2023-50hk</guid>
      <description>&lt;p&gt;In today’s digital age, websites are an essential component of any business or organization. They provide a platform for reaching out to potential customers, offering products and services, and building a brand reputation. However, with the rise of internet usage, there has been an increase in the number of cyber attacks targeting websites. Website malware is one such attack that can have a severe impact on a website’s search engine optimization (SEO). &lt;strong&gt;In this article, we will explore the impact of website malware on SEO in 2023 and ways to protect your website from such attacks&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is website malware?
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Website malware&lt;/strong&gt; is malicious software that infects a website and can cause damage to the website and its visitors. Malware can take many forms, including viruses, worms, trojans, spyware, and ransomware. Once malware infects a website, it can spread to other websites and devices, causing significant damage to the internet’s infrastructure.&lt;/p&gt;

&lt;h2&gt;
  
  
  How does website malware affect SEO?
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Website malware&lt;/strong&gt; can have a significant impact on a website’s SEO. Search engines like Google take website security very seriously and prioritize websites that provide a safe browsing experience. Websites infected with malware are deemed unsafe and can face penalties from search engines. &lt;strong&gt;Some of the ways website malware can affect SEO are:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Decrease in search engine rankings:&lt;/strong&gt; Search engines like Google prioritize websites that provide a safe browsing experience to users. Websites infected with malware are deemed unsafe and can face penalties from search engines. Search engines may remove the website from their index or lower its search engine ranking, making it difficult for users to find the website.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Blacklisting:&lt;/strong&gt; Search engines maintain lists of websites that are known to be infected with malware. These lists are used to warn users before visiting such websites. If a website is on this list, it can significantly impact the website’s traffic, leading to a decrease in rankings and revenue.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Loss of reputation:&lt;/strong&gt; A website infected with malware can lead to a loss of reputation for the website owner. Visitors to the website may have their personal information stolen, and this can lead to a loss of trust in the website owner. This loss of trust can result in a decrease in traffic and revenue for the website.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Lowered user engagement:&lt;/strong&gt; Websites infected with malware can cause problems for visitors trying to interact with the site. Malware can slow down a website’s loading speed, making it difficult for users to access the website’s content. This can lead to lower user engagement and a decrease in the website’s rankings.&lt;br&gt;
Damage to website structure: Malware can damage a website’s structure, leading to broken links, 404 errors, and other issues. This can lead to a decrease in search engine rankings and user engagement.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to protect your website from malware?
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;There are several ways to protect your website from malware attacks. Some of these include:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Use strong passwords:&lt;/strong&gt; Use strong passwords for your website’s admin panel and avoid using common words or phrases. Also, consider using two-factor authentication to add an extra layer of security.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Keep software up-to-date:&lt;/strong&gt; Ensure that your website’s software, including CMS, plugins, and themes, are up-to-date. Outdated software can create vulnerabilities that hackers can exploit.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Use a web application firewall (WAF):&lt;/strong&gt; A WAF can monitor incoming traffic and block malicious requests. It can also identify and block common attack vectors, such as SQL injection and cross-site scripting.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Use SSL certificates:&lt;/strong&gt; SSL certificates provide a secure connection between the user’s browser and the website. They also add an additional layer of security by encrypting data sent between the user’s browser and the website.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Perform regular backups:&lt;/strong&gt; Regularly back up your website’s data and files. In the event of a malware attack, you can restore your website’s data from the backups&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Monitor website activity:&lt;/strong&gt; Monitor your website for any suspicious activity. Use tools like Google Search Console and security plugins to identify any malware or hacking attempts. You can try &lt;a href="https://millionstraffic.com/google-malware-checker"&gt;this tool to check malware&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Educate website users:&lt;/strong&gt; Educate website users, including employees, customers, and partners, about website security best practices. Encourage them to use strong passwords, avoid clicking on suspicious links, and report any suspicious activity.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hire a website security expert:&lt;/strong&gt; Consider hiring a website security expert to help you protect your website from malware attacks. They can perform regular security audits, monitor your website for suspicious activity, and provide recommendations for improving your website’s security.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Website malware&lt;/strong&gt; is a serious threat to any website’s security and can have a significant impact on its search engine optimization. Search engines like Google prioritize website security and penalize websites that are deemed unsafe. Website owners must take proactive steps to protect their website from malware attacks. By using strong passwords, keeping software up-to-date, using a web application firewall, and performing regular backups, website owners can help protect their website from malware attacks. Additionally, educating website users about website security best practices and hiring a website security expert can help ensure that your website remains safe and secure. By taking these steps, website owners can help protect their website’s SEO and reputation in 2023 and beyond.&lt;/p&gt;

</description>
      <category>seo</category>
      <category>malware</category>
      <category>websitesecurity</category>
      <category>websitetraffic</category>
    </item>
    <item>
      <title>10 Proven Strategies to Boost Your Website Traffic 2023</title>
      <dc:creator>Chetan Rohilla</dc:creator>
      <pubDate>Thu, 01 Jun 2023 12:23:06 +0000</pubDate>
      <link>https://dev.to/readymadecode/10-proven-strategies-to-boost-your-website-traffic-2023-4mo5</link>
      <guid>https://dev.to/readymadecode/10-proven-strategies-to-boost-your-website-traffic-2023-4mo5</guid>
      <description>&lt;p&gt;As the digital landscape continues to evolve, businesses are now more than ever before recognizing the importance of having a robust online presence. But, merely having a website is not enough to generate business growth. For any online business to thrive, it needs to have a steady flow of traffic to its website. That’s where website traffic strategies come into play. &lt;strong&gt;In this article, we’ll look at 10 proven strategies to boost your website traffic in 2023.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Optimize Your Website for SEO
&lt;/h2&gt;

&lt;p&gt;Search engine optimization (SEO) remains one of the most effective strategies to drive website traffic. By optimizing your website for search engines, you make it easier for potential customers to find your business when searching for products or services online. You can start by conducting keyword research to identify the keywords your target audience is using to search for products or services in your industry. Then, ensure that your website content, metadata, and URL structure incorporate these keywords naturally.&lt;/p&gt;

&lt;h2&gt;
  
  
  Use Social Media
&lt;/h2&gt;

&lt;p&gt;Social media platforms provide an excellent opportunity to drive website traffic. You can use platforms such as Facebook, Instagram, Twitter, and LinkedIn to share links to your website and promote your products or services. However, it’s essential to ensure that your social media content is engaging, relevant, and valuable to your target audience.&lt;/p&gt;

&lt;h2&gt;
  
  
  Leverage Email Marketing
&lt;/h2&gt;

&lt;p&gt;Email marketing remains an effective way to engage with your customers and drive website traffic. You can use email campaigns to promote your products or services, share relevant blog posts or news, and drive traffic to specific pages on your website. Ensure that your email campaigns are personalized, visually appealing, and provide value to your subscribers.&lt;/p&gt;

&lt;h2&gt;
  
  
  Create Quality Content
&lt;/h2&gt;

&lt;p&gt;High-quality content can significantly impact your website traffic. By creating content that’s valuable, informative, and engaging, you can attract and retain your target audience. Ensure that your content is optimized for search engines and provides value to your readers. You can use a mix of blog posts, videos, infographics, and other content formats to keep your audience engaged.&lt;/p&gt;

&lt;h2&gt;
  
  
  Guest Blogging
&lt;/h2&gt;

&lt;p&gt;Guest blogging can help you to reach a new audience and drive traffic to your website. You can identify relevant blogs in your industry and offer to write guest posts for them. In return, you’ll get a link back to your website, which can help to boost your search engine rankings and drive traffic.&lt;/p&gt;

&lt;h2&gt;
  
  
  Influencer Marketing
&lt;/h2&gt;

&lt;p&gt;Influencer marketing involves partnering with influencers in your industry to promote your products or services. You can leverage their reach and influence to drive traffic to your website. When choosing influencers to partner with, ensure that they align with your brand values and have a significant following in your target audience.&lt;/p&gt;

&lt;h2&gt;
  
  
  Run Contests and Giveaways
&lt;/h2&gt;

&lt;p&gt;Contests and giveaways can help to generate excitement and drive website traffic. You can use social media platforms to run contests and giveaways, and in return, ask participants to visit your website and subscribe to your email list. Ensure that your contests and giveaways are relevant to your audience and provide value.&lt;/p&gt;

&lt;h2&gt;
  
  
  Use Paid Advertising
&lt;/h2&gt;

&lt;p&gt;Paid advertising can be an effective way to drive website traffic quickly. You can use platforms such as Google Ads, Facebook Ads, or Instagram Ads to promote your products or services to a specific audience. Ensure that your advertising campaigns are well-targeted, engaging, and provide value to your audience.&lt;/p&gt;

&lt;h2&gt;
  
  
  Use Influencer Outreach
&lt;/h2&gt;

&lt;p&gt;Influencer outreach involves reaching out to influencers in your industry and asking them to share your content or promote your products or services. This strategy can help you to reach a new audience and drive traffic to your website. Ensure that your outreach message is personalized and provides value to the influencer.&lt;/p&gt;

&lt;h2&gt;
  
  
  Monitor and Analyze Your Website Traffic
&lt;/h2&gt;

&lt;p&gt;Lastly, it’s essential to monitor and analyze your website traffic to understand what’s working and what’s not. You can use tools such as Google Analytics to track your website traffic, including the number of visitors, bounce rate, and average session duration. Analyzing your website traffic can help you to identify areas of improvement and adjust your strategies accordingly.&lt;/p&gt;

&lt;p&gt;Here is a list of some &lt;a href="https://millionstraffic.com/tools/"&gt;SEO Tools to boost your website traffic&lt;/a&gt; i think you would like this, i am using this since long time.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;In conclusion,&lt;/strong&gt; boosting your website traffic in 2023 requires a multi-faceted approach that leverages a range of proven strategies. By optimizing your website for SEO, using social media, leveraging email marketing, creating quality content, guest blogging, influencer marketing, running contests and giveaways, using paid advertising, using influencer outreach, and monitoring and analyzing your website traffic, you can significantly increase your website traffic and grow your business. However, it’s essential to remain patient, consistent, and continuously adjust your strategies to meet the evolving needs of your audience.&lt;/p&gt;

</description>
      <category>seo</category>
      <category>digitalmarketing</category>
      <category>websitetraffic</category>
      <category>webtools</category>
    </item>
    <item>
      <title>Implementing GraphQL in Laravel: A Step-by-Step Guide</title>
      <dc:creator>Chetan Rohilla</dc:creator>
      <pubDate>Sun, 02 Apr 2023 07:45:44 +0000</pubDate>
      <link>https://dev.to/readymadecode/implementing-graphql-in-laravel-a-step-by-step-guide-39hn</link>
      <guid>https://dev.to/readymadecode/implementing-graphql-in-laravel-a-step-by-step-guide-39hn</guid>
      <description>&lt;p&gt;&lt;strong&gt;GraphQL&lt;/strong&gt; is a powerful query language that allows developers to create and consume data from APIs in a more efficient and flexible way. It is becoming increasingly popular among developers due to its ability to provide a more efficient and flexible way to access data from APIs. Implementing GraphQL in Laravel is a great way to take advantage of this powerful technology. This guide will provide a step-by-step guide on how to implement GraphQL in Laravel. It will cover topics such as setting up the GraphQL server, creating queries and mutations, and integrating GraphQL with Laravel’s Eloquent ORM. By the end of this guide, you will have a fully functioning GraphQL server in your Laravel application.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to Get Started with GraphQL in Laravel: A Step-by-Step Guide
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;GraphQL&lt;/strong&gt; is an increasingly popular query language for APIs that allows developers to request data from multiple sources in a single request. It is becoming increasingly popular in the Laravel community, as it provides a powerful and efficient way to query and manipulate data. In this guide, we will walk through the steps necessary to get started with GraphQL in Laravel.&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 1: Install the GraphQL Package
&lt;/h3&gt;

&lt;p&gt;The first step is to install the GraphQL package for Laravel. This package provides a set of tools to help you quickly get started with GraphQL in your Laravel application. To install the package, run the following command in your terminal:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight ssh"&gt;&lt;code&gt;&lt;span class="k"&gt;composer&lt;/span&gt; require mll-lab/laravel-graphql
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Step 2: Create a GraphQL Schema
&lt;/h3&gt;

&lt;p&gt;Once the package is installed, you will need to create a GraphQL schema. This schema defines the types of data that can be queried and manipulated using GraphQL. To create a schema, create a new file in the app/GraphQL directory and add the following code:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;type Query {

hello: String

}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This schema defines a single query, hello, which returns a string.&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 3: Create a GraphQL Resolver
&lt;/h3&gt;

&lt;p&gt;Once the schema is created, you will need to create a resolver for the hello query. A resolver is a function that is responsible for returning the data for a given query. To create a resolver, create a new file in the app/GraphQL directory and add the following code:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;function hello() {

return ‘Hello, World!’;

}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This resolver simply returns the string “Hello, World!” when the hello query is executed.&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 4: Register the GraphQL Endpoint
&lt;/h3&gt;

&lt;p&gt;Once the schema and resolver are created, you will need to register the GraphQL endpoint in your application. To do this, open the routes/web.php file and add the following code:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Route::post(‘/graphql’, ‘GraphQLController@query’);
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This will register the /graphql endpoint in your application, which will be used to execute GraphQL queries.&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 5: Test the GraphQL Endpoint
&lt;/h3&gt;

&lt;p&gt;Once the endpoint is registered, you can test it by sending a &lt;strong&gt;GraphQL&lt;/strong&gt; query to the endpoint. To do this, open the GraphiQL tool and enter the following query:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;query {

hello

}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This query will execute the hello query defined in the schema. If everything is set up correctly, you should see the following response:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;{

“data”: {

“hello”: “Hello, World!”

}

}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Congratulations! You have successfully set up GraphQL in your Laravel application. You can now start building more complex queries and manipulating data using &lt;strong&gt;GraphQL&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Exploring the Benefits of Implementing GraphQL in Laravel
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;GraphQL&lt;/strong&gt; is an open-source data query and manipulation language for APIs, and a runtime for fulfilling queries with existing data. It provides an alternative to traditional REST-based architectures, allowing developers to build more efficient and powerful applications. Implementing GraphQL in Laravel can provide a number of benefits, including improved performance, better scalability, and increased flexibility.&lt;/p&gt;

&lt;p&gt;Performance is one of the primary benefits of implementing GraphQL in Laravel. GraphQL allows developers to query only the data they need, reducing the amount of data sent over the network. This can result in faster response times and improved performance. Additionally, GraphQL can reduce the number of requests needed to fetch data, further improving performance.&lt;/p&gt;

&lt;p&gt;Scalability is another benefit of implementing GraphQL in Laravel. GraphQL allows developers to query multiple data sources in a single request, reducing the amount of code needed to fetch data. This can make it easier to scale applications as the data sources grow. Additionally, GraphQL can be used to query data from multiple databases, allowing developers to easily scale applications across multiple databases.&lt;/p&gt;

&lt;p&gt;Finally, implementing GraphQL in Laravel can provide increased flexibility. GraphQL allows developers to define their own data schemas, allowing them to easily add new fields or modify existing ones. This can make it easier to add new features or modify existing ones without having to rewrite large amounts of code. Additionally, GraphQL can be used to query data from multiple sources, allowing developers to easily integrate data from multiple sources into their applications.&lt;/p&gt;

&lt;p&gt;Overall, implementing GraphQL in Laravel can provide a number of benefits, including improved performance, better scalability, and increased flexibility. By leveraging the power of GraphQL, developers can build more efficient and powerful applications.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to Use GraphQL in Laravel to Create Powerful APIs
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;GraphQL&lt;/strong&gt; is an increasingly popular query language for APIs that allows developers to create powerful and efficient APIs. It is becoming increasingly popular in the Laravel community due to its ability to provide a more efficient and flexible way to query data. In this article, we will discuss how to use &lt;strong&gt;GraphQL in Laravel to create powerful APIs&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;First, we will need to install the GraphQL package for Laravel. This can be done by running the following command in the terminal:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight ssh"&gt;&lt;code&gt;&lt;span class="k"&gt;composer&lt;/span&gt; require mll-lab/laravel-graphql
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Once the package is installed, we will need to register the GraphQL service provider in the config/app.php file. This can be done by adding the following line to the providers array:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;MLLGraphQLGraphQLServiceProvider::class
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Next, we will need to publish the GraphQL configuration file. This can be done by running the following command in the terminal:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;php artisan vendor:publish –provider=”MLLGraphQLGraphQLServiceProvider”
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Once the configuration file is published, we can begin to define our GraphQL schema. This can be done by creating a file in the app/GraphQL directory and adding the following code:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;type Query {
hello: String
}

type Mutation {
setHello(hello: String): String
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This code defines a Query type with a hello field and a Mutation type with a setHello field. The hello field will return a string and the setHello field will set the hello field to a given string.&lt;/p&gt;

&lt;p&gt;Once the schema is defined, we can begin to create our GraphQL resolvers. These are functions that will be called when a query or mutation is made. For example, the following code defines a resolver for the hello field:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const resolvers = {
Query: {
hello: () =&amp;gt; ‘Hello, world!’
},
Mutation: {
setHello: (_, { hello }) =&amp;gt; hello
}
};
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Finally, we can register our resolvers in the GraphQL configuration file. This can be done by adding the following code to the &lt;strong&gt;config/graphql.php&lt;/strong&gt; file:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;‘resolvers’ =&amp;gt; [
‘Query’ =&amp;gt; [
‘hello’ =&amp;gt; AppGraphQLResolversHelloResolver::class
],
‘Mutation’ =&amp;gt; [
‘setHello’ =&amp;gt; AppGraphQLResolversSetHelloResolver::class
]
]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Once the resolvers are registered, we can begin to make queries and mutations using GraphQL. For example, the following query will return the string “Hello, world!”:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;query {
hello
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In conclusion, &lt;strong&gt;GraphQL&lt;/strong&gt; is a powerful and efficient query language for APIs that can be used in Laravel to create powerful APIs. By following the steps outlined in this article, developers can easily get started with GraphQL in Laravel.&lt;/p&gt;

&lt;h2&gt;
  
  
  Tips for Optimizing GraphQL Performance in Laravel
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Use Caching:&lt;/strong&gt; Caching is a great way to improve the performance of GraphQL queries in Laravel. By caching the results of queries, you can reduce the amount of time it takes to execute them.&lt;br&gt;
Use Eager Loading: Eager loading is a technique that allows you to pre-fetch related data in a single query. This can help reduce the number of queries that need to be executed, resulting in improved performance.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Use Fragments:&lt;/strong&gt; Fragments are a way to group related fields in a query. By using fragments, you can reduce the amount of data that needs to be sent over the network, resulting in improved performance.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Use Batching:&lt;/strong&gt; Batching is a technique that allows you to combine multiple queries into a single request. This can help reduce the number of requests that need to be sent, resulting in improved performance.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Use Persisted Queries:&lt;/strong&gt; Persisted queries are a way to store queries in a database and reuse them. This can help reduce the amount of time it takes to execute queries, resulting in improved performance.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Use Query Complexity Analysis:&lt;/strong&gt; Query complexity analysis is a technique that allows you to limit the complexity of queries. This can help reduce the amount of time it takes to execute queries, resulting in improved performance.&lt;/p&gt;
&lt;h2&gt;
  
  
  Troubleshooting Common Issues When Implementing GraphQL in Laravel
&lt;/h2&gt;

&lt;p&gt;When implementing GraphQL in Laravel, there are a few common issues that may arise. This article will provide troubleshooting tips to help you resolve these issues.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GraphQL Schema Not Found:&lt;/strong&gt; If you are receiving an error that the GraphQL schema is not found, it is likely that you have not registered the GraphQL service provider in your &lt;strong&gt;config/app.php&lt;/strong&gt; file. To do this, add the following line to the providers array:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;‘NuwaveLighthouseLighthouseServiceProvider::class’
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;GraphQL Endpoint Not Found:&lt;/strong&gt; If you are receiving an error that the GraphQL endpoint is not found, it is likely that you have not registered the GraphQL route in your routes/web.php file. To do this, add the following line to the routes array:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;‘graphql’ =&amp;gt; ‘NuwaveLighthouseSupportHttpControllersGraphQLController@query’
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;GraphQL Query Not Executing:&lt;/strong&gt; If you are receiving an error that the GraphQL query is not executing, it is likely that you have not set up the GraphQL schema correctly. To do this, create a schema.graphql file in the root of your project and add the necessary types and fields.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GraphQL Mutation Not Executing:&lt;/strong&gt; If you are receiving an error that the GraphQL mutation is not executing, it is likely that you have not set up the GraphQL mutation correctly. To do this, create a mutation.graphql file in the root of your project and add the necessary types and fields.&lt;/p&gt;

&lt;p&gt;By following these troubleshooting tips, you should be able to resolve any common issues when implementing GraphQL in Laravel.&lt;/p&gt;

&lt;h3&gt;
  
  
  Conclusion
&lt;/h3&gt;

&lt;p&gt;Implementing &lt;strong&gt;GraphQL&lt;/strong&gt; in Laravel is a great way to improve the performance and scalability of your application. It provides a powerful and flexible query language that allows developers to quickly and easily build complex queries. With the help of the Laravel GraphQL package, developers can quickly and easily set up GraphQL in their Laravel applications. This guide has provided a step-by-step guide to help developers get started with GraphQL in Laravel. With the help of this guide, developers can quickly and easily set up GraphQL in their Laravel applications and start taking advantage of its powerful features.&lt;/p&gt;




&lt;p&gt;Please like share and give positive feedback to motivate me to write more.&lt;/p&gt;

&lt;p&gt;For more tutorials &lt;a href="https://www.w3courses.org/category/website/laravel/"&gt;visit my website&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Thanks:)&lt;br&gt;
Happy Coding:)&lt;/p&gt;

</description>
      <category>laravel</category>
      <category>graphql</category>
      <category>api</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Installing Git FTP</title>
      <dc:creator>Chetan Rohilla</dc:creator>
      <pubDate>Sun, 19 Jun 2022 12:49:20 +0000</pubDate>
      <link>https://dev.to/readymadecode/installing-git-ftp-4f2i</link>
      <guid>https://dev.to/readymadecode/installing-git-ftp-4f2i</guid>
      <description>&lt;p&gt;Here we will learn how to install git ftp to speedup our deployment. The advantage of the git ftp is we can maintain our project in efficient way. We can keep backup our code at git repository and we can find only the changed code and deploy the files to our server. When setup is done, we can upload files to our server with 2 lines of command.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to Install Git FTP
&lt;/h2&gt;

&lt;p&gt;First install &lt;a href="https://git-scm.com/downloads"&gt;git cmd here&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Now search gitbash in searchbar and Open GitBash and right click and select run as administrator.&lt;/p&gt;

&lt;p&gt;First enter the below command to check which git file we need to install git-ftp&lt;/p&gt;

&lt;p&gt;If the response is /bin/git.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight ssh"&gt;&lt;code&gt;&lt;span class="k"&gt;cd&lt;/span&gt; C:&lt;span class="err"&gt;\&lt;/span&gt;Program Files&lt;span class="err"&gt;\&lt;/span&gt;Git
&lt;span class="k"&gt;git&lt;/span&gt; clone https://github.com/git-ftp/git-ftp git-ftp.git
&lt;span class="k"&gt;cd&lt;/span&gt; git-ftp.git &amp;amp;&amp;amp; chmod +x git-ftp
&lt;span class="k"&gt;cp&lt;/span&gt; C:&lt;span class="err"&gt;\&lt;/span&gt;Program Files&lt;span class="err"&gt;\&lt;/span&gt;Git&lt;span class="err"&gt;\&lt;/span&gt;git-ftp.git&lt;span class="err"&gt;\&lt;/span&gt;git-ftp C:&lt;span class="err"&gt;\&lt;/span&gt;Program Files&lt;span class="err"&gt;\&lt;/span&gt;Git&lt;span class="err"&gt;\&lt;/span&gt;bin&lt;span class="err"&gt;\&lt;/span&gt;git-ftp
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If the response is /mingw64/bin/git.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight ssh"&gt;&lt;code&gt;&lt;span class="k"&gt;cd&lt;/span&gt; C:&lt;span class="err"&gt;\&lt;/span&gt;Program Files&lt;span class="err"&gt;\&lt;/span&gt;Git&lt;span class="err"&gt;\&lt;/span&gt;mingw64
&lt;span class="k"&gt;git&lt;/span&gt; clone https://github.com/git-ftp/git-ftp git-ftp.git
&lt;span class="k"&gt;cd&lt;/span&gt; git-ftp.git &amp;amp;&amp;amp; chmod +x git-ftp
&lt;span class="k"&gt;cp&lt;/span&gt; C:&lt;span class="err"&gt;\&lt;/span&gt;Program Files&lt;span class="err"&gt;\&lt;/span&gt;Git&lt;span class="err"&gt;\&lt;/span&gt;mingw64&lt;span class="err"&gt;\&lt;/span&gt;git-ftp.git&lt;span class="err"&gt;\&lt;/span&gt;git-ftp C:&lt;span class="err"&gt;\&lt;/span&gt;Program Files&lt;span class="err"&gt;\&lt;/span&gt;Git&lt;span class="err"&gt;\&lt;/span&gt;mingw64&lt;span class="err"&gt;\&lt;/span&gt;bin&lt;span class="err"&gt;\&lt;/span&gt;git-ftp
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now we will configure the git ftp.&lt;/p&gt;

&lt;h2&gt;
  
  
  Configure Git-ftp
&lt;/h2&gt;

&lt;p&gt;Goto your project folder and run below these commands&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight ssh"&gt;&lt;code&gt;&lt;span class="k"&gt;git&lt;/span&gt; config git-ftp.url ftp://ftp_host/public_html/
&lt;span class="k"&gt;git&lt;/span&gt; config git-ftp.user ftp_username
&lt;span class="k"&gt;git&lt;/span&gt; config git-ftp.password ftp_password
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;ftp_host is hostname like yourwebsite.com, ftp_username and ftp_password you can get these details from hosting provider cpanel, or any other web panel.&lt;/p&gt;

&lt;h2&gt;
  
  
  Pushing code to server using git ftp
&lt;/h2&gt;

&lt;p&gt;Goto your project folder.&lt;/p&gt;

&lt;p&gt;If pushing For first time use these commands.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight ssh"&gt;&lt;code&gt;&lt;span class="k"&gt;git&lt;/span&gt; add .
&lt;span class="k"&gt;git&lt;/span&gt; commit -m "my changes description"
&lt;span class="k"&gt;git&lt;/span&gt; ftp init
&lt;span class="k"&gt;git&lt;/span&gt; ftp push
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If already pushed first time and uploading new changes use these commands.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight ssh"&gt;&lt;code&gt;&lt;span class="k"&gt;git&lt;/span&gt; add .
&lt;span class="k"&gt;git&lt;/span&gt; commit -m "my changes description"
&lt;span class="k"&gt;git&lt;/span&gt; ftp push
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Read also &lt;a href="https://www.w3courses.org/list-of-github-commands/"&gt;list of github commands&lt;/a&gt; for pushing and commit code.&lt;/p&gt;




&lt;p&gt;Please like share and give positive feedback to motivate me to write more.&lt;/p&gt;

&lt;p&gt;For more tutorials &lt;a href="https://www.w3courses.org/category/code-examples/"&gt;visit my website&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Thanks:)&lt;br&gt;
Happy Coding:)&lt;/p&gt;

</description>
      <category>github</category>
      <category>git</category>
      <category>beginners</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Laravel Seeders and Factories</title>
      <dc:creator>Chetan Rohilla</dc:creator>
      <pubDate>Sun, 05 Jun 2022 19:46:46 +0000</pubDate>
      <link>https://dev.to/readymadecode/laravel-seeders-and-factories-3i6o</link>
      <guid>https://dev.to/readymadecode/laravel-seeders-and-factories-3i6o</guid>
      <description>&lt;p&gt;Here, i have come with some code to create laravel seeders and factories. For inserting data in our database for testing purpose.&lt;/p&gt;

&lt;p&gt;Create Model Admin&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight ssh"&gt;&lt;code&gt;&lt;span class="k"&gt;php&lt;/span&gt; artisan make:model Admin -m
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now, open the admin migration file in database directory and table columns.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="cp"&gt;&amp;lt;?php&lt;/span&gt;

&lt;span class="kn"&gt;use&lt;/span&gt; &lt;span class="nc"&gt;Illuminate\Database\Migrations\Migration&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kn"&gt;use&lt;/span&gt; &lt;span class="nc"&gt;Illuminate\Database\Schema\Blueprint&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kn"&gt;use&lt;/span&gt; &lt;span class="nc"&gt;Illuminate\Support\Facades\Schema&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;CreateAdminsTable&lt;/span&gt; &lt;span class="kd"&gt;extends&lt;/span&gt; &lt;span class="nc"&gt;Migration&lt;/span&gt;
&lt;span class="p"&gt;{&lt;/span&gt;

    &lt;span class="cd"&gt;/**
     * Run the migrations.
     *
     * @return void
     */&lt;/span&gt;
    &lt;span class="k"&gt;public&lt;/span&gt; &lt;span class="k"&gt;function&lt;/span&gt; &lt;span class="n"&gt;up&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
    &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="nc"&gt;Schema&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;create&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt; &lt;span class="s1"&gt;'admins'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="k"&gt;function&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kt"&gt;Blueprint&lt;/span&gt; &lt;span class="nv"&gt;$table&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="p"&gt;{&lt;/span&gt;
            &lt;span class="nv"&gt;$table&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;increments&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt; &lt;span class="s1"&gt;'id'&lt;/span&gt; &lt;span class="p"&gt;);&lt;/span&gt;
            &lt;span class="nv"&gt;$table&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;string&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt; &lt;span class="s1"&gt;'name'&lt;/span&gt; &lt;span class="p"&gt;);&lt;/span&gt;
            &lt;span class="nv"&gt;$table&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;string&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt; &lt;span class="s1"&gt;'surname'&lt;/span&gt; &lt;span class="p"&gt;);&lt;/span&gt;
            &lt;span class="nv"&gt;$table&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;string&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt; &lt;span class="s1"&gt;'email'&lt;/span&gt; &lt;span class="p"&gt;);&lt;/span&gt;
            &lt;span class="nv"&gt;$table&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;string&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt; &lt;span class="s1"&gt;'password'&lt;/span&gt; &lt;span class="p"&gt;);&lt;/span&gt;
            &lt;span class="nv"&gt;$table&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;timestamps&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
        &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="p"&gt;);&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;

    &lt;span class="cd"&gt;/**
     * Reverse the migrations.
     *
     * @return void
     */&lt;/span&gt;
    &lt;span class="k"&gt;public&lt;/span&gt; &lt;span class="k"&gt;function&lt;/span&gt; &lt;span class="n"&gt;down&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
    &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="nc"&gt;Schema&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;dropIfExists&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt; &lt;span class="s1"&gt;'admins'&lt;/span&gt; &lt;span class="p"&gt;);&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To create table run&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight ssh"&gt;&lt;code&gt;&lt;span class="k"&gt;php&lt;/span&gt; artisan migrate
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Create Factory in Laravel to create random number of records for testing. We will create factory AdminFactory.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight ssh"&gt;&lt;code&gt;&lt;span class="k"&gt;php&lt;/span&gt; artisan make:factory AdminFactory
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Inside the definition method set your database table columns.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="cp"&gt;&amp;lt;?php&lt;/span&gt;

&lt;span class="kn"&gt;namespace&lt;/span&gt; &lt;span class="nn"&gt;Database\Factories&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kn"&gt;use&lt;/span&gt; &lt;span class="nc"&gt;App\Models\Admin&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kn"&gt;use&lt;/span&gt; &lt;span class="nc"&gt;Illuminate\Database\Eloquent\Factories\Factory&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kn"&gt;use&lt;/span&gt; &lt;span class="nc"&gt;Illuminate\Support\Str&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;AdminFactory&lt;/span&gt; &lt;span class="kd"&gt;extends&lt;/span&gt; &lt;span class="nc"&gt;Factory&lt;/span&gt;
&lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="cd"&gt;/**
     * The name of the factory's corresponding model.
     *
     * @var string
     */&lt;/span&gt;
    &lt;span class="k"&gt;protected&lt;/span&gt; &lt;span class="nv"&gt;$model&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;Admin&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="n"&gt;class&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

    &lt;span class="cd"&gt;/**
     * Define the model's default state.
     *
     * @return array
     */&lt;/span&gt;
    &lt;span class="k"&gt;public&lt;/span&gt; &lt;span class="k"&gt;function&lt;/span&gt; &lt;span class="n"&gt;definition&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
    &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
            &lt;span class="s1"&gt;'name'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nv"&gt;$this&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="n"&gt;faker&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
            &lt;span class="s1"&gt;'surname'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nv"&gt;$this&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="n"&gt;faker&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
            &lt;span class="s1"&gt;'email'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nv"&gt;$this&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="n"&gt;faker&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;unique&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="n"&gt;safeEmail&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
            &lt;span class="s1"&gt;'password'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nf"&gt;bcrypt&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'123456'&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt; &lt;span class="c1"&gt;// password&lt;/span&gt;
        &lt;span class="p"&gt;];&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now, create seeder to run factory or database queries.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight ssh"&gt;&lt;code&gt;&lt;span class="k"&gt;php&lt;/span&gt; artisan make:seeder AdminSeeder
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Inside run method apply factory on Admin model.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="kn"&gt;namespace&lt;/span&gt; &lt;span class="nn"&gt;Database\Seeders&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kn"&gt;use&lt;/span&gt; &lt;span class="nc"&gt;App\Models\Admin&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kn"&gt;use&lt;/span&gt; &lt;span class="nc"&gt;Illuminate\Database\Seeder&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kn"&gt;use&lt;/span&gt; &lt;span class="nc"&gt;Illuminate\Support\Str&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;AdminsSeeder&lt;/span&gt; &lt;span class="kd"&gt;extends&lt;/span&gt; &lt;span class="nc"&gt;Seeder&lt;/span&gt;
&lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="cd"&gt;/**
     * Run the database seeds.
     *
     * @return void
     */&lt;/span&gt;
    &lt;span class="k"&gt;public&lt;/span&gt; &lt;span class="k"&gt;function&lt;/span&gt; &lt;span class="n"&gt;run&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
    &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="nc"&gt;Admin&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;factory&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
            &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nb"&gt;count&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;50&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
            &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;create&lt;/span&gt;&lt;span class="p"&gt;([&lt;/span&gt;
                &lt;span class="s1"&gt;'surname'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="s1"&gt;'Kumar'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
            &lt;span class="p"&gt;]);&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now run the seeder class&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight ssh"&gt;&lt;code&gt;&lt;span class="k"&gt;php&lt;/span&gt; artisan db:seed --class=AdminSeeder
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This will create 50 random records in table admins&lt;/p&gt;




&lt;p&gt;Please like share and give positive feedback to motivate me to write more.&lt;/p&gt;

&lt;p&gt;For more tutorials &lt;a href="https://www.w3courses.org/category/code-examples/"&gt;visit my website&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Thanks:)&lt;br&gt;
Happy Coding:)&lt;/p&gt;

</description>
      <category>laravel</category>
      <category>webdev</category>
      <category>tutorial</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Update Table in Laravel Migrations</title>
      <dc:creator>Chetan Rohilla</dc:creator>
      <pubDate>Thu, 02 Jun 2022 23:19:42 +0000</pubDate>
      <link>https://dev.to/readymadecode/update-table-in-laravel-migrations-3m3e</link>
      <guid>https://dev.to/readymadecode/update-table-in-laravel-migrations-3m3e</guid>
      <description>&lt;p&gt;Here, i have come with another small piece of code which you can use in updating your laravel existing migrations.&lt;/p&gt;

&lt;p&gt;Run this command to create migration&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight ssh"&gt;&lt;code&gt;&lt;span class="k"&gt;php&lt;/span&gt; artisan make:migration update_users_table
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="cp"&gt;&amp;lt;?php&lt;/span&gt;

&lt;span class="kn"&gt;use&lt;/span&gt; &lt;span class="nc"&gt;Illuminate\Database\Migrations\Migration&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kn"&gt;use&lt;/span&gt; &lt;span class="nc"&gt;Illuminate\Database\Schema\Blueprint&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kn"&gt;use&lt;/span&gt; &lt;span class="nc"&gt;Illuminate\Support\Facades\Schema&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;UpdateUsersTable&lt;/span&gt; &lt;span class="kd"&gt;extends&lt;/span&gt; &lt;span class="nc"&gt;Migration&lt;/span&gt;
&lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="cd"&gt;/**
     * Run the migrations.
     *
     * @return void
     */&lt;/span&gt;
    &lt;span class="k"&gt;public&lt;/span&gt; &lt;span class="k"&gt;function&lt;/span&gt; &lt;span class="n"&gt;up&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
    &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="nc"&gt;Schema&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;table&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'users'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="k"&gt;function&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kt"&gt;Blueprint&lt;/span&gt; &lt;span class="nv"&gt;$table&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="nv"&gt;$table&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;string&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'name'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;255&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;nullable&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;change&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
        &lt;span class="nv"&gt;$table&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;renameColumn&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'first_name'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'full_name'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
        &lt;span class="nv"&gt;$table&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;dropColumn&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'age'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
        &lt;span class="nv"&gt;$table&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;string&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'email'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;unique&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;change&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
        &lt;span class="nv"&gt;$table&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;integer&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'gender'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
    &lt;span class="p"&gt;});&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;

    &lt;span class="cd"&gt;/**
     * Reverse the migrations.
     *
     * @return void
     */&lt;/span&gt;
    &lt;span class="k"&gt;public&lt;/span&gt; &lt;span class="k"&gt;function&lt;/span&gt; &lt;span class="n"&gt;down&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
    &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="nc"&gt;Schema&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;table&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'users'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="k"&gt;function&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kt"&gt;Blueprint&lt;/span&gt; &lt;span class="nv"&gt;$table&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="nv"&gt;$table&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;string&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'name'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;255&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;nullable&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;change&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
        &lt;span class="nv"&gt;$table&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;renameColumn&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'full_name'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'first_name'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
        &lt;span class="nv"&gt;$table&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;integer&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'age'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
        &lt;span class="nv"&gt;$table&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;dropUnique&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'email'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
        &lt;span class="nv"&gt;$table&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;dropColumn&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'gender'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
    &lt;span class="p"&gt;});&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;};&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now run this command&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight ssh"&gt;&lt;code&gt;&lt;span class="k"&gt;run&lt;/span&gt; the command php artisan migrate
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;p&gt;Please like share and give positive feedback to motivate me to write more.&lt;/p&gt;

&lt;p&gt;For more tutorials &lt;a href="https://www.w3courses.org/category/code-examples/"&gt;visit my website&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Thanks:)&lt;br&gt;
Happy Coding:)&lt;/p&gt;

</description>
      <category>laravel</category>
      <category>webdev</category>
      <category>beginners</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Laravel sendinblue emails</title>
      <dc:creator>Chetan Rohilla</dc:creator>
      <pubDate>Sun, 29 May 2022 14:35:55 +0000</pubDate>
      <link>https://dev.to/readymadecode/laravel-sendinblue-emails-1j41</link>
      <guid>https://dev.to/readymadecode/laravel-sendinblue-emails-1j41</guid>
      <description>&lt;p&gt;Hi! In this post i will share small code with you, how you can send Laravel Sendinblue emails. We will send emails using the CURL options provided by sendinblue.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="k"&gt;public&lt;/span&gt; &lt;span class="k"&gt;static&lt;/span&gt; &lt;span class="k"&gt;function&lt;/span&gt; &lt;span class="n"&gt;sendSendInBlueMail&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nv"&gt;$html&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;view&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'emails.template'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
        &lt;span class="s1"&gt;'name'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="s1"&gt;'User Name'&lt;/span&gt;
    &lt;span class="p"&gt;]);&lt;/span&gt;

    &lt;span class="nv"&gt;$fields&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
        &lt;span class="s1"&gt;'to'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
            &lt;span class="p"&gt;[&lt;/span&gt;
                &lt;span class="s2"&gt;"email"&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="s1"&gt;'to@example.com'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                &lt;span class="s2"&gt;"name"&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="s1"&gt;'User Name'&lt;/span&gt;
            &lt;span class="p"&gt;]&lt;/span&gt;
        &lt;span class="p"&gt;],&lt;/span&gt;
        &lt;span class="s2"&gt;"sender"&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
            &lt;span class="s2"&gt;"name"&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="s1"&gt;'Website Name'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
            &lt;span class="s2"&gt;"email"&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="s1"&gt;'from@example.com'&lt;/span&gt;
        &lt;span class="p"&gt;],&lt;/span&gt;
        &lt;span class="s2"&gt;"subject"&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="s1"&gt;'Sendinblue Email'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="s2"&gt;"cc"&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
            &lt;span class="p"&gt;[&lt;/span&gt;
                &lt;span class="s2"&gt;"email"&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="s1"&gt;'to@example.com'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                &lt;span class="s2"&gt;"name"&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="s1"&gt;'User Name'&lt;/span&gt;
            &lt;span class="p"&gt;]&lt;/span&gt;
        &lt;span class="p"&gt;],&lt;/span&gt;
        &lt;span class="s2"&gt;"htmlContent"&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="s2"&gt;"&amp;lt;html&amp;gt;&amp;lt;head&amp;gt;&amp;lt;/head&amp;gt;"&lt;/span&gt; &lt;span class="mf"&gt;.&lt;/span&gt; &lt;span class="nv"&gt;$html&lt;/span&gt; &lt;span class="mf"&gt;.&lt;/span&gt; &lt;span class="s2"&gt;"&amp;lt;/html&amp;gt;"&lt;/span&gt;
    &lt;span class="p"&gt;];&lt;/span&gt;

    &lt;span class="nv"&gt;$fields&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;json_encode&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;$fields&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;

    &lt;span class="nv"&gt;$ch&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;curl_init&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
    &lt;span class="nb"&gt;curl_setopt&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;$ch&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="no"&gt;CURLOPT_URL&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'https://api.sendinblue.com/v3/smtp/email'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
    &lt;span class="nb"&gt;curl_setopt&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;$ch&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="no"&gt;CURLOPT_HTTPHEADER&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
        &lt;span class="s1"&gt;'accept: application/json'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="s1"&gt;'api-key:'&lt;/span&gt; &lt;span class="mf"&gt;.&lt;/span&gt; &lt;span class="nf"&gt;env&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"SENDINBLUEAPIKEY"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="mf"&gt;.&lt;/span&gt; &lt;span class="s1"&gt;''&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'content-type: application/json'&lt;/span&gt;
    &lt;span class="p"&gt;]);&lt;/span&gt;
    &lt;span class="nb"&gt;curl_setopt&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;$ch&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="no"&gt;CURLOPT_RETURNTRANSFER&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
    &lt;span class="nb"&gt;curl_setopt&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;$ch&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="no"&gt;CURLOPT_HEADER&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
    &lt;span class="nb"&gt;curl_setopt&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;$ch&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="no"&gt;CURLOPT_POST&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
    &lt;span class="nb"&gt;curl_setopt&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;$ch&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="no"&gt;CURLOPT_POSTFIELDS&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nv"&gt;$fields&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
    &lt;span class="nb"&gt;curl_setopt&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;$ch&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="no"&gt;CURLOPT_SSL_VERIFYPEER&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;

    &lt;span class="nv"&gt;$response&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;curl_exec&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;$ch&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;

    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nv"&gt;$response&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Email blade template&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;body&lt;/span&gt; &lt;span class="na"&gt;style=&lt;/span&gt;&lt;span class="s"&gt;"padding:0px;margin:0px;font-family: sans-serif;"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;h1&amp;gt;&lt;/span&gt;{{$name}}&lt;span class="nt"&gt;&amp;lt;/h1&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/body&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Get &lt;a href="https://account.sendinblue.com/advanced/api"&gt;Sendinblue API here&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;Please like share and give positive feedback to motivate me to write more.&lt;/p&gt;

&lt;p&gt;For more tutorials &lt;a href="https://www.w3courses.org/category/code-examples/"&gt;visit my website&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Thanks:)&lt;br&gt;
Happy Coding:)&lt;/p&gt;

</description>
      <category>laravel</category>
      <category>sendinblue</category>
      <category>beginners</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Useful Chrome Developer Tools</title>
      <dc:creator>Chetan Rohilla</dc:creator>
      <pubDate>Tue, 17 May 2022 21:55:50 +0000</pubDate>
      <link>https://dev.to/readymadecode/useful-chrome-developer-tools-4e6k</link>
      <guid>https://dev.to/readymadecode/useful-chrome-developer-tools-4e6k</guid>
      <description>&lt;p&gt;Here I have come with some list of useful chrome developer tools which can be helpful specially for web developers or web designers. You can download these extensions on chrome website.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;a href="https://chrome.google.com/webstore/detail/redux-devtools/lmhkpmbekcpmknklioeibfkpmmfibljd"&gt;Redux DevTools&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;Redux DevTools for debugging application’s state changes. The extension provides power-ups for your Redux development workflow. Apart from Redux, it can be used with any other architectures which handle the state.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;a href="https://chrome.google.com/webstore/detail/modheader/idgpnmonknjnojddfkpgkljpfnnfcklj"&gt;ModHeader&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;Add, modify, and remove request and response headers. Use ModHeader to set X-Forwarded-For, Authorization, Access-Control-Allow-Origin, etc. Modify cookies in request / response header. Redirect URL with another.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;a href="https://chrome.google.com/webstore/detail/checkbot-seo-web-speed-se/dagohlmlhagincbfilmkadjgmdnkjinl"&gt;Checkbot: SEO, Web Speed &amp;amp; Security Tester&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;Checkbot is a powerful website testing tool that tells you how to improve the SEO, page speed and security of your website. Test SEO/speed/security of 100s of pages in a click! Check broken links, HTML/JavaScript/CSS, URL redirects, duplicate titles.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;a href="https://chrome.google.com/webstore/detail/visual-css-editor/cibffnhhlfippmhdmdkcfecncoaegdkh"&gt;Visual CSS Editor&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;The extension allows you to customize any website without coding. Click on an element and start visual editing. Adjust colors, fonts, sizes, positions, and a lot more. Take full control over your website’s design with more than 60 style properties.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;a href="https://chrome.google.com/webstore/detail/lipsum-generator/fepopmflofkppphpkfjdbmimglkeifna"&gt;Lipsum Generator&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;Generate lorem ipsum dummy text.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;a href="https://chrome.google.com/webstore/detail/css-selector-capture-pro/cpnkcffhllafbdbljkmhebnpbnlhapmd"&gt;CSS Selector Capture Pro&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;Generate a copiable CSS Selector with a mouseover without Devtool&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;a href="https://chrome.google.com/webstore/detail/colorzilla/bhlhnicpbhignbdhedgjhgdocnmhomnp"&gt;ColorZilla&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;Advanced Eyedropper, Color Picker, Gradient Generator and other colorful goodies.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;a href="https://chrome.google.com/webstore/detail/window-resizer/kkelicaakdanhinjdeammmilcgefonfh"&gt;Window Resizer&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;This extension re-sizes the browser’s window in order to emulate various resolutions. It is particularly useful for web designers and developers by helping them test their layouts on different browser resolutions.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;a href="https://chrome.google.com/webstore/detail/dimensions/baocaagndhipibgklemoalmkljaimfdj"&gt;Dimensions&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;A tool for designers to measure screen dimensions. This extension measures the dimensions from your mouse pointer up/down and left/right until it hits a border. So if you want to measure distances between elements on a website this is perfect.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;a href="https://chrome.google.com/webstore/detail/github-web-ide/adjiklnjodbiaioggfpbpkhbfcnhgkfe"&gt;GitHub Web IDE&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;Open GitHub repositories in online web IDE. This extension adds to any GitHub repository a new drop down menu which offers links to a number of online services that allow viewing the source code of the repository in an IDE like interface.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;a href="https://chrome.google.com/webstore/detail/fix-translation/nefkkabmejdacaifhjoinegmoggdbgee"&gt;Fix translation&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;Control Google Translate areas, customize translation or non-translation areas. Google Translate usually translates all content, but sometimes parts of the content do not need to be translated, such as: code, terminology, name, … etc.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;a href="https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi"&gt;React Developer Tools&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;Adds React debugging tools to the Chrome Developer Tools.&lt;/p&gt;




&lt;p&gt;Please like share and give positive feedback to motivate me to write more.&lt;/p&gt;

&lt;p&gt;For more tutorials &lt;a href="https://www.w3courses.org/tutorials/"&gt;visit my website&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Thanks:)&lt;br&gt;
Happy Coding:)&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>beginners</category>
      <category>tutorial</category>
      <category>chrome</category>
    </item>
    <item>
      <title>Create Custom Logs in Laravel</title>
      <dc:creator>Chetan Rohilla</dc:creator>
      <pubDate>Sat, 14 May 2022 15:38:18 +0000</pubDate>
      <link>https://dev.to/readymadecode/create-custom-logs-in-laravel-26m6</link>
      <guid>https://dev.to/readymadecode/create-custom-logs-in-laravel-26m6</guid>
      <description>&lt;p&gt;Log is a way which we can use to keep track of input data, output data, requests made through our applications, log system error messages, notify about informations to teams. In our laravel applications we can use logging services to create logs. Here we will create custom logs in laravel also. Laravel logging is based on “channels”. Each channel represents a specific way of writing log information.&lt;/p&gt;

&lt;p&gt;Laravel uses the &lt;strong&gt;config/logging.php&lt;/strong&gt; file for log’s configuration. To log the information laravel uses the channel name from this file based on environment production or local. By default, Laravel use the stack channel when logging messages. You can read in detail about &lt;a href="https://laravel.com/docs/8.x/logging"&gt;Laravel logs here&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Creating Logs in Laravel
&lt;/h2&gt;

&lt;p&gt;If you are using the controller or model or custom class then you have add this line at top. In blade templates you can directly use Log.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;use Log;&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="nv"&gt;$message&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;'Custom String'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="c1"&gt;//string logs&lt;/span&gt;
&lt;span class="nv"&gt;$message&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;'key'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="s1"&gt;'value'&lt;/span&gt;&lt;span class="p"&gt;];&lt;/span&gt; &lt;span class="c1"&gt;//array logs&lt;/span&gt;

&lt;span class="nc"&gt;Log&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;emergency&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'Emergency message : '&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nv"&gt;$message&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="nc"&gt;Log&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;alert&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'Alert message : '&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nv"&gt;$message&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="nc"&gt;Log&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;critical&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'Critical message : '&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nv"&gt;$message&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="nc"&gt;Log&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;error&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'Error message : '&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nv"&gt;$message&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="nc"&gt;Log&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;warning&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'Warning message : '&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nv"&gt;$message&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="nc"&gt;Log&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;notice&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'Notice message : '&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nv"&gt;$message&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="nc"&gt;Log&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;info&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'Info message : '&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nv"&gt;$message&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="nc"&gt;Log&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;debug&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'Debug message : '&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nv"&gt;$message&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now, open &lt;strong&gt;storage\logs\laravel.log&lt;/strong&gt; and you will see your logs.&lt;/p&gt;

&lt;h2&gt;
  
  
  Create Custom Logs in Laravel
&lt;/h2&gt;

&lt;p&gt;To create custom logs just add the below code in your config/logging.php file inside the channels array.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="s1"&gt;'channels'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;

        &lt;span class="s1"&gt;'custom_log_channel'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
            &lt;span class="s1"&gt;'driver'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="s1"&gt;'single'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
            &lt;span class="s1"&gt;'path'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nf"&gt;storage_path&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'custom_logs/laravel.log'&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
        &lt;span class="p"&gt;],&lt;/span&gt;

    &lt;span class="p"&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Here we have used the driver single (A single file or path) and our path. Now log using the below code.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="nc"&gt;Log&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;channel&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'custom_log_channel'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nf"&gt;info&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'Custom LOGS =&amp;gt; '&lt;/span&gt;&lt;span class="p"&gt;,[&lt;/span&gt;&lt;span class="s1"&gt;'name'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="s1"&gt;'Custom Logs Working..'&lt;/span&gt;&lt;span class="p"&gt;]);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now, open the file &lt;strong&gt;storage\custom_logs\laravel.log&lt;/strong&gt; and you will see your logs.&lt;/p&gt;




&lt;p&gt;Please like share and give positive feedback to motivate me to write more.&lt;/p&gt;

&lt;p&gt;For more tutorials &lt;a href="https://www.w3courses.org/tutorials/"&gt;visit my website&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Thanks:)&lt;br&gt;
Happy Coding:)&lt;/p&gt;

</description>
      <category>laravel</category>
      <category>webdev</category>
      <category>beginners</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Ionic 6 Custom Color Variables</title>
      <dc:creator>Chetan Rohilla</dc:creator>
      <pubDate>Mon, 09 May 2022 07:25:06 +0000</pubDate>
      <link>https://dev.to/readymadecode/ionic-6-custom-color-variables-j5n</link>
      <guid>https://dev.to/readymadecode/ionic-6-custom-color-variables-j5n</guid>
      <description>&lt;p&gt;Create custom color for your app’s UI. Change Theme or add custom color in Ionic 6 App. The fastest way to change the theme of Ionic app is to set a new value for primary, secondary, light, dark etc. Here below we will change the values of predefined ionic color variables and also create custom color variables in ionic.&lt;/p&gt;

&lt;h2&gt;
  
  
  Add Custom Color in Ionic 6
&lt;/h2&gt;

&lt;p&gt;First visit &lt;a href="https://ionicframework.com/docs/theming/color-generator"&gt;ionic color generator&lt;/a&gt;, create or change colors of your choice then copy the :root object into your src/themes/variables.scss file as shown below.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight scss"&gt;&lt;code&gt;&lt;span class="nd"&gt;:root&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="na"&gt;--ion-color-primary&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#3880ff&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="na"&gt;--ion-color-primary-rgb&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;56&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;&lt;span class="m"&gt;128&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;&lt;span class="m"&gt;255&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="na"&gt;--ion-color-primary-contrast&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#ffffff&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="na"&gt;--ion-color-primary-contrast-rgb&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;255&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;&lt;span class="m"&gt;255&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;&lt;span class="m"&gt;255&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="na"&gt;--ion-color-primary-shade&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#3171e0&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="na"&gt;--ion-color-primary-tint&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#4c8dff&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

    &lt;span class="na"&gt;--ion-color-secondary&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#5260ff&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="na"&gt;--ion-color-secondary-rgb&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;82&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;&lt;span class="m"&gt;96&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;&lt;span class="m"&gt;255&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="na"&gt;--ion-color-secondary-contrast&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#ffffff&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="na"&gt;--ion-color-secondary-contrast-rgb&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;255&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;&lt;span class="m"&gt;255&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;&lt;span class="m"&gt;255&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="na"&gt;--ion-color-secondary-shade&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#4854e0&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="na"&gt;--ion-color-secondary-tint&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#6370ff&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

    &lt;span class="na"&gt;--ion-color-tertiary&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#5260ff&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="na"&gt;--ion-color-tertiary-rgb&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;82&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;&lt;span class="m"&gt;96&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;&lt;span class="m"&gt;255&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="na"&gt;--ion-color-tertiary-contrast&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#ffffff&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="na"&gt;--ion-color-tertiary-contrast-rgb&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;255&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;&lt;span class="m"&gt;255&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;&lt;span class="m"&gt;255&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="na"&gt;--ion-color-tertiary-shade&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#4854e0&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="na"&gt;--ion-color-tertiary-tint&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#6370ff&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

    &lt;span class="na"&gt;--ion-color-success&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#2dd36f&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="na"&gt;--ion-color-success-rgb&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;45&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;&lt;span class="m"&gt;211&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;&lt;span class="m"&gt;111&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="na"&gt;--ion-color-success-contrast&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#000000&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="na"&gt;--ion-color-success-contrast-rgb&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;&lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;&lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="na"&gt;--ion-color-success-shade&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#28ba62&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="na"&gt;--ion-color-success-tint&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#42d77d&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

    &lt;span class="na"&gt;--ion-color-warning&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#ffc409&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="na"&gt;--ion-color-warning-rgb&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;255&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;&lt;span class="m"&gt;196&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;&lt;span class="m"&gt;9&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="na"&gt;--ion-color-warning-contrast&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#000000&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="na"&gt;--ion-color-warning-contrast-rgb&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;&lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;&lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="na"&gt;--ion-color-warning-shade&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#e0ac08&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="na"&gt;--ion-color-warning-tint&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#ffca22&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

    &lt;span class="na"&gt;--ion-color-danger&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#eb445a&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="na"&gt;--ion-color-danger-rgb&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;235&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;&lt;span class="m"&gt;68&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;&lt;span class="m"&gt;90&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="na"&gt;--ion-color-danger-contrast&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#ffffff&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="na"&gt;--ion-color-danger-contrast-rgb&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;255&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;&lt;span class="m"&gt;255&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;&lt;span class="m"&gt;255&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="na"&gt;--ion-color-danger-shade&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#cf3c4f&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="na"&gt;--ion-color-danger-tint&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#ed576b&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

    &lt;span class="na"&gt;--ion-color-medium&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#8c97c5&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="na"&gt;--ion-color-medium-rgb&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;140&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;&lt;span class="m"&gt;151&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;&lt;span class="m"&gt;197&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="na"&gt;--ion-color-medium-contrast&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#000000&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="na"&gt;--ion-color-medium-contrast-rgb&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;&lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;&lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="na"&gt;--ion-color-medium-shade&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#7b85ad&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="na"&gt;--ion-color-medium-tint&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#98a1cb&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

    &lt;span class="na"&gt;--ion-color-light&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#f4f5f8&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="na"&gt;--ion-color-light-rgb&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;244&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;&lt;span class="m"&gt;245&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;&lt;span class="m"&gt;248&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="na"&gt;--ion-color-light-contrast&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#000000&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="na"&gt;--ion-color-light-contrast-rgb&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;&lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;&lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="na"&gt;--ion-color-light-shade&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#d7d8da&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="na"&gt;--ion-color-light-tint&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#f5f6f9&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If you want to create custom color variables like instagram color. Then in your variables.scss file add the code given below.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight scss"&gt;&lt;code&gt;&lt;span class="nd"&gt;:root&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="na"&gt;--ion-color-instagram&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#fd4c76&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="na"&gt;--ion-color-instagram-rgb&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;253&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="m"&gt;76&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="m"&gt;118&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="na"&gt;--ion-color-instagram-contrast&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#ffffff&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="na"&gt;--ion-color-instagram-contrast-rgb&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;255&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="m"&gt;255&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="m"&gt;255&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="na"&gt;--ion-color-instagram-shade&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#fa3462&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="na"&gt;--ion-color-instagram-tint&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#d61845&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="nc"&gt;.ion-color-instagram&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="na"&gt;--ion-color-base&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nf"&gt;var&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;ion-color-instagram&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="n"&gt;important&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="na"&gt;--ion-color-base-rgb&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nf"&gt;var&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;ion-color-instagram-rgb&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="n"&gt;important&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="na"&gt;--ion-color-contrast&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nf"&gt;var&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;ion-color-instagram-contrast&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="n"&gt;important&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="na"&gt;--ion-color-contrast-rgb&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nf"&gt;var&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;ion-color-instagram-contrast-rgb&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="n"&gt;important&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="na"&gt;--ion-color-shade&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nf"&gt;var&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;ion-color-instagram-shade&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="n"&gt;important&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="na"&gt;--ion-color-tint&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nf"&gt;var&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;ion-color-instagram-tint&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="n"&gt;important&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now, we can use ionic color variables in our app. For example, we can use like this&lt;/p&gt;

&lt;p&gt;&amp;lt;ion-icon name="logo-twitter" color="secondary"&amp;gt;&amp;lt;/ion-icon&amp;gt;&lt;/p&gt;

&lt;p&gt;&amp;lt;ion-item color="primary"&amp;gt;&amp;lt;/ion-item&amp;gt;&lt;/p&gt;

&lt;p&gt;This is custom instagram color we created above.&lt;/p&gt;

&lt;p&gt;&amp;lt;ion-icon name="logo-instagram" color="instagram"&amp;gt;&amp;lt;/ion-icon&amp;gt;&lt;/p&gt;




&lt;p&gt;Please like share and give positive feedback to motivate me to write more.&lt;/p&gt;

&lt;p&gt;For more &lt;a href="https://www.w3courses.org/tutorials/"&gt;tutorials visit my website&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Thanks:)&lt;br&gt;
Happy Coding:)&lt;/p&gt;

</description>
      <category>ionic</category>
      <category>themes</category>
      <category>beginners</category>
      <category>typescript</category>
    </item>
  </channel>
</rss>
