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. Squire includes a validation rule for each model installed in your app. These allow you to easily validate user input to ensure that it matches a record in a specific model. Squire may not always have a model available for the information you require. In this case, you may want to create your own.

Features

  • Populate dropdown options, such as a country selector on an address form
  • Attach extra data to other models in your app, such as airport information to a Flight model
  • Validate user input
  • You can use Composer to install Squire models into your application
  • Each model is available in a variety of languages, and you need only install the ones you will use
  • Create your own Models

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow Squire

Squire Web Site

You Might Also Like
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Squire!

Additional Project Details

Programming Language

PHP

Related Categories

PHP Libraries

Registered

2024-04-19