Skip to content
  • Home
  • About

Mike van Riel

Code, Design and Quality are glorious when in harmony

Category: PHP

Getting a list of week numbers between two dates

Getting a list of week numbers between two dates

Posted on January 8, 2022January 8, 2022 by Mike van Riel
Recently, I was working on a PHP application that needed to show weekly summaries in the period of one month. Then, January came and I found myself looking at 48 weeks instead of the expected 4 to 5. ... Read More
phpBenelux 2019 – Friday

phpBenelux 2019 – Friday

Posted on February 3, 2019 by Mike van Riel
Last week was the 10th edition of phpBenelux; and for me, it was the 8th time I had been there. From the first one to the 10th one is quite awesome to be a part of and in those 10 years, the spirit of... Read More
When your template cannot be found in Symfony 4

When your template cannot be found in Symfony 4

Posted on February 23, 2018 by Mike van Riel
While I was playing with GraphQL in Symfony I wanted to use a pre-symfony 4 bundle to provide a GraphQL server. When I wanted to go to a page that used a twig template I got the following error: Unabl... Read More
Installing Symfony Flex and Prooph 7

Installing Symfony Flex and Prooph 7

Posted on September 23, 2017 by Mike van Riel
Because I love to experiment with new technologies I decided today to set up a new event-sourced project using Symfony Flex and Prooph 7. In this blog post, I am going to describe my experiences when ... Read More
Live templates in phpStorm

Live templates in phpStorm

Posted on February 22, 2013 by Mike van Riel
For phpDocumentor I have the strict rule to apply a File DocBlock on the top with the necessary legal information such as copyright, license information and where to find the homepage. Anytime I add a... Read More
phpStorm and component-based projects

phpStorm and component-based projects

Posted on March 28, 2012January 5, 2019 by Mike van Riel
For phpDocumentor I sometimes need to edit both a template and the main project in tandem to fix an issue. A sub-optimal solution as it is a clear sign of code coupling yet sometimes your template jus... Read More
DocBlox is unmasked … it is really phpDocumentor 2!

DocBlox is unmasked … it is really phpDocumentor 2!

Posted on March 16, 2012 by Mike van Riel
Announcing phpDocumentor 2 — the merging of the old (phpDocumentor) and the new (DocBlox). With the first alpha release of phpDocumentor (2.0.0a1), the new “Responsive” default templ... Read More
Outputting formatted XML using PHP

Outputting formatted XML using PHP

Posted on October 23, 2011 by Mike van Riel
For an interpreter it doesn’t matter how much whitespace there is in an XML document and often you find that machines strip it all out to reduce the amount of bandwidth used. Often at the receiv... Read More
Pre-commit hook in Git: Running PHPUnit

Pre-commit hook in Git: Running PHPUnit

Posted on May 16, 2011 by Mike van Riel
Pre-commit hooks in git are one of those things you hardly think about but can help you automate tasks and do last-minute checks. A good example of this is running unit tests before commits, to make s... Read More
Multiple types of opening braces when matching pairs with the tokenizer/ext

Multiple types of opening braces when matching pairs with the tokenizer/ext

Posted on February 24, 2011 by Mike van Riel
Whilst I was testing DocBlox on the Solar Framework I found a bug in the part of the application where I match the curly brace pairs of structures (like classes, functions, methods, etc). Every time ... Read More
  • 1 of 2
  • 1
  • 2
  • Next »

Find a specific article

Categories

  • 3D Modelling
  • Agile
  • Articles
  • Blender
  • Code
  • Development
  • DevOps
  • Linux
  • Maintenance
  • Personal
  • PHP
  • Roleplaying games
  • Uncategorized
  • Home
  • About
Theme Designed by InkHive.com. © 2023 Mike van Riel. All Rights Reserved.