Category: Laravel, PHP, git

Update Aug, 11: This post was well received on Reddit, so I added new anti-patterns to reflect the comments. I spotted common anti-patterns that I had to fix. This article is not about rewriting an old PHP application to , but about how to make it more maintainable and less of a hassle to work on.

Note that it is not recommended to use the package as is in production, it is better to either: Files that contained credentials can be purged from the Git history as shown here.

This is obviously incompatible with using a .env file or Composer as it is a bad idea to expose the vendor folder.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners