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

Get Pro PHP Programming now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.