FakerPHP / Faker

Faker is a PHP library that generates fake data for you
https://fakerphp.github.io
Other
3.48k stars 331 forks source link

Update composer.json #837

Closed lav45 closed 6 months ago

lav45 commented 6 months ago

Fixed dev-main branch version

GrahamCampbell commented 6 months ago

This doesn't do anything, since there is no main branch. We can probably just delete this, but it's no big deal.

lav45 commented 6 months ago

Please note that I am installing fakerphp/faker:^1.21 but was installed the v1.23.0 version

~$ composer require fakerphp/faker:^1.21
./composer.json has been updated
Running composer update fakerphp/faker
Loading composer repositories with package information
Updating dependencies
Nothing to modify in lock file
Installing dependencies from lock file (including require-dev)
Nothing to install, update or remove
Generating autoload files
69 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
No security vulnerability advisories found.

~$ composer show fakerphp/faker
name     : fakerphp/faker
descrip. : Faker is a PHP library that generates fake data for you.
keywords : data, faker, fixtures
versions : * v1.23.0
type     : library
license  : MIT License (MIT) (OSI approved) https://spdx.org/licenses/MIT.html#licenseText
homepage : 
source   : [git] https://github.com/FakerPHP/Faker.git e3daa170d00fde61ea7719ef47bb09bb8f1d9b01
dist     : [zip] https://api.github.com/repos/FakerPHP/Faker/zipball/e3daa170d00fde61ea7719ef47bb09bb8f1d9b01 e3daa170d00fde61ea7719ef47bb09bb8f1d9b01
path     : /app/vendor/fakerphp/faker
names    : fakerphp/faker

support
issues : https://github.com/FakerPHP/Faker/issues
source : https://github.com/FakerPHP/Faker/tree/v1.23.0

autoload
psr-4
Faker\ => src/Faker/

requires
php ^7.4 || ^8.0
psr/container ^1.0 || ^2.0
symfony/deprecation-contracts ^2.2 || ^3.0

requires (dev)
bamarni/composer-bin-plugin ^1.4.1
doctrine/persistence ^1.3 || ^2.0
ext-intl *
phpunit/phpunit ^9.5.26
symfony/phpunit-bridge ^5.4.16

suggests
doctrine/orm Required to use Faker\ORM\Doctrine
ext-curl Required by Faker\Provider\Image to download images.
ext-dom Required by Faker\Provider\HtmlLorem for generating random HTML.
ext-iconv Required by Faker\Provider\ru_RU\Text::realText() for generating real Russian text.
ext-mbstring Required for multibyte Unicode string functionality.

conflicts
fzaninotto/faker *
bram-pkg commented 6 months ago

Yes, that is how composer works.

https://getcomposer.org/doc/articles/versions.md#caret-version-range-