PHPClasses
PHPClasses.org is a resource for object oriented PHP code. The site itself is full of advertisements and can be difficult to navigate, but with over 2300 authors contributing over 4400 files, it can be a great place to find ready-to-go code or maybe just some inspiration.
It’s all community based. Anyone can contribute, though there is a review process. It’s a good way to get your code seen and get your name out if that’s what you’re after. Some people have elected to be notified on each new approved contribution. You could have thousands of people looking at and possibly using your code!
Not all classes at the site will be available for you to use, however. It depends on the license attached. At the time of this writing, here are the licenses listed on the contribution page.
- Artistic License
- BSD License
- GNU Free Documentation License (FDL)
- GNU General Public License (GPL)
- GNU Lesser General Public License (LGPL)
- MIT/X Consortium License
- Python License
- Q Public License (QPL)
- Free For Educational Use
- Free For Non-Commercial Use
- Free To Use But Restricted
- Freely Distributable
- Freeware
- Proprietary License
- Proprietary License with Source
- Public Domain
- Shareware
- The PHP License
- Other (custom)
So, if you’re planning to piece together some commercial software, make sure the license allows for that.
Are there similar resources out there? Which are your favorites? Let us know in the comments here.
