O'Reilly logo

Pro PHP Programming by Mladen Gogala, Peter MacIntyre, Brian Danchilla

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

C H A P T E R  10

Libraries

PHP is a versatile language with a broad range of applications. There are many existing open source libraries that are mature and feature rich. This is a good thing, because as programmers, we prefer to not reinvent the wheel whenever possible. Libraries can save us time and effort. This chapter is very hands-on, and we will show how to:

  • Parse RSS feeds using SimplePie
  • Use TCPDF to generate PDFs
  • Scrape data from websites using cURL and phpQuery
  • Integrate Google Maps using php-google-map-api
  • Generate email and SMS text messages with PHPMailer
  • Wrap the Google Chart API with gChartPHP

SERVER SETUP

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required