Download the PHP
package sourcetoad/rule-helper-for-laravel without Composer
On this page you can find all versions of the php package
sourcetoad/rule-helper-for-laravel. It is possible to download/install
these versions without Composer. Possible dependencies are resolved
automatically.
Vendor sourcetoad Package rule-helper-for-laravel Short Description Rule helper for Laravel License
MIT
FAQ
After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.
Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.
In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories.
In this case some credentials are needed to access such packages.
Please use the auth.json textarea to insert credentials, if a package is coming from a private repository.
You can look here for more information.
Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
To use Composer is sometimes complicated. Especially for beginners.
Composer needs much resources. Sometimes they are not available on a simple webspace.
If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Informations about the package rule-helper-for-laravel
Rule Helper for Laravel
Adds helpers to make building Laravel rule arrays easier by providing helper methods for the built-in rules.
Installation
Usage
RuleSet
The RuleSet class provides a fluent interface for defining sets of rules.
Basic usage
Rule
The Rule class provides the same methods as the Laravel \Illuminate\Validation\Rule class, with the rest of the
built-in rules exposed via static methods.
Basic usage
Additional helpers
Defined rule sets
The RuleSet class contains methods to define and reuse rule sets across the project.
To define a rule set call RuleSet::define in your app service provider's boot method.
The defined set can then be used in rules using RuleSet::useDefined.
To concatenate a defined rule set you can call concatDefined with the rule set's name.
requiredIfAll
Accepts multiple RequiredIf rules and only marks as required if all return true.
requiredIfAny
Accepts multiple RequiredIf rules and marks as required if any return true.
Version Compatibility
Laravel
Rule Helper
12.x
6.x
11.x
5.x
10.x
4.x
9.x
3.x
9.x
2.x
8.x
1.x
All versions of rule-helper-for-laravel with dependencies
Requiresphp Version
^8.2||^8.3||^8.4 laravel/framework Version
^12.0
Composer command for our command line client (download client)This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free.Standard composer command
The package sourcetoad/rule-helper-for-laravel contains the following files
Loading the files please wait ....
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.