Categories
Projects

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.

Categories
Plugins

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?

Categories
General

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*?

Categories
General

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.

Categories
Plugins

Product Launch: WooCommerce Assistant

WooCommerce Assistant is a plugin to automate your shop products price and stock management. Schedule changes, optimize profits and be notified.