Here is the complete list of available replacements: (Examples given with 2017-01-05 17:04:05.084512) Code Example Description OD 5 Day number with alternative numbers such as 三 for 3 if locale [...]
Introduction The correct minimum set of headers that works across all mentioned clients (and proxies): Cache-Control: no-cache, no-store, must-revalidate Pragma: no-cache Expires: 0 [...]
One of the cool things about MySQL 5.7 is the fact that it supports a few spatial convenience functions (since 5.7.6), allowing one to do operations on geometric values. One of those convenience [...]
What’s the easiest way to sort array with accent? Since PHP 5.3 you can use the Internationalization extension (intl). It’s a wrapper for ICU library. So you have to check the PHP [...]
Composer is dependency manager for php package. PHP developers are known about packagist and composer. Most used php composer commands that will be helpful for you. # require require is the most [...]
Developing Composer packages locally through a local file symlink speeds up development immensely when you want to create Laravel packages and try them out on a real application. I was reading [...]
You can use glob and array_map function like below: $mask = 'something_prefix*.*'; array_map('unlink', glob($mask)); p.s. glob() requires PHP 4.3.0+ You can also use glob for this. Something like [...]
You’re working away and you hit a bug in one of your Composer dependencies. You quickly find the problem, it’s a one line fix, back to work. The problem now is: how do you push that [...]
Composer changed pretty much everything when it comes to including dependencies in PHP projects. No more SVN externals or copying large library folders into your project. This is really great, [...]
They are very similar so it is not surprising that it’s a bit confusing. The summary is that PSR-0 had some backwards compatibility features for PEAR-style classnames that PSR-4 dropped, as [...]