One of the numerous good points of the PHP programming language is its extensibility. In this article, I'm going to show you 10+ extremely useful PHP classes that will definitely make your developer life easier.

PHP PSD Reader

A few weeks ago, I wrote an article about this PHP which allow you to display any Adobe PSD file on screen. Very usefull to create preview of PSDs designed for clients, for example.
Download

Browser detect

One of the most common (and boring) problem for front-end developers is definitely cross-browser compatibility. This PHP class will detect almost all browsers and simplify your cross-browser work.
Download

Akismet

Remember those days without spam? If your website gets spammed in any ways, Akismet can probably help you. When a new comment, trackback, or pingback comes to your site it is submitted to the Akismet web service which runs hundreds of tests on the comment and returns a thumbs up or thumbs down.
Download

ADOdb

The large majority of websites and web apps are using databases to store all kinds of data. ADOdb is a database abstraction library for PHP, supporting MySQL, PostgreSQL, Interbase, Firebird, Oracle, MS SQL and more. ADOdb is quite easy to learn and have lots of nice features as such as extensive portability support, speed and BSD licencing.
Download

HTML Purifier

As it name tells, HTML Purifier is a PHP class created to help you writing a better code. HTML Purifier can remove malicious code and make sure your code is standard-compliant. A great tool for all developers.
Download

Google charts API

Charts are very useful and highly asked by clients, but they can be a lot of work. I remember some years ago when a friend of mine had to create charts using Photoshop every week for one of his clients. Well, this time is gone for good.
With the Google charts API, a simple chart can be created and displayed on screen using as little as 4 lines of code.
Download

pChart

pChart is another chart class, and it is as good as Google charts API. Data can be easily retrieved from SQL queries, CSV files, or manually provided.
Download

PHP Excel

Excel documents are highly popular in the corporate world. Considering that fact, there’s a strong chance that one of your clients asks for you to create excel files in PHP someday.
Happilly, the PHP Excel engine allow you to easily create and manipulate lots of different files, as such as Excel 2007, Open XML, or PDF.
Download

Country from IP

Some websites are able to detect your location and automatically display information related with your language. How do they do that? Quite simple, they use your IP adress to find your location. The Country from IP class is easy to use and will allow you to get the country a specific IP is from.
Download

Cache Manager

If you’re working on a high traffic site, there’s not doubt you’ll need to cache files in order to improve performance. This will be very easy an simple to do, using this very handy class. A defifinitive must-have, in my opinion.
Download

WPGet

As I know many of you have a WordPress blog, I just can’t finish this article without a great tool for our favorite blogging engine.
WPGet is a PHP class which allow you to easily get infos from a WordPress 2.X database. In other words, it allows you to get posts, comments, etc from a WordPress blog, on a non-WordPress site. Great, isn’t it?
Download

Related Posts

No related posts.
 

28 Comments

  1. Posted September 24, 2009 at 4:32 pm | Permalink

    Great stuff, geek files :)

  2. Posted September 24, 2009 at 4:35 pm | Permalink

    Get Post Jean Baptiste, Thanks it’s very useful, I didn’t know that akismet have a class for other Php project than Wordpress.

  3. Posted September 24, 2009 at 5:59 pm | Permalink

    Some good ones there, but I have to disagree with Browser Detect and ADOdb…

    I can not see where browser detect is useful, except for stats collection. If you need to fix your JavaScript code or whatever for specific browsers, a much better approach is capability detection.

    ADOdb is quite pointless – you can use PDO, which is built-in in PHP5, to do quite the same. I think ADOdb’s pro is that it works with PHP4 (iirc), but I would not really want to use it just because of that.

    Finally, the functionality provided by WPGet should be built into WordPress in my opinion – but it’s poorly built so I guess you’ll need the library until they get their act together.

  4. Posted September 24, 2009 at 6:54 pm | Permalink

    Thanks for this – some great stuff here – bookmarked for future reference :)

  5. NotAlame
    Posted September 24, 2009 at 11:28 pm | Permalink

    Awesome…
    Thanks a lot!

  6. Posted September 25, 2009 at 6:57 am | Permalink

    that is great info, thanks :)

  7. Posted September 25, 2009 at 7:53 am | Permalink

    Good collection. I have used some of them like pChart and Country From IP and browser detect.
    Time to run some more code.

    Thanks

  8. Posted September 25, 2009 at 12:03 pm | Permalink

    These classes will help me a ton in the development of my new site, thank you!

  9. Posted September 25, 2009 at 1:59 pm | Permalink

    Thanks much for those knowledges

  10. Posted September 25, 2009 at 6:41 pm | Permalink

    Nice write up! Thanks for taking the time to do it!

  11. Posted September 26, 2009 at 6:09 pm | Permalink

    This is a pretty good list! Thanks for sharing!

  12. Posted September 27, 2009 at 1:52 am | Permalink

    Wow!!! This is excellent! What a pretty and complete list! Thanks!

  13. David
    Posted September 27, 2009 at 10:50 am | Permalink

    Great list, altough phpclasses.org must be one of the worst sites ever

  14. Posted September 28, 2009 at 6:44 pm | Permalink

    Thanks for the list. I haven’t yet heard of a few of these.

  15. Posted October 5, 2009 at 2:44 pm | Permalink

    wow!! thanks for this, a big help.

  16. Posted October 11, 2009 at 7:41 am | Permalink

    Great list! Most site owners are using these stuffs. Personally, I’m familiar with some included in your list.

  17. Posted October 12, 2009 at 1:19 am | Permalink

    I highly recommend people to use Akismet. One of my niche sites were so attacked by spam that my main traffic actually was people searching for different combinations of sex and similar words.

  18. Posted October 15, 2009 at 2:41 pm | Permalink

    Great list Jean.

  19. Posted November 9, 2009 at 7:24 pm | Permalink

    Wow, excellent post!! I will bookmark this for my reference.

  20. Posted November 15, 2009 at 9:36 am | Permalink

    Cool scripts. Thanks for sharing!

  21. Anant
    Posted November 16, 2009 at 12:50 pm | Permalink

    Good collection.

  22. Posted November 17, 2009 at 3:20 pm | Permalink

    I would like to mention:
    * MDB2 as abstraction layer DBMS management (PEAR class);
    * FirePHP/FireBug (PEAR class);

    PHPExcel it’s good for not too much data: I tried it on 10k records and PHP goes in timeout. It consume also too much memory IMHO.

  23. Posted December 24, 2009 at 5:47 pm | Permalink

    Seriously good list! WP Get is very good, but I guess you just connect to your wordpress db as you would any database.

  24. Posted December 29, 2009 at 7:40 pm | Permalink

    I would like to begin learning PHP programming as I have been quite impressed with the way the wordpress team has created their CMS.

  25. Posted February 2, 2010 at 6:21 am | Permalink

    Oh no, don’t use php classes dot org!
    i signed up there a long time ago and now i get newsletters at least twice a week and the unsubscribe link has no effect at all here.
    well actually the newsletter is a list of the latest php-classes and starts somewhere at page 3 of the email, after you scrolled past all the advertisements.
    try to find a working account on bugmenot or signup with your 2nd email address because they will send you spam!

  26. Posted February 3, 2010 at 5:03 am | Permalink

    Great read.

    The article on Google charts API was really well written and I had some charts up and running in minutes. I’m going to try and create a chart generator I think.

    Many thanks!

  27. Posted March 15, 2010 at 10:21 am | Permalink

    Thanks for the useful PHP classes.

  28. Posted March 16, 2010 at 2:05 pm | Permalink

    Akismet is really great to protect blog from spam. Thank you for the valuable classes. Good work.

14 Trackbacks

  1. By 10+ extremely useful PHP classes | Webs Developer on September 24, 2009 at 4:01 pm

    [...] 10+ extremely useful PHP classes Share and Enjoy: [...]

  2. By 10+ extremely useful PHP classes @ Catch-22 on September 25, 2009 at 1:57 am
  3. By links for 2009-09-24 | Digital Rehab on September 25, 2009 at 2:37 am

    [...] 10+ extremely useful PHP classes (tags: php programming webdev) [...]

  4. By 10+ extremely useful bPHP/b classes on September 25, 2009 at 5:33 am

    [...] 10+ extremely useful bPHP/b classes SHARETHIS.addEntry({ title: "10+ extremely useful bPHP/b classes", url: [...]

  5. [...] 10+ extremely useful PHP classes (tags: php programming classes resources code webdev development hacks) [...]

  6. [...] Source:10+ extremely useful PHP classes [...]

  7. [...] 原始文章出處 : 10+ extremely useful PHP classes [...]

  8. By 10+ Extremely Useful PHP Classes | Choose Daily on September 25, 2009 at 2:08 pm

    [...] 10+ Extremely Useful PHP Classes [...]

  9. By WebDev Weekly #39 | ASAP - As Simple as Possible on September 27, 2009 at 9:19 pm

    [...] 10+ extremely useful PHP classesA good collection of useful PHP classed for quite general purposes. [...]

  10. [...] 10 Extremely Useful PHP Classes [...]

  11. By Sin tiempo para escribir.22, Carrero on September 29, 2009 at 4:00 pm

    [...] Más de 10 clases PHP extremadamente útiles. En inglés. vía: Cats Who Code [...]

  12. [...] на оригинал статьи: http://www.catswhocode.com/blog/10-extremely-useful-php-classes [...]

  13. [...] + son derece faydalı PHP dersleri http://www.catswhocode.com/blog/10-extremely-useful-php-classes 0 like it. Like  [...]

  14. By 10+ extremely useful PHP classes | meshdairy on October 29, 2009 at 9:10 am

    [...] Get 20% off on the MyHomePro Premium WordPress Theme by using this exclusive code: wpcats20.10+ extremely useful PHP classes [...]

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe without commenting

  • Smashing Network
WordPress Appliance - Powered by TurnKey Linux