A simple(ish) command line tool written in PHP 7.1 using Laravel Zero and Faker to help you anonymise/pseudonymise data within your database to support protecting either sensitive information, or peoples right to be forgotten with GDPR compliance.
The tool allows you to connect to either mysql, postgres, sqlite or sqlserver and replace defined information with random data to allow you to keep statistics/relationships/audit of actions etc.
It uses a simple yaml configuration file to define the conditions for overwriting, which fields you want to overwrite, and what to overwrite them with.
Tag: frameworks
Handling Amazon SNS messages with PHP, Lumen and CloudWatch
Gonzalo Ayuso throws a few snippets of code in the blog posts title “Handling Amazon SNS messages with PHP, Lumen and CloudWatch“, which shows how to work with Amazon SNS (Simple Notifications Service) and Amazon CloudWatch (cloud and network monitoring solution) from PHP. The examples are based on the Lumen micro-framework, which is basically a stripped down Laravel.
HTTP/2 Server Push with PHP
A few days ago I blogged about the exciting news from the Nginx about the support for HTTP/2 Server Push. It’s good to see that this is getting picked up pretty fast. Here are a couple of examples:
Mainstream support and implementation alternatives are not too far away, and that’s super exciting.
Vue.js — answering the Why, after 15 months
Harshal Patil shares his positive experience with the Vue.js JavaScript framework, after using it for just over a year in “Vue.js — answering the Why, after 15 months“. As many before him, he focuses on the virtual DOM, optional but powerful build system, state management, single file components, performance, testability, and a few other benefits of this particular technology.
It’s good overall article for those who are still deciding which JavaScript framework to go with for their next project.
Replacing jQuery With Vue.js: No Build Step Necessary
“Replacing jQuery With Vue.js: No Build Step Necessary” article looks at one of the ways to migrate from jQuery to Vue.js as in almost drop-in replacement. It’s a nice starter guide for people who have been using jQuery for years and are now looking at more powerful and modern JavaScript frameworks.