by Mladen Gogala, Peter MacIntyre, Brian Danchilla

Safari, the world’s most comprehensive technology and business learning platform.

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required

O'Reilly logo

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

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required