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
Forever Free Full-Stack Observability | Grafana Cloud Icon
Forever Free Full-Stack Observability | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
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