C H A P T E R  10


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


Get Pro PHP Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.