php

12 Articles 1 Followers


Why Should You Hire Me for Your Next Web Development Project?

2 Dec 2021 1 minute read 2 comments Great White Snark

Quite simply, I'm awesome. No, seriously, I'm awesome! Exceptional grasp of Language: Above and beyond being a fluent and native speaker of my mother tongue (English), I also know some Spanish and am attempting to teach myself German and isiZulu. No...

So you want to be a “Web Developer”

4 Jun 2021 2 minute read 2 comments baohx2000

This started as a reply to a post on reddit r/phphelp. I’ll likely add to it as I find new things or think of bits and pieces to add. Do not think you have to be a “full stack” developer. Unless you dedicate many years, you will be a jack of all trad...

Composer Monorepo Without Plugins

4 Jun 2021 2 minute read 0 comments baohx2000

The problem: You have multiple services you want to build/ci/deploy. You want them all to have consistent dependencies between them all (one of the big reasons to utilize a monorepo). It’s not difficult, you just have to think of your project as bein...

Symfony and PHP attributes

4 Apr 2021 1 minute read 0 comments Jon92

The last stable version of Symfony : 5.2 now uses new PHP 8.0 feature : attributes.  PHP Attributes PHP attributes offer a way to add metadata information on classes, methods, parameters... Here is how you can create an attribute : #[\Attribute] clas...

Three e-books to fully master PHP

12 Feb 2021 1 minute read 0 comments ryosuke

PHP is one of the most famous programming language dedicated for creating dynamic web sites, PHP was specifically designed for building dynamic web sites it is very easy to learn and free, it is a powerful language and widely used in this domain. So...

XDEBUG with VS CODE on Big Sur

30 Nov 2020 1 minute read 0 comments Coding Wisely

Yesterday I got my hands on a new MacBook Pro with the new M1 processor and Big Sur OS. I was very excited since I watch Apple announcing it a couple of weeks ago. As a seasoned PHP developer, mostly working with Laravel, I have been wondering if the...

PHP PDO insert boilerplate code

25 Nov 2020 1 minute read 0 comments Erik Thiart

If you are like me you often grab some old code and copy it and then just change the values a bit. I find myself more often than not googling the code on StackOverflow in order to get some examples because I am too lazy to type it out. Here is the co...

Regex: practical developping and testing

20 Oct 2020 1 minute read 0 comments d-erf

Hello all!   You know i don't write for nothing, so here i won't cover whole regex theory, other sites does it well.   Here i want to present a great tool boosting your regex composing time.   It brings: - Didactic live regex composing - Dynamic test...

Symfony 5 php object to array conversion

13 Oct 2020 1 minute read 0 comments d-erf

Hello all!     Today one tip (for a tip!), for automatic, correct, recursive, pain-free method to converting php object to json, under symfony 5 php framework. You know it's a common need but not so well addressed in fact, with such a simplicity, avo...

Symfony 5 php mongo odm array field

10 Oct 2020 1 minute read 0 comments d-erf

Hello,   I've been searching this information for a couple of hour, and as it's now well documented, i publish solution to prevent other people losing to much time for same need.   Mongodb odm in a symfony 5 project.   How to annotate type in Documen...