Bookmarks tagged 'code'
How to remove secrets from log with monolog | Parthenon The Symfony SaaS Boilerplate
Logging is a very important part of operating an application if you're unaware of what happened in your system you're unable to quickly and efficiently identify the issue. However, logging can open up some potential pitfalls.
A good example of using a log processor to filter out items from log processing (using PHP’s Monolog). One possible improvement, depending on the use case, would be to check the values against patterns that shouldn’t be logged, like GitHub tokens.
Trailing Slash for Frameworks - Bjorn Lu
This guide unravels the concepts and intricacies of [how to handle trailing slashes], with a focus for framework maintainers and library authors who want to understand trailing slash better and implement a consistent experience for everyone.
Good discussion, but also valuable are the tables of how various static page hosting sites handle them.
amacneil/dbmate: 🚀 A lightweight, framework-agnostic database migration tool.
A lightweight, framework-agnostic database migration tool
Written in Go. Can handle MySQL, PostgreSQL, SQLite, and ClickHouse, but it’s just applying migration files with SQL, there’s no support for migrations that talk to different databases.
Home Baked Abstractions, Store Bought Implementations | Hazel Weakly
Lots of people get caught up making change easy to do, but the real secret is actually making change easy to handle. The sooner and earlier you can get to a point where the N+1th iteration can be propagated out seamlessly everywhere, the sooner you start to win, cause then you can start shipping stuff knowing you can patch it up or extend it or modify it later.
There is a lot to chew on here and I will probably need to re-read a few more times.
php.hospital
A pragmatic approach to modernizing legacy PHP code
samoritano/linkedin-api-php-client: LinkedIn API PHP SDK with OAuth 2 support, with full support for Linkedin Marketing Api V2.
seems to be the most up-to-date fork of a client library for the LinkedIn API from php
ActivityPub support
GitLab exploring integration
Lessons Learned From Payments Startups
Over my career so far, I’ve worked in a number of payments companies, including several startups. At the last startup, I was involved in building out a payments platform from scratch (from first line of code). This post is a collection of thoughts and lessons learned. Hopefully, at least some of this is useful to others.
Introducing Solid Errors | Fractaled Mind
This does exception tracking for Rails applications, but integrated and not a separate service