Clean and well-documented source
However, it still looks very usable and rather mature. Code has been added at a pretty quick pace, there’s been 102 commits since Belt’s release on GitHub, a little over a week ago.
Basically, you just include
belt and use it’s built in methods/functions to do certain things that would take a bit more work using straight PHP. For example, to get the maximun of an array of numbers, do this:
<?php Belt::max([1, 2, 3]) ?>
A value of
3 will be returned, because it’s the max value there.
And from the readme, a list of what Belt offers.
- 60+ useful functions
- ability to use the facade Belt or a dedicated component (e.g. BeltUtilities)
- fully tested
- source code is clean and documented
Seems like it offers some pretty useful functions, and it looks really easy to use. I’ve been looking for a solid PHP base to use and this may just be it. Anyone got any other suggestions? I’ve heard a lot about Skeleton for PHP.
Searching for “skeleton” on GitHub, then filtering for PHP, gives a LOT of results, over 1,000 results to be more precise. So, maybe I’ll browse there for a while before making a decision.
Any suggestions can be left in the comments.
Well, now what?
Work with Me
I'm available for hire and always taking new clients, big and small. Got a project or an idea you'd like to discuss? Startup plan but no developer to make it happen? Just get in touch, I'd love to see if I can help you out!