money – PHP library to make working with money safer, easier, and fun

money is a PHP library that implements Martin Fowler’s design pattern for money.  See the official documentation and this blog post for more information.

Some of the issues addresses by this library are the binding of the money amount to the currency, and currency conversion operations.  If your code needs to deal with multiple currencies, you’ll definitely benefit from this library.  But even if you are dealing with a single currency, it’s still pretty handy, making the code more transparent and future proof.

Things I wish someone had told me before I started angel investing

Things I wish someone had told me before I started angel investing blog post shares some insight into what it takes to be an angel investor, and how much failure one will probably go through before getting any kind of success.  Like with everything, it takes time, money, and effort to learn the intricacies.

Actually, the needle-in-the-haystack is not quite the right metaphor.  There is a small cadre of people who actually have what it takes to successfully build an NBT, and experienced investors are pretty good at recognizing them.  Because of this, they don’t have trouble raising money.  As I mentioned earlier, one of the reasons people get into angel investing is because they think it’s more fun to be the beggee than the beggor.  But the cool kids don’t beg.  The cool kids — the ones who really know what they’re doing and have the best chances of succeeding — decide who they allow to invest in their companies.  And they want investors who have been around the block, who know what they are doing, who have a thick rolodex of potentially useful contacts, and most importantly, deep enough pockets to do follow-on investments, and thick enough hides not to complain if things go south.

If you want to make money angel investing, you really have to treat it as a full time job, not because it makes you more likely to pick the winners, but because it makes it more likely that the winners will pick you.

If you’re not ready for that, you will be much better off financially buying index funds.

Omnipay – framework agnostic, multi-gateway payment processing library for PHP 5.3+

Omnipay is yet another multi-gateway payment processing library for PHP 5+.  Have a look at documentation and examples here:

Omnipay is a payment processing library for PHP. It has been designed based on ideas from Active Merchant, plus experience implementing dozens of gateways for CI Merchant. It has a clear and consistent API, is fully unit tested, and even comes with an example application to get you started.

Coming from The League of Extraordinary Packages, it seems to be a more popular solution than Payum and the others.  It also looks like Omnipay supports way more gateways than any other payment processing library that I’ve seen.  Here’s the list of the officially supported gateways.  Here’s the list of the third-party contributed gateways. And, of course, you can build your own.

Payum – PHP 5.5+ payment processing library

Payum – PHP 5.5+ payment processing library, which is self-described as:

It offers everything you need to work with payments: Credit card & offsite purchasing, subscriptions, payouts etc.

The documentation looks extensive, and the list of supported gateways is probably the longest I’ve seen.