<?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: Lars Wolters</title>
    <description>The latest articles on DEV Community by Lars Wolters (@larswolterssoftware).</description>
    <link>https://dev.to/larswolterssoftware</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%2F915433%2F0b37b344-3ad6-4b6c-9abe-8a6c24cc5ccc.jpeg</url>
      <title>DEV Community: Lars Wolters</title>
      <link>https://dev.to/larswolterssoftware</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/larswolterssoftware"/>
    <language>en</language>
    <item>
      <title>How to run Laravel Pint on save in PhpStorm</title>
      <dc:creator>Lars Wolters</dc:creator>
      <pubDate>Tue, 03 Oct 2023 13:46:40 +0000</pubDate>
      <link>https://dev.to/larswolterssoftware/how-to-run-laravel-pint-on-save-in-phpstorm-45ga</link>
      <guid>https://dev.to/larswolterssoftware/how-to-run-laravel-pint-on-save-in-phpstorm-45ga</guid>
      <description>&lt;p&gt;Hi all,&lt;/p&gt;

&lt;p&gt;I've written a simple guide on how to configure PhpStorm to run Laravel Pint on save.&lt;/p&gt;

&lt;p&gt;This is useful for keeping your PHP files clean using Laravel Pint (and your own configuration), rather than PhpStorm's built-in formatter.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://larswolters.dev/posts/how-to-run-laravel-pint-on-save-in-phpstorm" rel="noopener noreferrer"&gt;https://larswolters.dev/posts/how-to-run-laravel-pint-on-save-in-phpstorm&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thanks,&lt;/p&gt;

&lt;p&gt;Lars&lt;/p&gt;

</description>
      <category>laravel</category>
      <category>php</category>
    </item>
    <item>
      <title>Sending bulk emails in Laravel 10 using Mailgun</title>
      <dc:creator>Lars Wolters</dc:creator>
      <pubDate>Tue, 11 Jul 2023 12:47:03 +0000</pubDate>
      <link>https://dev.to/larswolterssoftware/sending-bulk-emails-in-laravel-10-using-mailgun-2e4k</link>
      <guid>https://dev.to/larswolterssoftware/sending-bulk-emails-in-laravel-10-using-mailgun-2e4k</guid>
      <description>&lt;p&gt;Hi all,&lt;/p&gt;

&lt;p&gt;I've been working on an example repository on how to send bulk emails using Mailgun in a Laravel 10 application. It demonstrates how to use a traditional Markdown email with the Mailgun bulk email sending feature, and how to add both recipient-specific data and shared data in the emails.&lt;/p&gt;

&lt;p&gt;The problem with queueing bulk emails is that you can't use the &lt;code&gt;Mail::queue()&lt;/code&gt; method because it will create a new job for each email. This will cause the queue to grow very fast and eventually crash.&lt;/p&gt;

&lt;p&gt;A solution to this problem is to make use of the Mailgun API. Mailgun allows you to send up to 1000 emails per batch. This means that you can send 1000 emails with a single API call.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/larswolters98/laravel-mailgun-bulk-emails-example" rel="noopener noreferrer"&gt;https://github.com/larswolters98/laravel-mailgun-bulk-emails-example&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;To read more articles I wrote, you can visit my website: &lt;a href="https://larswolters.dev" rel="noopener noreferrer"&gt;https://larswolters.dev&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thanks,&lt;/p&gt;

&lt;p&gt;Lars&lt;/p&gt;

</description>
      <category>laravel</category>
      <category>php</category>
    </item>
    <item>
      <title>Laravel 10 &amp; Next.js 13 JWT boilerplate</title>
      <dc:creator>Lars Wolters</dc:creator>
      <pubDate>Wed, 28 Jun 2023 09:09:51 +0000</pubDate>
      <link>https://dev.to/avocado-media/laravel-10-nextjs-13-jwt-open-source-boilerplate-2ogf</link>
      <guid>https://dev.to/avocado-media/laravel-10-nextjs-13-jwt-open-source-boilerplate-2ogf</guid>
      <description>&lt;p&gt;Hi all,&lt;/p&gt;

&lt;p&gt;We are excited to announce the release of a new open-source project: a Laravel 10 JWT REST API boilerplate, accompanied by a fully functional Next.js 13 (App Router) frontend. This comprehensive boilerplate aims to simplify the development of modern web applications by providing a solid foundation with essential features.&lt;/p&gt;

&lt;p&gt;One of the most important features of this boilerplate is the integration of JWT (JSON Web Tokens). JWT provides a secure and stateless authentication mechanism, enabling developers to handle user authentication and authorization seamlessly.&lt;/p&gt;

&lt;p&gt;By combining Laravel &amp;amp; Next.js, the boilerplate offers a cohesive and efficient development stack, enabling you to create feature-rich web applications swiftly. Whether you are building a small-scale project or a complex enterprise-level application, this boilerplate will jumpstart your development process and save you valuable time.&lt;/p&gt;

&lt;p&gt;You can find the repositories on GitHub:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/avocado-media/nextjs-jwt-app-router" rel="noopener noreferrer"&gt;Client repository (Next.js 13)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/avocado-media/laravel-jwt-rest-api" rel="noopener noreferrer"&gt;REST API repository (Laravel 10)&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;To read more articles I wrote, you can visit my website: &lt;a href="https://larswolters.dev" rel="noopener noreferrer"&gt;https://larswolters.dev&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thanks,&lt;/p&gt;

&lt;p&gt;Lars&lt;/p&gt;

</description>
      <category>laravel</category>
      <category>nextjs</category>
      <category>typescript</category>
      <category>jwt</category>
    </item>
    <item>
      <title>20 tips on how to become a better developer in 2023</title>
      <dc:creator>Lars Wolters</dc:creator>
      <pubDate>Tue, 13 Sep 2022 21:10:21 +0000</pubDate>
      <link>https://dev.to/larswolterssoftware/how-to-become-a-better-developer-416h</link>
      <guid>https://dev.to/larswolterssoftware/how-to-become-a-better-developer-416h</guid>
      <description>&lt;p&gt;Hi all,&lt;/p&gt;

&lt;p&gt;As a developer, you read and write code — and lots of it. It might feel like it is the only thing that matters in our profession as we improve and become better.&lt;/p&gt;

&lt;p&gt;But, more things matter when we want to become more productive and better at what we do.&lt;/p&gt;

&lt;p&gt;In this article, I will share 20 tips that boosted my productivity and well-being as a developer big time and might work for you too.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Keep your work environment clean
&lt;/h2&gt;

&lt;p&gt;A clean working environment grants peace of mind and can make you more productive (there have been &lt;a href="https://www.researchgate.net/publication/327022122_Impact_of_cleanliness_on_the_productivity_of_employees" rel="noopener noreferrer"&gt;studies&lt;/a&gt;).&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Use tools that fit &lt;strong&gt;your&lt;/strong&gt; needs
&lt;/h2&gt;

&lt;p&gt;This might sound obvious, but still: use the right tools that work for &lt;strong&gt;you&lt;/strong&gt;, rather than for someone else.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Review the code of others
&lt;/h2&gt;

&lt;p&gt;Reviewing the code of other developers keeps you sharp and you might even learn new ways of doing things (or &lt;strong&gt;not&lt;/strong&gt; doing things).&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Drink your cup of coffee at the right moments
&lt;/h2&gt;

&lt;p&gt;Coffee contains caffeine, which increases mental alertness. Rather than drinking a cup before going to bed, drink one when you aim to focus for 1-2 hours on a complex piece of code.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Get more familiar with version control
&lt;/h2&gt;

&lt;p&gt;We all know how to commit, pull and push, but there is more: you can never be too good at it, and it's a crucial aspect of the profession.&lt;/p&gt;

&lt;h2&gt;
  
  
  6. Make sure you know the basics
&lt;/h2&gt;

&lt;p&gt;More than often, it all comes down to the basics. Make sure you know it and that you can explain it to others (which is a sign of mastery). Basic knowledge of a language might fade, especially when using a framework.&lt;/p&gt;

&lt;h2&gt;
  
  
  7. Get good at communication
&lt;/h2&gt;

&lt;p&gt;Communication is key. Working in a team or with a client? Make sure to communicate properly and avoid making assumptions about whether someone knows a thing that you know.&lt;/p&gt;

&lt;h2&gt;
  
  
  8. Write your tests
&lt;/h2&gt;

&lt;p&gt;As Gandalf once said, &lt;em&gt;"one should never underestimate the power of a tested codebase"&lt;/em&gt;. No, but seriously — it grants great stability and might save you a lot of debugging time in the future.&lt;/p&gt;

&lt;h2&gt;
  
  
  9. Use communities
&lt;/h2&gt;

&lt;p&gt;We all know how to copy and paste an error in the Google search bar and click the first Stack Overflow link that pops up. But, sometimes, asking the question yourself in a community might get you a faster, and often better answer that fits your case.&lt;/p&gt;

&lt;h2&gt;
  
  
  10. Write comments where needed
&lt;/h2&gt;

&lt;p&gt;Your code might be quite complex and hard to read, even though you tried your best and the variable names are close to perfect. In this case, &lt;strong&gt;elaborate on it&lt;/strong&gt; using comments. There is nothing worse than working in a complex codebase with zero comments.&lt;/p&gt;

&lt;h2&gt;
  
  
  11. Stop distracting yourself
&lt;/h2&gt;

&lt;p&gt;Reflect on what distracts you during the day. Maybe your phone, a co-worker, or the &lt;code&gt;#general&lt;/code&gt; channel on Slack. Whatever it is, try to avoid it when you want to get things done.&lt;/p&gt;

&lt;h2&gt;
  
  
  12. Trust the people you work with
&lt;/h2&gt;

&lt;p&gt;Have confidence in your team and the people you work with. They were hired for their expertise, just like you. If you trust them, they will trust you.&lt;/p&gt;

&lt;h2&gt;
  
  
  13. Never ship right before the weekend
&lt;/h2&gt;

&lt;p&gt;Seriously, &lt;strong&gt;don't&lt;/strong&gt; (unless you like to solve a lot of problems on your weekends).&lt;/p&gt;

&lt;h2&gt;
  
  
  14. Learn more about design patterns
&lt;/h2&gt;

&lt;p&gt;Design patterns distinguish working code from good code. Learn more about design patterns that apply to your development stack.&lt;/p&gt;

&lt;h2&gt;
  
  
  15. Look for &amp;amp; solve problems early
&lt;/h2&gt;

&lt;p&gt;Never let (code and non-code-related) problems escalate or exist without being seen. Look for issues early and tackle them as soon as possible.&lt;/p&gt;

&lt;h2&gt;
  
  
  16. Save useful resources
&lt;/h2&gt;

&lt;p&gt;Saving useful resources, such as articles, guides, tools or repositories will greatly improve your productivity and knowledeg in the long run. I use &lt;a href="https://larstw98.gumroad.com/l/notion-developer-reading-list-template?layout=profile" rel="noopener noreferrer"&gt;this Notion template&lt;/a&gt; for saving everything 🚀&lt;/p&gt;

&lt;h2&gt;
  
  
  17. Aim for functionality, not perfection
&lt;/h2&gt;

&lt;p&gt;No one is perfect: and neither is your code. Aim for functional code, rather than trying to make it perfect. If it's functional, you can always improve it to make it better later on, but know when to leave it as it is.&lt;/p&gt;

&lt;h2&gt;
  
  
  18. Plans &lt;strong&gt;are&lt;/strong&gt; allowed to change
&lt;/h2&gt;

&lt;p&gt;It is normal for a plan to change during execution. If something doesn't work as what initially looked like it would, don't hesitate: adapt to the situation and re-plan.&lt;/p&gt;

&lt;h2&gt;
  
  
  19. There is no 'best' way to write code
&lt;/h2&gt;

&lt;p&gt;The implementation of a function can be different while it gives the same result. When something works, it works. Don't be too hard on yourself.&lt;/p&gt;

&lt;h2&gt;
  
  
  20. Avoid bad posture and RSI
&lt;/h2&gt;

&lt;p&gt;I don't see this advice very often, but it's too important to leave it out of this list. You only have one body, so be careful with it. As a developer, most of your time will be spent seated behind a keyboard and monitor. &lt;strong&gt;Watch your posture&lt;/strong&gt; and don't sit down for hours. Stand up every 30 - 50 minutes (or even more often) to get yourself a drink or walk a small distance.&lt;/p&gt;

&lt;h2&gt;
  
  
  Bonus: work hard, but enjoy your profession
&lt;/h2&gt;

&lt;p&gt;Many people tend to work very hard but forget about the most important thing of all: you should enjoy what you do. Not every aspect of being a developer might be as fun as the other but focus on the initial reason and things that made you choose to do this profession.&lt;/p&gt;

&lt;h2&gt;
  
  
  Afterword
&lt;/h2&gt;

&lt;p&gt;I know that this list isn't very code orientated and doesn't contain any code snippets. But, after I've been doing development for years in my free time and as a full-time job, these things are incredibly important for me to stick to staying productive and motivated. There are many pieces of advice and reminders that I would like to share, but that's something for later. I hope that at least one of these tips might help you in you and thank you for reading 🙂&lt;/p&gt;

&lt;p&gt;Thanks,&lt;/p&gt;

&lt;p&gt;Lars&lt;/p&gt;

</description>
      <category>programming</category>
      <category>career</category>
      <category>productivity</category>
      <category>motivation</category>
    </item>
  </channel>
</rss>
