Download the PHP package friskals/countries without Composer
On this page you can find all versions of the php package friskals/countries. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download friskals/countries
More information about friskals/countries
Files in friskals/countries
Download friskals/countries
More information about friskals/countries
Files in friskals/countries
Vendor friskals
Package countries
Short Description Nominal formatting and phone validation for Laravel Framework
License MIT
Package countries
Short Description Nominal formatting and phone validation for Laravel Framework
License MIT
Please rate this library. Is it a good library?
Informations about the package countries
Countries
This package allow you
- Set the nominal and currency format of a value based on the given country.
- Validate and transform phone number of a particular country.
Instalation
- Install with composer
For Laravel >=5.5 that's all. You don't need any configurations since it's already handled by Laravel Package Discovery
but for Lumen you need a simple configuration.
Configuration
The default are set in config/country.php
.
Lumen
-
Load your configuration file in
bootstrap/app.php
- And register your provider at
bootstrap/app.php
Usage
-
Format Currency
-
Format Nominal
-
Validate Phone
- Transform Phone
All versions of countries with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.2
The package friskals/countries contains the following files
Loading the files please wait ....