Here’s My Blog

Let’s go deeper on some topics about development, management, and everything else.

  • Str::wrap() macro in Laravel

    While working on my personal project that is using Laravel, I was in need to write a query with a LIKE clause that searches with quotes at the beginning and end of the generated string.

  • How to organize custom code for plugins & themes

    You have lots of plugins, and even a theme. You are brave and adventurous – and you write (or copy-paste) lots of snippets to modify their default behavior. Now you have a custom code all over the place and even in your theme functions.php. Is there a better way to fix that mess?

  • Include rules excluded by other standards for PHPCS

    Developers should use code style rules, and PHPCS is a great tool for that. So how can you include rules that were excluded in inherited standards that extend Squiz, PEAR and PSR*?

  • The development story of WooCommerce Assistant

    It is a long story – 3 years of shared efforts by Gregory Karpinsky and me to make this plugin happen. And 4.5 month of waiting time to get through WooCommerce.com review procedure.