<?xml version="1.0" encoding="utf-8" ?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
    <channel>
        <title>Stidges&#039; Blog</title>
        <link>https://stidges.com</link>
        <atom:link href="https://stidges.com/feed.xml" rel="self" type="application/rss+xml"></atom:link>
        <description>Blog by Stidges - Blogging about Laravel, modern PHP, JavaScript and other development related subjects</description>
        <language>en-us</language>
        <lastBuildDate>Sun, 17 May 2020 21:34:50 +0000</lastBuildDate>
        <item>
            <title>Blog</title>
            <link>https://stidges.com</link>
            <guid isPermaLink="true">https://stidges.com</guid>
            <description>Browse all blog posts</description>
            <pubDate>Mon, 15 Apr 2019 12:36:50 +0000</pubDate>
        </item>
        <item>
            <title>About</title>
            <link>https://stidges.com/about</link>
            <guid isPermaLink="true">https://stidges.com/about</guid>
            <description>About me</description>
            <pubDate>Mon, 15 Apr 2019 10:31:50 +0000</pubDate>
        </item>
        <item>
            <title>Reusable Validation Rules with Laravel Form Requests</title>
            <link>https://stidges.com/reusable-validation-rules-with-laravel-form-requests</link>
            <guid isPermaLink="true">https://stidges.com/reusable-validation-rules-with-laravel-form-requests</guid>
            <description><![CDATA[Currently I'm working on a project with a lot of forms that have repeated form fields. For example, pretty much all entities in the system can have attachments, so a lot of forms contain the same attachment fields. I could repeat the same validation rules in all form request classes, but this quickly breaks down. What if the rules for attachments change? Let's see how we can handle this more efficiently.]]></description>
            <pubDate>Mon, 01 Jan 2018 16:30:00 +0000</pubDate>
        </item>
        <item>
            <title>Testing Your Laravel Middleware</title>
            <link>https://stidges.com/testing-your-laravel-middleware</link>
            <guid isPermaLink="true">https://stidges.com/testing-your-laravel-middleware</guid>
            <description><![CDATA[While working on an application I wanted to test my middleware. When doing some investigation on this issue I didn't find any satisfying solutions, most involved manually creating a Symfony request object or mocking the request entirely.]]></description>
            <pubDate>Sat, 16 Sep 2017 21:27:00 +0000</pubDate>
        </item>
        <item>
            <title>Writing an Allowed Username Validator in Laravel</title>
            <link>https://stidges.com/writing-an-allowed-username-validator-in-laravel</link>
            <guid isPermaLink="true">https://stidges.com/writing-an-allowed-username-validator-in-laravel</guid>
            <description><![CDATA[When building a project that requires top-level public user profiles, you will have to find a way to prevent the usernames from clashing with public URLs or files. If you don't do this, it's only a matter of time before someone signs up with the username 'logout' and make everyone who clicks on the profile link logout of their account. Here's a solution that I came up with that allows you to build it once and forget about it for the rest of the project lifetime.]]></description>
            <pubDate>Fri, 10 Mar 2017 19:23:00 +0000</pubDate>
        </item>
        <item>
            <title>Easy Bootstrap Forms in Laravel</title>
            <link>https://stidges.com/easy-bootstrap-forms-in-laravel</link>
            <guid isPermaLink="true">https://stidges.com/easy-bootstrap-forms-in-laravel</guid>
            <description><![CDATA[When you are working with Bootstrap in Laravel, the extra div's that are required to format the form properly can really get in the way of the readability of your template. In this post we take a look at how to make it easier to manage your Bootstrap-based forms.]]></description>
            <pubDate>Sun, 27 Jul 2014 14:01:00 +0000</pubDate>
        </item>
        <item>
            <title>Upgrading Legacy Passwords With Laravel</title>
            <link>https://stidges.com/upgrading-legacy-passwords-with-laravel</link>
            <guid isPermaLink="true">https://stidges.com/upgrading-legacy-passwords-with-laravel</guid>
            <description><![CDATA[I recently began to rebuild a legacy application using Laravel. I soon ran into a problem: the passwords stored in the database were using an old SHA hashing mechanism. I didn't want to bother existing users to enter a new password, so I wanted to easily upgrade the passwords without causing these users any trouble. The problem is that you can't backtrack their passwords, so just rehashing them isn't an option. How do you go about doing this? Let me show you what I came up with.]]></description>
            <pubDate>Mon, 14 Apr 2014 14:00:00 +0000</pubDate>
        </item>
        <item>
            <title>Implementing A Page View Counter In Laravel</title>
            <link>https://stidges.com/implementing-a-page-view-counter-in-laravel</link>
            <guid isPermaLink="true">https://stidges.com/implementing-a-page-view-counter-in-laravel</guid>
            <description><![CDATA[Implementing a page view counter into your Laravel application seems like the easiest job at first. Just add a column in your database with the current view count and increment that on every page load, right? Well, there's a little more to it: This will cause the counter to increment on every page load, even when the user refreshes the page or subsequently visits the page in a short amount of time. This usually isn't the desired behavior, so let's look into solving this issue. In particular, we will be making use of Events and Route Filters to achieve this. Let's walk through the process of creating this using an incremental approach.]]></description>
            <pubDate>Sun, 16 Mar 2014 13:56:00 +0000</pubDate>
        </item>
        <item>
            <title>Extending The Connection Class In Laravel</title>
            <link>https://stidges.com/extending-the-connection-class-in-laravel</link>
            <guid isPermaLink="true">https://stidges.com/extending-the-connection-class-in-laravel</guid>
            <description><![CDATA[Sometimes you may wish to extend the database Connection class in Laravel. Maybe you want to customize the internal workings. In my case I needed to alter the database results for every query, whether it's through the Fluent Query Builder or Eloquent. I needed to do this to make my package, Laravel DB Normalizer, work as smoothly as possible.]]></description>
            <pubDate>Fri, 14 Mar 2014 21:42:00 +0000</pubDate>
        </item>
    </channel>
</rss>
