Download the PHP package nodes/validation without Composer
On this page you can find all versions of the php package nodes/validation. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download nodes/validation
More information about nodes/validation
Files in nodes/validation
Package validation
Short Description Makes it easier to work with validation in Laravel
License MIT
Homepage http://nodesagency.com
Informations about the package validation
Validation
A validation manager made more flexible validators in Laravel
📝 Introduction
Validation is something we take quite serious in Nodes which means we've had cases where the default Laravel validator simply doesn't cut it.
Therefore we've created this little neat package, which makes it super easy to create your own validator and add your own custom rules. By default this package uses our own Validator with our own custom rules, but you can easily swap it out with your own stuff.
📦 Installation
To install this package you will need:
- Laravel 5.1+
- PHP 5.5.9+
You must then modify your composer.json
file and run composer update
to include the latest version of the package in your project.
Or you can run the composer require command from your terminal.
🔧 Setup
In Laravel 5.5 or above, service providers and aliases are automatically registered. If you're using Laravel 5.5 or above, skip ahead directly to Publish config files.
Setup service provider in config/app.php
Publish config files
If you want to overwrite any existing config files use the --force
parameter
⚙ Usage
Create a new validator and make it extend Nodes\Validation\Validator
.
At a later time, we'll update the documentation with details about each rule this package comes with out-of-the-box. But for now, we recommend you to take a look in the source code and read the DocBlock of each method.
Check out the available rules in the src/Rules directory.
🏆 Credits
This package is developed and maintained by the PHP team at Nodes Agency
📄 License
This package is open-sourced software licensed under the MIT license