Squire is a library of static Eloquent models for fixture data that is commonly needed in web applications, such as countries, currencies and airports. It's based on the concepts of Caleb Porzio's Sushi package.

Common use cases for Squire include:

  • Populating dropdown options, such as a country selector on an address form.

  • Attaching extra data to other models in your app, such as airport information to a Flight model. See the section on model relationships.

Learn More

Last updated