Contextual binding in laravel and how to make your code meet O in SOLID principles

Sometimes, we meet these kind of use cases or features when doing web application programming: 1 - multiple type of report to generate 2- multiple type of discount to handle 3- multiple type of payment to handle I recently faced with this use case when doing a freelance project for my customer. The requirement for this use case is that we have 2 types of reporting: human resources reporting and accounting reporting....

April 29, 2016 · 4 min · longka

Release optivo mail client for laravel

Optivo is quite big mail service provider in Germany https://www.optivo.com/en. This is one of optivo mail client for laravel (use Optivo HTTP API) https://github.com/nguyentienlong/laravel-optivo https://packagist.org/packages/longka/laravel-optivo Todo: write an article about how to create your own laravel package like this package...

February 28, 2016 · 1 min · longka