Amit Merchant

Amit Merchant

A blog on PHP, JavaScript, and more

  • Articles
  • Projects
  • Uses
  • Art
  • About
  • Ctrl K
  • Search
Laravel PHP JavaScript Git React

How to pull GitHub repositories as Composer packages in PHP

September 19, 2020 — Sometimes there comes a scenario when you might want to pull the composer package’s GitHub repository as the composer package itself. This can be useful in situations where you want to upgrade something but because one of the dependencies is still not compatible with the current version of the software.

Read More ⟶ ⋆ Composer

How to use Laravel 7.x model factories in Laravel 8

September 18, 2020 — Laravel 8’s class-based model factories are great and I’ve written an entire article about what they are and how they are more feature-rich and useful than the traditional factories that we used to write prior to Laravel 8.

Read More ⟶ ⋆ Laravel

Prevent spammy form submissions by bots using this Honeypot technique in PHP

September 17, 2020 — In modern web applications, one of the pain points everyone faces at some point is spam submissions to forms by automated bots.

Read More ⟶ ⋆ PHP

How to use Laravel 7 style controller route definitions in Laravel 8

September 16, 2020 — One of the most prominent changes in Laravel 8 is the (kind of) new way of defining controller routes. Before Laravel 8, if you wanted to define a route, you could do it like so.

Read More ⟶ ⋆ Laravel

New RateLimiter facade for defining named rate limiters in Laravel 8

September 14, 2020 — In the previous versions of Laravel, up to 7.x, when you wanted to rate limit certain routes, you could do it by assigning the throttle middleware to the route or group of routes like so.

Read More ⟶ ⋆ Laravel

Class based model factories in Laravel 8

September 12, 2020 — The model factories in Laravel are a great way of seeding some fake data in the database for testing purposes which I’ve discussed in this article. While the previous implementation was great, Laravel 8 has given model factories a major overhaul and it makes them even better!

Read More ⟶ ⋆ Laravel

Access application in maintenance mode using a secret token in Laravel 8

September 11, 2020 — Apart from adding support for customizable maintenance mode views, Laravel 8 has also simplified the process of accessing the Laravel application in the maintenance mode.

Read More ⟶ ⋆ Laravel

Personalized maintenance mode views in Laravel 8

September 10, 2020 — When you put your Laravel application on maintenance mode using the php artisan down command, the default view for the same looks like following.

Read More ⟶ ⋆ Laravel

Dynamic blade components in Laravel 8

September 9, 2020 — With the release of Laravel 8, you can now render Blade components dynamically using a built-in component called dynamic-component.

Read More ⟶ ⋆ Laravel

My workflow for publishing articles

September 7, 2020 — After writing & publishing articles for about two years (consistently), I’ve sort of created a system when it comes to publishing an article. From ideation to hitting the publish button.

Read More ⟶ ⋆ Miscellaneous
« Prev 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 Next »

Download my eBook

PHP 8 in a Nutshell

Newsletter

By subscribing, you agree with Revue’s Terms of Service and Privacy Policy.

Follow me everywhere

My Tiny YouTube Channel ⟶ YouTube Icon

Recently Published

  • Natural debouncing using the useDeferredValue hook in React 18 NEW

  • The global faker helper in Laravel 9.x

  • Do cleanup from useEffect in React.js whenever possible

  • Plural strings based on the count in Laravel

  • Detecting slow database operations in Laravel 9.x

Top Categories

Laravel PHP JavaScript Miscellaneous CSS React Git Jekyll VS Code ➔
Home About Contact Categories Guestbook
Previous page Next page
Amit Merchant
About Contact Categories Guestbook
Copyright © 2022 — Amit Merchant