Category Web Development

How To Tweet Automatically Based On A Git Commit Description

profile picture

If you've ever actively worked on a project, shipping new features every month, week or even days, you're probably informing your users about those new features, right? At least you want to. Informing your users that a new feature is available i...

- - - - - - - - - - - - - - -

How To Log Eloquent Database Queries In Laravel

profile picture

Today I was trying to debug a big Eloquent Query in one of my Laravel Applications, and I couldn't understand what was the issue. I wrote a feature test and hit the route endpoint to trigger the controller's code, to check the values returned by t...

- - - - - - - - - - - - - - -

How to Deploy Laravel Application on Dev and Production Based on Different Branches With Laravel Envoy

profile picture

So my typical workflow when working on a client's application is to have a "dev" environment on my server, and the production environment is sometimes also on my server. I push my code on the branch "develop" of the project's g...

- - - - - - - - - - - - - - -

Development & Server Setup 2019

profile picture

When I started developping LaravelPackages.net and it's search module, I quickly noticed that Algolia was not going to be enough for this project. There are dozen of hundreds laravel packages out there that I needed to index. I naturally checked E...

- - - - - - - - - - - - - - -

PHP Course : SOLID - Dependency Inversion

profile picture

Last but not least, the Dependency Inversion Principle! There is a common misunderstanding that "Dependency Inversion" is similar to "dependency injection." However, the two are not the same, as I explained in What Is Dependen...

- - - - - - - - - - - - - - -

PHP Course : SOLID - Interface Segregation

profile picture

"Interface Segregation"... what the hell does that mean now... It seems like all those principles were named to bring more confusion than clarity right ? Yet they are very easy to understand once you look at the right example. This one i...

- - - - - - - - - - - - - - -

PHP Course : SOLID - Liskov Substitution

profile picture

Third principle in this SOLID serie, the Liskov Substitution principle was imagined by Barbara Liskov. Definition Mathematical definition: Let q(x) be a property provable about object x of type T. Then q(y) should be provable for objects y o...

- - - - - - - - - - - - - - -

2021 My Dynamic Production SPRL All rights Reserved.