Recent Articles

How to fix Expired HTTPS Certificates with Laravel Valet (MacOs)

profile picture

Laravel Valet is awesome and it automatically set your local domains up with SSL certificates, so that you can use your local domain.test with https However, those certificates expire after some time and it's difficult to clean and or renew them...

- - - - - - - - - - - - - - -

Laravel Console Command to Automatically Restore a Backup from Spatie Laravel Backup Package

profile picture

spatie/laravel-backup is an amazing Laravel Package that allows you to automatically send backups of your laravel application to an AWS S3 Bucket. It's good practice to regularly trigger a "DB only" backup. What about automatic restore...

- - - - - - - - - - - - - - -

Laravel Valet - Too many parallel requests getting blocked

profile picture

I have this very specific project running in PHP 7.4 on my machine with Laravel Valet. It's a front end application in vuejs with a separate back end and they are communicating through an API. There's a page that makes a lot of requests in one g...

- - - - - - - - - - - - - - -

Repository pattern in PHP and Laravel

profile picture

TL;DR A repository is an interface-signed class that encapsulate all SQL queries in specific methods. The repository class is then injected into your controller methods using dependency injection. You use the class methods instead of running sql q...

- - - - - - - - - - - - - - -

LaravelPackages.net has been upgraded

profile picture

For the past weeks I've been working on a design overhaul of laravelpackages.net For those who don't know this website, it's a database of composer packages made for laravel. It's very useful when you are looking for a package and want to quickly...

- - - - - - - - - - - - - - -

Leverage Dependency Inversion In Laravel Package Development

profile picture

Last week end I started working on an external package for my startup . Even though it's still in Work In Progress, the goal of the package is to be able to create and manage Printable Document on which you precisely position texts and images. On...

- - - - - - - - - - - - - - -

Very Simple SQL Dump In Laravel

profile picture

Sometimes when you're working on a specific feature, or maybe a specific page of your website, or even a unit test, you're wondering about the SQL queries that are executed. Laravel Eloquent is great and all but it can be difficult to clearly see...

- - - - - - - - - - - - - - -

Super Simple Laravel Newsletter Subscribers System

profile picture

If you're building a website where you create content, or where your users post content (like a job board or something), then sometimes you might want to send an email to a list of users to let them know new content is available. An easy solution...

- - - - - - - - - - - - - - -

Releasing LaravelPackages.net - The Ultimate Laravel Packages Listing Website with Advanced Search Functionnality

profile picture

Whenever I start working on new application or a new feature, I wonder if someone from the Laravel Community already developed a package that I can use. And most of the time, the answer is yes . It's impossible to thanks the community enough for...

- - - - - - - - - - - - - - -

How To Log Eloquent Database Queries In Laravel

profile picture

Today I was trying to debug a big Eloquent Query in one of my Laravel Applications, and I couldn't understand what was the issue. I wrote a feature test and hit the route endpoint to trigger the controller's code, to check the values returned by t...

- - - - - - - - - - - - - - -

How to Deploy Laravel Application on Dev and Production Based on Different Branches With Laravel Envoy

profile picture

So my typical workflow when working on a client's application is to have a "dev" environment on my server, and the production environment is sometimes also on my server. I push my code on the branch "develop" of the project's g...

- - - - - - - - - - - - - - -

Dealing with Very Long Requests in Laravel

profile picture

Big headache problem that I encountered on some client's project, where I had to build a custom tool to import big ass excel files in the backoffice. When the excel is being imported, we erase everything in the database and insert every entry ag...

- - - - - - - - - - - - - - -

How To Localize Formatted Dates with Laravel And Carbon

profile picture

It's the second time in my carreer as a Laravel Developer that I had to struggle against this, so I decided to write the solution down for my future self 😅 First of all, here's what we are trying to achieve: now()->format('F'); // expected...

- - - - - - - - - - - - - - -

TOP 20 Most Essential Laravel Packages

profile picture

Looking for the TOP 10 Most Essential Laravel Nova Packages? Click here! Laravel is a well known PHP Framework, super popular, with thousands of extraordinary features. Each year, Taylor Otwell (the creator of Laravel) releases new tools and p...

- - - - - - - - - - - - - - -

How To Build An Efficient and SEO Friendly Multilingual Architecture in Laravel - UPDATED GUIDE

profile picture

This is a remastered version of my previous tutorials How To Build An Efficient and SEO Friendly Multilingual Architecture For Your Laravel Application and Laravel 5 And His F*cking non-persistent App SetLocale . This update was needed so we co...

- - - - - - - - - - - - - - -

about me

profile picture

I consider myself as an IT Business Artisan. Or Consultant CTO. I'm a self-taught Web Developper, coach and teacher. My main work is helping and guiding digital startups.

more about me

follow me

newsletter

A weekly email with the latests articles

support my work

Start trading on binance
  • BTC

    BTC

    18SY81ejLGFuJ9KMWQu5zPrDGuR5rDiauM

  • ETH

    ETH

    0x519e0eaa9bc83018bb306880548b79fc0794cd08

  • Monero

    XMR

    895bSneY4eoZjsr2hN2CAALkUrMExHEV5Pbg8TJb6ejnMLN7js1gLAXQySqbSbfzjWHQpQhQpvFtojbkdZQZmM9qCFz7BXU

2024 © My Dynamic Production SRL All rights Reserved.