Show kubernetes secrets with k9s
If you want to show decrypted secrets of your kubernetes (k8s) deployment with k9s try this: First choose the namespace you want to check the secrets in by typing a colon and namespace :namespaceCode...
View ArticleDoctrine migrations and Postgis
Using Postgres with the Postgis extension to integrate GeoData / GIS functionality in your project is not natively supported by Doctrine and Doctrine migrations. First you have to add the extension to...
View ArticleStream an image from Symfony controller
When sending an image/file from a Symfony controller you would usually read the file from filesystem.This you can do by passing the file path to the BinaryFileResponse class and return it in the...
View ArticleNerdpress on Mastodon
We follow the PHP community and are now also Mastodon! Yay!Follow us here: https://phpc.social/@nerdpress_orgAll our Blog posts will be announced there as on Twitter. Since we blog a lot about PHP in...
View ArticleImport data into MySql with docker-compose
Having a docker-compose setup which involves a Database like Mysql or MariaDB, then at some point you might want to import data into those Databases. There are several ways to import the data in your...
View Article10 reasons to replace your CMS with Astro
I replaced another CMS powered site with an Astro powered static site the other day.Here is why: Content changed rarely and when, authors forgot how to do it and asked me anyway. Content is now part of...
View ArticleTesting PDF creation with headless chrome and PHP
I had the task the other day to use a headless chrome to generate PDF files from websites in a PHP app. The plan was to use chrome-php with a headless chrome to generate the PDF. Usually you would...
View ArticleComposer bump
Do you miss that the version numbers of your PHP dependencies are automatically updated in the composer.json file after a composer update?Just like npm or yarn are updating the version numbers in the...
View ArticleObfuscate Web Component
Typically, when integrating emails into websites, I obfuscate the email address to prevent spam bots from collecting them. For React, there were already components that handled this task; however,...
View ArticleAstro component for DarkMode Switcher for PicoCSS
I am currently evaluating PicoCss V2 in Astro project. PicoCss is a CSS / SCSS framework I used for some of my projects because it is small and brings sufficient styling for most HTML Elements. It has...
View Article
More Pages to Explore .....