O'Reilly logo

Learning FuelPHP for Effective PHP Development by Ross Tweedie

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

Chapter 5. Packages

In the previous chapter, we used packages to make our lives easier. We used Oil to quickly get up and running, as well as the Auth package that helped with user authentication.

In this chapter, we will cover the following topics:

  • What is a package?
  • Recommended packages
  • Working with the Auth package for user authentication
  • What is Composer and how to use it?
  • An introduction to building your own package

What is a package?

As developers, we often have code that we use on multiple projects. It could be as simple as string manipulation, but we would be lost without the code we are familiar with.

This is where packages come in useful. They give a great way of organizing, re-using, and sharing your code. Packages can contain all sorts of code, ...

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