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
Categories
LibrariesLicense
MIT LicenseFollow Squire
Other Useful Business Software
Forever Free Full-Stack Observability | Grafana Cloud
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.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Squire!