X7ROOT File Manager
Current Path:
/home/prisjneg/public_html/vendor/fakerphp/faker/src/Faker/Provider
home
/
prisjneg
/
public_html
/
vendor
/
fakerphp
/
faker
/
src
/
Faker
/
Provider
/
📁
..
📄
Address.php
(3.49 KB)
📄
Barcode.php
(2.19 KB)
📄
Base.php
(22.2 KB)
📄
Biased.php
(1.79 KB)
📄
Color.php
(4.64 KB)
📄
Company.php
(901 B)
📄
DateTime.php
(12.1 KB)
📄
File.php
(25.1 KB)
📄
HtmlLorem.php
(9.98 KB)
📄
Image.php
(6 KB)
📄
Internet.php
(17.17 KB)
📄
Lorem.php
(7.7 KB)
📄
Medical.php
(648 B)
📄
Miscellaneous.php
(13.21 KB)
📄
Payment.php
(10.42 KB)
📄
Person.php
(3.23 KB)
📄
PhoneNumber.php
(6.45 KB)
📄
Text.php
(6.65 KB)
📄
UserAgent.php
(8.46 KB)
📄
Uuid.php
(1.78 KB)
📁
ar_EG
📁
ar_JO
📁
ar_SA
📁
at_AT
📁
bg_BG
📁
bn_BD
📁
cs_CZ
📁
da_DK
📁
de_AT
📁
de_CH
📁
de_DE
📁
el_CY
📁
el_GR
📁
en_AU
📁
en_CA
📁
en_GB
📁
en_HK
📁
en_IN
📁
en_NG
📁
en_NZ
📁
en_PH
📁
en_SG
📁
en_UG
📁
en_US
📁
en_ZA
📁
es_AR
📁
es_ES
📁
es_PE
📁
es_VE
📁
et_EE
📁
fa_IR
📁
fi_FI
📁
fr_BE
📁
fr_CA
📁
fr_CH
📁
fr_FR
📁
he_IL
📁
hr_HR
📁
hu_HU
📁
hy_AM
📁
id_ID
📁
is_IS
📁
it_CH
📁
it_IT
📁
ja_JP
📁
ka_GE
📁
kk_KZ
📁
ko_KR
📁
lt_LT
📁
lv_LV
📁
me_ME
📁
mn_MN
📁
ms_MY
📁
nb_NO
📁
ne_NP
📁
nl_BE
📁
nl_NL
📁
pl_PL
📁
pt_BR
📁
pt_PT
📁
ro_MD
📁
ro_RO
📁
ru_RU
📁
sk_SK
📁
sl_SI
📁
sr_Cyrl_RS
📁
sr_Latn_RS
📁
sr_RS
📁
sv_SE
📁
th_TH
📁
tr_TR
📁
uk_UA
📁
vi_VN
📁
zh_CN
📁
zh_TW
Editing: Address.php
<?php namespace Faker\Provider; class Address extends Base { protected static $citySuffix = ['Ville']; protected static $streetSuffix = ['Street']; protected static $cityFormats = [ '{{firstName}}{{citySuffix}}', ]; protected static $streetNameFormats = [ '{{lastName}} {{streetSuffix}}', ]; protected static $streetAddressFormats = [ '{{buildingNumber}} {{streetName}}', ]; protected static $addressFormats = [ '{{streetAddress}} {{postcode}} {{city}}', ]; protected static $buildingNumber = ['%#']; protected static $postcode = ['#####']; protected static $country = []; /** * @example 'town' * * @return string */ public static function citySuffix() { return static::randomElement(static::$citySuffix); } /** * @example 'Avenue' * * @return string */ public static function streetSuffix() { return static::randomElement(static::$streetSuffix); } /** * @example '791' * * @return string */ public static function buildingNumber() { return static::numerify(static::randomElement(static::$buildingNumber)); } /** * @example 'Sashabury' * * @return string */ public function city() { $format = static::randomElement(static::$cityFormats); return $this->generator->parse($format); } /** * @example 'Crist Parks' * * @return string */ public function streetName() { $format = static::randomElement(static::$streetNameFormats); return $this->generator->parse($format); } /** * @example '791 Crist Parks' * * @return string */ public function streetAddress() { $format = static::randomElement(static::$streetAddressFormats); return $this->generator->parse($format); } /** * @example 86039-9874 * * @return string */ public static function postcode() { return static::toUpper(static::bothify(static::randomElement(static::$postcode))); } /** * @example '791 Crist Parks, Sashabury, IL 86039-9874' * * @return string */ public function address() { $format = static::randomElement(static::$addressFormats); return $this->generator->parse($format); } /** * @example 'Japan' * * @return string */ public static function country() { return static::randomElement(static::$country); } /** * Uses signed degrees format (returns a float number between -90 and 90) * * @example '77.147489' * * @param float|int $min * @param float|int $max * * @return float */ public static function latitude($min = -90, $max = 90) { return static::randomFloat(6, $min, $max); } /** * Uses signed degrees format (returns a float number between -180 and 180) * * @example '86.211205' * * @param float|int $min * @param float|int $max * * @return float */ public static function longitude($min = -180, $max = 180) { return static::randomFloat(6, $min, $max); } /** * @example array('77.147489', '86.211205') * * @return float[] */ public static function localCoordinates() { return [ 'latitude' => static::latitude(), 'longitude' => static::longitude(), ]; } }
Upload File
Create Folder