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

Other Useful Business Software
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New customers can spin up VMs, build with AI, and query data at no cost.

Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
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