{
    "version": "https://jsonfeed.org/version/1.1",
    "title": "Rias.be",
    "home_page_url": "https://rias.be",
    "feed_url": "https://rias.be/feed.json",
    "language": "en-BE",
    "icon": "/assets/social.png",
    "items": [{
            "id": "https://rias.be/blog/adding-text-to-an-image-using-php-and-imagick",
            "title": "Adding text to an image using PHP and Imagick",
            "url": "https://rias.be/blog/adding-text-to-an-image-using-php-and-imagick",
            "content_html": "<p>Just like my <a href=\"/blog/adding-text-to-an-image-using-php-and-gd\">previous article</a> on adding text to an image using GD, this is how to add that same text using Imagick instead</p>",
            "summary": "<p>Just like my <a href=\"/blog/adding-text-to-an-image-using-php-and-gd\">previous article</a> on adding text to an image using GD, this is how to add that same text using Imagick instead</p>",
            "date_published": "2024-03-05T00:00:00+00:00",
            "date_modified": "2024-03-05T00:00:00+00:00",
            "authors": [{ "name": "Rias Van der Veken" }],
            "tags": [ "indigo" ]
        },
        {
            "id": "https://rias.be/blog/adding-text-to-an-image-using-php-and-gd",
            "title": "Adding text to an image using PHP and GD",
            "url": "https://rias.be/blog/adding-text-to-an-image-using-php-and-gd",
            "content_html": "<p>There might be many reasons you need to add text on top of an existing image. The main reason for me was to add the title of a post, on top of a \"template\" background image to generate SEO images.</p>",
            "summary": "<p>There might be many reasons you need to add text on top of an existing image. The main reason for me was to add the title of a post, on top of a \"template\" background image to generate SEO images.</p>",
            "date_published": "2024-03-01T00:00:00+00:00",
            "date_modified": "2024-03-01T00:00:00+00:00",
            "authors": [{ "name": "Rias Van der Veken" }],
            "tags": [ "indigo" ]
        },
        {
            "id": "https://rias.be/blog/adding-stale-while-revalidate-functionality-to-laravels-cache",
            "title": "Adding &quot;Stale While Revalidate&quot; functionality to Laravel&#039;s Cache",
            "url": "https://rias.be/blog/adding-stale-while-revalidate-functionality-to-laravels-cache",
            "content_html": "<p>Stale While Revalidate (SWR) is a strategy to first return the data from the cache (stale), then send the fetch request (revalidate), and finally come up with the up-to-date data.</p>",
            "summary": "<p>Stale While Revalidate (SWR) is a strategy to first return the data from the cache (stale), then send the fetch request (revalidate), and finally come up with the up-to-date data.</p>",
            "date_published": "2023-11-09T00:00:00+00:00",
            "date_modified": "2023-11-09T00:00:00+00:00",
            "authors": [{ "name": "Rias Van der Veken" }],
            "tags": [ "red" ]
        },
        {
            "id": "https://rias.be/blog/configure-laravel-to-use-immutable-dates-by-default",
            "title": "Configure Laravel to use Immutable dates by default",
            "url": "https://rias.be/blog/configure-laravel-to-use-immutable-dates-by-default",
            "content_html": "<p>By default, Laravel uses <code>Carbon</code> for dates, but the object returned by the <code>\\Illuminate\\Support\\Facades\\Date</code> helper is mutable.</p>",
            "summary": "<p>By default, Laravel uses <code>Carbon</code> for dates, but the object returned by the <code>\\Illuminate\\Support\\Facades\\Date</code> helper is mutable.</p>",
            "date_published": "2023-09-29T00:00:00+00:00",
            "date_modified": "2023-09-29T00:00:00+00:00",
            "authors": [{ "name": "Rias Van der Veken" }],
            "tags": [ "red" ]
        },
        {
            "id": "https://rias.be/blog/tailing-multiple-laravel-logs-with-envoy",
            "title": "Tailing multiple Laravel logs with Envoy",
            "url": "https://rias.be/blog/tailing-multiple-laravel-logs-with-envoy",
            "content_html": "<p>When you have deployed your Laravel application across multiple servers, for example when running multiple workers, you can run into a situation where you need to quickly tail the log to see what is going on.</p>",
            "summary": "<p>When you have deployed your Laravel application across multiple servers, for example when running multiple workers, you can run into a situation where you need to quickly tail the log to see what is going on.</p>",
            "date_published": "2022-12-12T00:00:00+00:00",
            "date_modified": "2022-12-12T00:00:00+00:00",
            "authors": [{ "name": "Rias Van der Veken" }],
            "tags": [ "red" ]
        },
        {
            "id": "https://rias.be/blog/adding-cors-headers-to-laravel-valet",
            "title": "Adding CORS headers to Laravel Valet",
            "url": "https://rias.be/blog/adding-cors-headers-to-laravel-valet",
            "content_html": "<p>When working on a project with subdomains, you can run into CORS issues locally when using Laravel Valet when your assets are on the main domain.</p>",
            "summary": "<p>When working on a project with subdomains, you can run into CORS issues locally when using Laravel Valet when your assets are on the main domain.</p>",
            "date_published": "2022-11-23T00:00:00+00:00",
            "date_modified": "2022-11-23T00:00:00+00:00",
            "authors": [{ "name": "Rias Van der Veken" }],
            "tags": [ "red" ]
        },
        {
            "id": "https://rias.be/blog/keep-your-filament-admin-dashboard-fast-by-lazy-loading-widgets",
            "title": "Keep your Filament admin dashboard fast by lazy loading widgets",
            "url": "https://rias.be/blog/keep-your-filament-admin-dashboard-fast-by-lazy-loading-widgets",
            "content_html": "<p><a target=\"_blank\" href=\"https://filamentphp.com/\">Filament</a> is a great admin panel for Laravel built with Livewire, one of its features is creating <a target=\"_blank\" href=\"https://filamentphp.com/docs/2.x/admin/dashboard/getting-started\">dashboard widgets</a> to get quick stats of your application.</p>",
            "summary": "<p><a target=\"_blank\" href=\"https://filamentphp.com/\">Filament</a> is a great admin panel for Laravel built with Livewire, one of its features is creating <a target=\"_blank\" href=\"https://filamentphp.com/docs/2.x/admin/dashboard/getting-started\">dashboard widgets</a> to get quick stats of your application.</p>",
            "date_published": "2022-11-07T00:00:00+00:00",
            "date_modified": "2022-11-07T00:00:00+00:00",
            "authors": [{ "name": "Rias Van der Veken" }],
            "tags": [ "yellow" ]
        },
        {
            "id": "https://rias.be/blog/wildcard-subdomain-ssl-certificates-with-let-s-encrypt-and-bunny-dns",
            "title": "Wildcard subdomain SSL certificates with Let&#039;s Encrypt and Bunny DNS",
            "url": "https://rias.be/blog/wildcard-subdomain-ssl-certificates-with-let-s-encrypt-and-bunny-dns",
            "content_html": "<p>Creating wildcard subdomain SSL certificates isn't that straightforward with Let's encrypt as a normal SSL certificate. As you need to prove you own the full domain before you can issue a certificate.</p>",
            "summary": "<p>Creating wildcard subdomain SSL certificates isn't that straightforward with Let's encrypt as a normal SSL certificate. As you need to prove you own the full domain before you can issue a certificate.</p>",
            "date_published": "2022-11-01T00:00:00+00:00",
            "date_modified": "2022-11-01T00:00:00+00:00",
            "authors": [{ "name": "Rias Van der Veken" }],
            "tags": [ "orange" ]
        },
        {
            "id": "https://rias.be/blog/encrypting-laravel-eloquent-models-with-ciphersweet",
            "title": "Encrypting Laravel Eloquent models with CipherSweet",
            "url": "https://rias.be/blog/encrypting-laravel-eloquent-models-with-ciphersweet",
            "content_html": "<p>In your project, you might store some sensitive personal or credential data in your database. Should an unauthorised person get access to your DB, all this sensitive can be read.</p><p>To solve this problem, you can encrypt the data. This way, unauthorised persons cannot read it, but your application can still decrypt it when you need to display or work with the data.</p>",
            "summary": "<p>In your project, you might store some sensitive personal or credential data in your database. Should an unauthorised person get access to your DB, all this sensitive can be read.</p><p>To solve this problem, you can encrypt the data. This way, unauthorised persons cannot read it, but your application can still decrypt it when you need to display or work with the data.</p>",
            "date_published": "2022-07-01T00:00:00+00:00",
            "date_modified": "2022-07-01T00:00:00+00:00",
            "authors": [{ "name": "Rias Van der Veken" }],
            "tags": [ "red" ]
        },
        {
            "id": "https://rias.be/blog/highlighting-code-using-sidecar-and-shiki",
            "title": "Highlighting code using Sidecar &amp; Shiki",
            "url": "https://rias.be/blog/highlighting-code-using-sidecar-and-shiki",
            "content_html": "<p><a href=\"https://github.com/shikijs/shiki\">Shiki</a>Â is a beautiful syntax highlighter powered by the same language engine that many code editors use. We've just released a package that allows you to runÂ <a href=\"https://github.com/shikijs/shiki\">Shiki</a>Â on AWS Lambda throughÂ <a href=\"https://github.com/hammerstonedev/sidecar\">Sidecar</a>.</p><p>You won't need to install Node, or any of Shiki's dependencies, on your server.</p>",
            "summary": "<p><a href=\"https://github.com/shikijs/shiki\">Shiki</a>Â is a beautiful syntax highlighter powered by the same language engine that many code editors use. We've just released a package that allows you to runÂ <a href=\"https://github.com/shikijs/shiki\">Shiki</a>Â on AWS Lambda throughÂ <a href=\"https://github.com/hammerstonedev/sidecar\">Sidecar</a>.</p><p>You won't need to install Node, or any of Shiki's dependencies, on your server.</p>",
            "date_published": "2022-06-27T00:00:00+00:00",
            "date_modified": "2022-06-27T00:00:00+00:00",
            "authors": [{ "name": "Rias Van der Veken" }],
            "tags": [ "red" ]
        },
        {
            "id": "https://rias.be/blog/laravel-package-to-onboard-your-users",
            "title": "A Laravel package to onboard your users",
            "url": "https://rias.be/blog/laravel-package-to-onboard-your-users",
            "content_html": "<p>Onboarding your users is one of the most important things you can do in your SaaS or application. After all, first impressions matter!</p>",
            "summary": "<p>Onboarding your users is one of the most important things you can do in your SaaS or application. After all, first impressions matter!</p>",
            "date_published": "2022-06-21T00:00:00+00:00",
            "date_modified": "2022-06-21T00:00:00+00:00",
            "authors": [{ "name": "Rias Van der Veken" }],
            "tags": [ "red" ]
        },
        {
            "id": "https://rias.be/blog/improved-laravel-blade-support-in-statamic-3-3",
            "title": "Improved Laravel Blade support in Statamic 3.3",
            "url": "https://rias.be/blog/improved-laravel-blade-support-in-statamic-3-3",
            "content_html": "<p>Statamic 3.3 has added some additional improvements to their Blade templates support, which makes using Statamic together with Laravel's native Blade templates truly a joy to work with.</p>",
            "summary": "<p>Statamic 3.3 has added some additional improvements to their Blade templates support, which makes using Statamic together with Laravel's native Blade templates truly a joy to work with.</p>",
            "date_published": "2022-03-10T00:00:00+00:00",
            "date_modified": "2022-03-10T00:00:00+00:00",
            "authors": [{ "name": "Rias Van der Veken" }],
            "tags": [ "pink" ]
        },
        {
            "id": "https://rias.be/blog/mocking-browsershot-for-faster-tests",
            "title": "Mocking Browsershot for faster tests",
            "url": "https://rias.be/blog/mocking-browsershot-for-faster-tests",
            "content_html": "<p><a target=\"_blank\" href=\"https://github.com/spatie/browsershot\">Spatie's Browsershot</a> is a wonderful package that uses puppeteer to render a web page to transform it into an image or PDF. Having this functionality covered by tests generally requires you to install puppeteer in your CI environment and can slow down your tests a lot.</p>",
            "summary": "<p><a target=\"_blank\" href=\"https://github.com/spatie/browsershot\">Spatie's Browsershot</a> is a wonderful package that uses puppeteer to render a web page to transform it into an image or PDF. Having this functionality covered by tests generally requires you to install puppeteer in your CI environment and can slow down your tests a lot.</p>",
            "date_published": "2022-03-02T00:00:00+00:00",
            "date_modified": "2022-03-02T00:00:00+00:00",
            "authors": [{ "name": "Rias Van der Veken" }],
            "tags": [ "red" ]
        },
        {
            "id": "https://rias.be/blog/running-phpunit-tests-in-parallel-using-github-actions",
            "title": "Running PHPUnit tests in parallel using GitHub actions",
            "url": "https://rias.be/blog/running-phpunit-tests-in-parallel-using-github-actions",
            "content_html": "<p>One of our projects has a really large test suite that isn't optimised to run with Laravel's parallel testing. It was starting to take more than 15 minutes to have the whole test suite run inside Github Actions, which is when I searched for a better way to do this.</p>",
            "summary": "<p>One of our projects has a really large test suite that isn't optimised to run with Laravel's parallel testing. It was starting to take more than 15 minutes to have the whole test suite run inside Github Actions, which is when I searched for a better way to do this.</p>",
            "date_published": "2022-03-02T00:00:00+00:00",
            "date_modified": "2022-03-02T00:00:00+00:00",
            "authors": [{ "name": "Rias Van der Veken" }],
            "tags": [ "purple" ]
        },
        {
            "id": "https://rias.be/blog/correctly-highlighting-code-using-shiki-php",
            "title": "Correctly highlighting code using Shiki &amp; PHP",
            "url": "https://rias.be/blog/correctly-highlighting-code-using-shiki-php",
            "content_html": "<p>Highlighting code blocks <strong>correctly</strong> on your website is a more difficult problem to solve than you'd expect. There are many great solutions like Prism or Highlight.js, but they often have difficulty with newer syntax. Inspired by <a target=\"_blank\" href=\"https://miguelpiedrafita.com/vscode-highlighting\">Miguel</a>'s blogpost, I set out to create a PHP wrapper around Shiki to do just that.</p>",
            "summary": "<p>Highlighting code blocks <strong>correctly</strong> on your website is a more difficult problem to solve than you'd expect. There are many great solutions like Prism or Highlight.js, but they often have difficulty with newer syntax. Inspired by <a target=\"_blank\" href=\"https://miguelpiedrafita.com/vscode-highlighting\">Miguel</a>'s blogpost, I set out to create a PHP wrapper around Shiki to do just that.</p>",
            "date_published": "2021-07-11T00:00:00+00:00",
            "date_modified": "2021-07-11T00:00:00+00:00",
            "authors": [{ "name": "Rias Van der Veken" }],
            "tags": [ "red" ]
        },
        {
            "id": "https://rias.be/blog/using-laravel-parallel-testing-inside-your-package-tests",
            "title": "Using Laravel&#039;s parallel testing inside your package tests",
            "url": "https://rias.be/blog/using-laravel-parallel-testing-inside-your-package-tests",
            "content_html": "<p>Laravel recently added <a target=\"_blank\" href=\"https://blog.laravel.com/laravel-parallel-testing-is-now-available\">parallel testing</a> to the framework using the <a target=\"_blank\" href=\"https://github.com/paratestphp/paratest\">Paratest</a> package which runs PHPUnit in separate parallel processes. Adding support for this in your own package tests is pretty straightforward using orchestral/testbench.</p>",
            "summary": "<p>Laravel recently added <a target=\"_blank\" href=\"https://blog.laravel.com/laravel-parallel-testing-is-now-available\">parallel testing</a> to the framework using the <a target=\"_blank\" href=\"https://github.com/paratestphp/paratest\">Paratest</a> package which runs PHPUnit in separate parallel processes. Adding support for this in your own package tests is pretty straightforward using orchestral/testbench.</p>",
            "date_published": "2021-03-23T00:00:00+00:00",
            "date_modified": "2021-03-23T00:00:00+00:00",
            "authors": [{ "name": "Rias Van der Veken" }],
            "tags": [ "red" ]
        },
        {
            "id": "https://rias.be/blog/responsive-art-direction-in-statamic",
            "title": "Responsive Art direction in Statamic",
            "url": "https://rias.be/blog/responsive-art-direction-in-statamic",
            "content_html": "<p>Art direction <a target=\"_blank\" href=\"https://alistapart.com/article/art-direction-and-design/\">is nothing new</a>, though there hasn't been an easy way to do it with most CMSs yet. Statamic, with the help of the <a target=\"_blank\" href=\"https://statamic.com/addons/spatie/responsive-images\">spatie/statamic-responsive-images</a> addon now offers an author- and developer-friendly way doing Art Direction with images.</p>",
            "summary": "<p>Art direction <a target=\"_blank\" href=\"https://alistapart.com/article/art-direction-and-design/\">is nothing new</a>, though there hasn't been an easy way to do it with most CMSs yet. Statamic, with the help of the <a target=\"_blank\" href=\"https://statamic.com/addons/spatie/responsive-images\">spatie/statamic-responsive-images</a> addon now offers an author- and developer-friendly way doing Art Direction with images.</p>",
            "date_published": "2021-02-05T00:00:00+00:00",
            "date_modified": "2021-02-05T00:00:00+00:00",
            "authors": [{ "name": "Rias Van der Veken" }],
            "tags": [ "pink" ]
        },
        {
            "id": "https://rias.be/blog/using-composer-patches",
            "title": "Using composer patches",
            "url": "https://rias.be/blog/using-composer-patches",
            "content_html": "<p>When you use software that is open source, you'll sometimes run into issues or small bugs that have already been fixed by the community in a PR or an issue, but have yet to be merged and/or released. If you're impatient and need that fix now, composer patches can be a solution for this problem.</p>",
            "summary": "<p>When you use software that is open source, you'll sometimes run into issues or small bugs that have already been fixed by the community in a PR or an issue, but have yet to be merged and/or released. If you're impatient and need that fix now, composer patches can be a solution for this problem.</p>",
            "date_published": "2021-02-03T00:00:00+00:00",
            "date_modified": "2021-02-03T00:00:00+00:00",
            "authors": [{ "name": "Rias Van der Veken" }],
            "tags": [ "purple" ]
        },
        {
            "id": "https://rias.be/blog/using-laravel-blade-with-statamic",
            "title": "Using Laravel Blade with Statamic",
            "url": "https://rias.be/blog/using-laravel-blade-with-statamic",
            "content_html": "<p>Statamic v3 has added support for <a target=\"_blank\" href=\"https://statamic.dev/template-engines\">other template languages</a> in addition to their own \"Antlers\" templating language. Recently when creating a new website for one of our clients, we ran into some performance issues with Antlers. This really only happens when you have a large amount of partials and big templates, since Antlers does all its parsing & rendering on the fly with Regex.</p>",
            "summary": "<p>Statamic v3 has added support for <a target=\"_blank\" href=\"https://statamic.dev/template-engines\">other template languages</a> in addition to their own \"Antlers\" templating language. Recently when creating a new website for one of our clients, we ran into some performance issues with Antlers. This really only happens when you have a large amount of partials and big templates, since Antlers does all its parsing & rendering on the fly with Regex.</p>",
            "date_published": "2020-12-21T00:00:00+00:00",
            "date_modified": "2020-12-21T00:00:00+00:00",
            "authors": [{ "name": "Rias Van der Veken" }],
            "tags": [ "red" ]
        },
        {
            "id": "https://rias.be/blog/deploying-a-statamic-3-site-to-netlify",
            "title": "Deploying a Statamic site to Netlify",
            "url": "https://rias.be/blog/deploying-a-statamic-3-site-to-netlify",
            "content_html": "<p>Deploying a Statamic v3 site to Netlify using Statamic's SSG addon.</p>",
            "summary": "<p>Deploying a Statamic v3 site to Netlify using Statamic's SSG addon.</p>",
            "date_published": "2020-04-07T00:00:00+00:00",
            "date_modified": "2020-04-07T00:00:00+00:00",
            "authors": [{ "name": "Rias Van der Veken" }],
            "tags": [ "pink" ]
        },
        {
            "id": "https://rias.be/blog/storing-and-retrieving-webmentions-with-firebase",
            "title": "Storing and retrieving webmentions with Firebase",
            "url": "https://rias.be/blog/storing-and-retrieving-webmentions-with-firebase",
            "content_html": "<p>I've recently transformed my Statamic powered site into a statically hosted version, mostly because services like Netlify and Firebase offer free hosting for static files, which means I don't need to manage and pay for my own server. The only dynamic piece that was missing was a way for people to react or comment to my blog entries.</p>",
            "summary": "<p>I've recently transformed my Statamic powered site into a statically hosted version, mostly because services like Netlify and Firebase offer free hosting for static files, which means I don't need to manage and pay for my own server. The only dynamic piece that was missing was a way for people to react or comment to my blog entries.</p>",
            "date_published": "2019-10-07T00:00:00+00:00",
            "date_modified": "2019-10-07T00:00:00+00:00",
            "authors": [{ "name": "Rias Van der Veken" }],
            "tags": [ "yellow" ]
        },
        {
            "id": "https://rias.be/blog/deploying-a-statamic-site-to-netlify",
            "title": "Deploying a Statamic v2 site to Netlify",
            "url": "https://rias.be/blog/deploying-a-statamic-site-to-netlify",
            "content_html": "<p>My personal website & blog has been hosted on a DigitalOcean droplet for years, but recently I've been trying to move away from hosting and managing my own server.</p>",
            "summary": "<p>My personal website & blog has been hosted on a DigitalOcean droplet for years, but recently I've been trying to move away from hosting and managing my own server.</p>",
            "date_published": "2019-09-16T00:00:00+00:00",
            "date_modified": "2019-09-16T00:00:00+00:00",
            "authors": [{ "name": "Rias Van der Veken" }],
            "tags": [ "pink" ]
        },
        {
            "id": "https://rias.be/blog/creating-a-statamic-site-helper-for-laravel-mix",
            "title": "Creating a Statamic site helper for Laravel Mix",
            "url": "https://rias.be/blog/creating-a-statamic-site-helper-for-laravel-mix",
            "content_html": "<p>Laravel Mix isnât provided by default in Statamic v2, in this short post Iâll show you how to create a quick site helper to read the mix-manifest.json and output versioned assets.</p>",
            "summary": "<p>Laravel Mix isnât provided by default in Statamic v2, in this short post Iâll show you how to create a quick site helper to read the mix-manifest.json and output versioned assets.</p>",
            "date_published": "2019-07-31T00:00:00+00:00",
            "date_modified": "2019-07-31T00:00:00+00:00",
            "authors": [{ "name": "Rias Van der Veken" }],
            "tags": [ "pink" ]
        },
        {
            "id": "https://rias.be/blog/a-colorful-statamic-addon",
            "title": "A colorful Statamic Addon",
            "url": "https://rias.be/blog/a-colorful-statamic-addon",
            "content_html": "<p>Clients and content editors often want a lot of choices and make everything customizable to fit their style or the content.</p>",
            "summary": "<p>Clients and content editors often want a lot of choices and make everything customizable to fit their style or the content.</p>",
            "date_published": "2019-07-17T00:00:00+00:00",
            "date_modified": "2019-07-17T00:00:00+00:00",
            "authors": [{ "name": "Rias Van der Veken" }],
            "tags": [ "pink" ]
        },
        {
            "id": "https://rias.be/blog/going-serverless-with-hugo-and-netlify",
            "title": "Going serverless with Hugo and Netlify",
            "url": "https://rias.be/blog/going-serverless-with-hugo-and-netlify",
            "content_html": "<p>I recently worked on the new Spatie docs website. We moved our site from a Digital Ocean server to Netlify, a serverless platform.</p>",
            "summary": "<p>I recently worked on the new Spatie docs website. We moved our site from a Digital Ocean server to Netlify, a serverless platform.</p>",
            "date_published": "2019-07-09T00:00:00+00:00",
            "date_modified": "2019-07-09T00:00:00+00:00",
            "authors": [{ "name": "Rias Van der Veken" }],
            "tags": [ "green" ]
        },
        
    ]
}
