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
Powerful App Monitoring Without Surprise Bills
Tired of monitoring tools that punish you for scaling? AppSignal offers transparent, predictable pricing with every feature unlocked on every plan. Track errors, monitor performance, detect anomalies, and manage logs across Ruby, Python, Node.js, and more. Trusted by developers since 2012 with free dev-to-dev support. No credit card required to start your 30-day trial.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Squire!