create-prisma-php-app 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (577) hide show
  1. package/README.md +8 -0
  2. package/dist/index.js +1 -1
  3. package/dist/node_modules/prisma-client-php/index.js +1 -1
  4. package/package.json +11 -4
  5. package/vendor/brick/math/.editorconfig +0 -15
  6. package/vendor/brick/math/.gitattributes +0 -11
  7. package/vendor/brick/math/.github/FUNDING.yml +0 -1
  8. package/vendor/brick/math/.github/workflows/ci.yml +0 -80
  9. package/vendor/brick/math/CHANGELOG.md +0 -445
  10. package/vendor/brick/math/LICENSE +0 -20
  11. package/vendor/brick/math/README.md +0 -247
  12. package/vendor/brick/math/composer.json +0 -34
  13. package/vendor/brick/math/phpunit.php +0 -51
  14. package/vendor/brick/math/phpunit.xml +0 -13
  15. package/vendor/brick/math/psalm.xml +0 -28
  16. package/vendor/brick/math/random-tests.php +0 -162
  17. package/vendor/brick/math/src/BigDecimal.php +0 -786
  18. package/vendor/brick/math/src/BigInteger.php +0 -1079
  19. package/vendor/brick/math/src/BigNumber.php +0 -512
  20. package/vendor/brick/math/src/BigRational.php +0 -445
  21. package/vendor/brick/math/src/Exception/DivisionByZeroException.php +0 -35
  22. package/vendor/brick/math/src/Exception/IntegerOverflowException.php +0 -23
  23. package/vendor/brick/math/src/Exception/MathException.php +0 -12
  24. package/vendor/brick/math/src/Exception/NegativeNumberException.php +0 -12
  25. package/vendor/brick/math/src/Exception/NumberFormatException.php +0 -33
  26. package/vendor/brick/math/src/Exception/RoundingNecessaryException.php +0 -19
  27. package/vendor/brick/math/src/Internal/Calculator/BcMathCalculator.php +0 -75
  28. package/vendor/brick/math/src/Internal/Calculator/GmpCalculator.php +0 -108
  29. package/vendor/brick/math/src/Internal/Calculator/NativeCalculator.php +0 -581
  30. package/vendor/brick/math/src/Internal/Calculator.php +0 -676
  31. package/vendor/brick/math/src/RoundingMode.php +0 -107
  32. package/vendor/brick/math/tests/AbstractTestCase.php +0 -86
  33. package/vendor/brick/math/tests/BigDecimalTest.php +0 -2596
  34. package/vendor/brick/math/tests/BigIntegerTest.php +0 -3782
  35. package/vendor/brick/math/tests/BigNumberTest.php +0 -53
  36. package/vendor/brick/math/tests/BigRationalTest.php +0 -993
  37. package/vendor/brick/math/tests/CalculatorDetectTest.php +0 -25
  38. package/vendor/brick/math/tests/Internal/Calculator/NativeCalculatorTest.php +0 -87
  39. package/vendor/firebase/php-jwt/.gitattributes +0 -9
  40. package/vendor/firebase/php-jwt/.github/release-please.yml +0 -3
  41. package/vendor/firebase/php-jwt/.github/workflows/tests.yml +0 -57
  42. package/vendor/firebase/php-jwt/.php-cs-fixer.dist.php +0 -24
  43. package/vendor/firebase/php-jwt/CHANGELOG.md +0 -170
  44. package/vendor/firebase/php-jwt/LICENSE +0 -30
  45. package/vendor/firebase/php-jwt/README.md +0 -424
  46. package/vendor/firebase/php-jwt/composer.json +0 -42
  47. package/vendor/firebase/php-jwt/phpstan.neon.dist +0 -5
  48. package/vendor/firebase/php-jwt/phpunit.xml.dist +0 -18
  49. package/vendor/firebase/php-jwt/src/BeforeValidException.php +0 -18
  50. package/vendor/firebase/php-jwt/src/CachedKeySet.php +0 -268
  51. package/vendor/firebase/php-jwt/src/ExpiredException.php +0 -18
  52. package/vendor/firebase/php-jwt/src/JWK.php +0 -349
  53. package/vendor/firebase/php-jwt/src/JWT.php +0 -669
  54. package/vendor/firebase/php-jwt/src/JWTExceptionWithPayloadInterface.php +0 -20
  55. package/vendor/firebase/php-jwt/src/Key.php +0 -64
  56. package/vendor/firebase/php-jwt/src/SignatureInvalidException.php +0 -7
  57. package/vendor/firebase/php-jwt/tests/CachedKeySetTest.php +0 -598
  58. package/vendor/firebase/php-jwt/tests/JWKTest.php +0 -172
  59. package/vendor/firebase/php-jwt/tests/JWTTest.php +0 -543
  60. package/vendor/firebase/php-jwt/tests/data/ec-jwkset.json +0 -40
  61. package/vendor/firebase/php-jwt/tests/data/ecdsa-private.pem +0 -18
  62. package/vendor/firebase/php-jwt/tests/data/ecdsa-public.pem +0 -9
  63. package/vendor/firebase/php-jwt/tests/data/ecdsa256-private.pem +0 -4
  64. package/vendor/firebase/php-jwt/tests/data/ecdsa384-private.pem +0 -6
  65. package/vendor/firebase/php-jwt/tests/data/ecdsa384-public.pem +0 -5
  66. package/vendor/firebase/php-jwt/tests/data/ed25519-1.pub +0 -1
  67. package/vendor/firebase/php-jwt/tests/data/ed25519-1.sec +0 -1
  68. package/vendor/firebase/php-jwt/tests/data/ed25519-jwkset.json +0 -11
  69. package/vendor/firebase/php-jwt/tests/data/rsa-jwkset.json +0 -18
  70. package/vendor/firebase/php-jwt/tests/data/rsa-with-passphrase.pem +0 -42
  71. package/vendor/firebase/php-jwt/tests/data/rsa1-private.pem +0 -27
  72. package/vendor/firebase/php-jwt/tests/data/rsa1-public.pub +0 -9
  73. package/vendor/firebase/php-jwt/tests/data/rsa2-private.pem +0 -27
  74. package/vendor/firebase/php-jwt/tests/data/secp256k1-private.pem +0 -5
  75. package/vendor/firebase/php-jwt/tests/data/secp256k1-public.pem +0 -4
  76. package/vendor/graham-campbell/result-type/.gitattributes +0 -9
  77. package/vendor/graham-campbell/result-type/.github/CODE_OF_CONDUCT.md +0 -132
  78. package/vendor/graham-campbell/result-type/.github/CONTRIBUTING.md +0 -31
  79. package/vendor/graham-campbell/result-type/.github/FUNDING.yml +0 -2
  80. package/vendor/graham-campbell/result-type/.github/SECURITY.md +0 -14
  81. package/vendor/graham-campbell/result-type/.github/workflows/tests.yml +0 -40
  82. package/vendor/graham-campbell/result-type/CHANGELOG.md +0 -43
  83. package/vendor/graham-campbell/result-type/LICENSE +0 -21
  84. package/vendor/graham-campbell/result-type/README.md +0 -42
  85. package/vendor/graham-campbell/result-type/composer.json +0 -33
  86. package/vendor/graham-campbell/result-type/phpunit.xml.dist +0 -13
  87. package/vendor/graham-campbell/result-type/src/Error.php +0 -121
  88. package/vendor/graham-campbell/result-type/src/Result.php +0 -69
  89. package/vendor/graham-campbell/result-type/src/Success.php +0 -120
  90. package/vendor/graham-campbell/result-type/tests/ResultTest.php +0 -95
  91. package/vendor/hidehalo/nanoid-php/.editorconfig +0 -15
  92. package/vendor/hidehalo/nanoid-php/.gitattributes +0 -8
  93. package/vendor/hidehalo/nanoid-php/.github/workflows/php.yml +0 -49
  94. package/vendor/hidehalo/nanoid-php/.styleci.yml +0 -1
  95. package/vendor/hidehalo/nanoid-php/CHANGELOG.md +0 -36
  96. package/vendor/hidehalo/nanoid-php/CODE_OF_CONDUCT.md +0 -74
  97. package/vendor/hidehalo/nanoid-php/CONTRIBUTING.md +0 -32
  98. package/vendor/hidehalo/nanoid-php/ISSUE_TEMPLATE.md +0 -27
  99. package/vendor/hidehalo/nanoid-php/LICENSE.md +0 -21
  100. package/vendor/hidehalo/nanoid-php/PULL_REQUEST_TEMPLATE.md +0 -43
  101. package/vendor/hidehalo/nanoid-php/README.md +0 -108
  102. package/vendor/hidehalo/nanoid-php/benchmark/benchmark.php +0 -24
  103. package/vendor/hidehalo/nanoid-php/composer.json +0 -62
  104. package/vendor/hidehalo/nanoid-php/examples/basic_usage.php +0 -24
  105. package/vendor/hidehalo/nanoid-php/examples/custom_formated.php +0 -29
  106. package/vendor/hidehalo/nanoid-php/phpunit.xml +0 -31
  107. package/vendor/hidehalo/nanoid-php/src/Client.php +0 -120
  108. package/vendor/hidehalo/nanoid-php/src/Core.php +0 -31
  109. package/vendor/hidehalo/nanoid-php/src/CoreInterface.php +0 -19
  110. package/vendor/hidehalo/nanoid-php/src/Generator.php +0 -13
  111. package/vendor/hidehalo/nanoid-php/src/GeneratorInterface.php +0 -13
  112. package/vendor/hidehalo/nanoid-php/tests/ClientTest.php +0 -76
  113. package/vendor/hidehalo/nanoid-php/tests/CoreTest.php +0 -37
  114. package/vendor/hidehalo/nanoid-php/tests/GeneratorTest.php +0 -34
  115. package/vendor/hidehalo/nanoid-php/tests/Support/DummyGenerator.php +0 -20
  116. package/vendor/paragonie/random_compat/.gitattributes +0 -14
  117. package/vendor/paragonie/random_compat/.scrutinizer.yml +0 -4
  118. package/vendor/paragonie/random_compat/.travis.yml +0 -59
  119. package/vendor/paragonie/random_compat/CHANGELOG.md +0 -3
  120. package/vendor/paragonie/random_compat/LICENSE +0 -22
  121. package/vendor/paragonie/random_compat/RATIONALE.md +0 -36
  122. package/vendor/paragonie/random_compat/README.md +0 -232
  123. package/vendor/paragonie/random_compat/SECURITY.md +0 -108
  124. package/vendor/paragonie/random_compat/build-phar.sh +0 -5
  125. package/vendor/paragonie/random_compat/composer.json +0 -34
  126. package/vendor/paragonie/random_compat/dist/random_compat.phar.pubkey +0 -5
  127. package/vendor/paragonie/random_compat/dist/random_compat.phar.pubkey.asc +0 -11
  128. package/vendor/paragonie/random_compat/lib/random.php +0 -32
  129. package/vendor/paragonie/random_compat/other/build_phar.php +0 -57
  130. package/vendor/paragonie/random_compat/other/ide_stubs/COM.php +0 -20
  131. package/vendor/paragonie/random_compat/other/ide_stubs/README.md +0 -7
  132. package/vendor/paragonie/random_compat/other/ide_stubs/com_exception.php +0 -11
  133. package/vendor/paragonie/random_compat/other/ide_stubs/libsodium.php +0 -90
  134. package/vendor/paragonie/random_compat/phpunit.sh +0 -60
  135. package/vendor/paragonie/random_compat/phpunit.xml.dist +0 -31
  136. package/vendor/paragonie/random_compat/psalm-autoload.php +0 -9
  137. package/vendor/paragonie/random_compat/psalm.xml +0 -19
  138. package/vendor/paragonie/random_compat/tests/full/DieHardTest.php +0 -61
  139. package/vendor/paragonie/random_compat/tests/full/StatTest.php +0 -52
  140. package/vendor/paragonie/random_compat/tests/specific/capicom.php +0 -7
  141. package/vendor/paragonie/random_compat/tests/specific/dev_urandom.php +0 -7
  142. package/vendor/paragonie/random_compat/tests/specific/libsodium.php +0 -7
  143. package/vendor/paragonie/random_compat/tests/specific/libsodium_legacy.php +0 -7
  144. package/vendor/paragonie/random_compat/tests/specific/mcrypt.php +0 -7
  145. package/vendor/paragonie/random_compat/tests/unit/RandomBytesTest.php +0 -80
  146. package/vendor/paragonie/random_compat/tests/unit/RandomIntTest.php +0 -63
  147. package/vendor/paragonie/random_compat/tests/unit/UtilityTest.php +0 -95
  148. package/vendor/paragonie/random_compat/tests/unit_with_basedir/RandomBytesTest.php +0 -100
  149. package/vendor/paragonie/random_compat/tests/unit_with_basedir/RandomIntTest.php +0 -82
  150. package/vendor/paragonie/random_compat/tests/unit_with_basedir/UtilityTest.php +0 -95
  151. package/vendor/phpoption/phpoption/.gitattributes +0 -14
  152. package/vendor/phpoption/phpoption/.github/CODE_OF_CONDUCT.md +0 -132
  153. package/vendor/phpoption/phpoption/.github/CONTRIBUTING.md +0 -30
  154. package/vendor/phpoption/phpoption/.github/FUNDING.yml +0 -2
  155. package/vendor/phpoption/phpoption/.github/SECURITY.md +0 -14
  156. package/vendor/phpoption/phpoption/.github/workflows/static.yml +0 -74
  157. package/vendor/phpoption/phpoption/.github/workflows/tests.yml +0 -40
  158. package/vendor/phpoption/phpoption/LICENSE +0 -201
  159. package/vendor/phpoption/phpoption/Makefile +0 -26
  160. package/vendor/phpoption/phpoption/README.md +0 -194
  161. package/vendor/phpoption/phpoption/composer.json +0 -52
  162. package/vendor/phpoption/phpoption/phpstan-baseline.neon +0 -32
  163. package/vendor/phpoption/phpoption/phpstan.neon.dist +0 -8
  164. package/vendor/phpoption/phpoption/phpunit.xml.dist +0 -13
  165. package/vendor/phpoption/phpoption/psalm.xml +0 -12
  166. package/vendor/phpoption/phpoption/src/PhpOption/LazyOption.php +0 -175
  167. package/vendor/phpoption/phpoption/src/PhpOption/None.php +0 -136
  168. package/vendor/phpoption/phpoption/src/PhpOption/Option.php +0 -434
  169. package/vendor/phpoption/phpoption/src/PhpOption/Some.php +0 -169
  170. package/vendor/phpoption/phpoption/tests/PhpOption/Tests/EnsureTest.php +0 -77
  171. package/vendor/phpoption/phpoption/tests/PhpOption/Tests/LazyOptionTest.php +0 -200
  172. package/vendor/phpoption/phpoption/tests/PhpOption/Tests/NoneTest.php +0 -153
  173. package/vendor/phpoption/phpoption/tests/PhpOption/Tests/OptionTest.php +0 -160
  174. package/vendor/phpoption/phpoption/tests/PhpOption/Tests/SomeTest.php +0 -194
  175. package/vendor/phpoption/phpoption/tests/bootstrap.php +0 -8
  176. package/vendor/phpoption/phpoption/vendor-bin/phpstan/composer.json +0 -8
  177. package/vendor/phpoption/phpoption/vendor-bin/psalm/composer.json +0 -8
  178. package/vendor/ramsey/uuid/.editorconfig +0 -16
  179. package/vendor/ramsey/uuid/.gitattributes +0 -26
  180. package/vendor/ramsey/uuid/.github/CODEOWNERS +0 -1
  181. package/vendor/ramsey/uuid/.github/FUNDING.yml +0 -2
  182. package/vendor/ramsey/uuid/.github/ISSUE_TEMPLATE/Bug_Report.md +0 -35
  183. package/vendor/ramsey/uuid/.github/ISSUE_TEMPLATE/Feature_Request.md +0 -31
  184. package/vendor/ramsey/uuid/.github/ISSUE_TEMPLATE/Question.md +0 -19
  185. package/vendor/ramsey/uuid/.github/ISSUE_TEMPLATE/config.yml +0 -1
  186. package/vendor/ramsey/uuid/.github/dependabot.yml +0 -15
  187. package/vendor/ramsey/uuid/.github/pull_request_template.md +0 -27
  188. package/vendor/ramsey/uuid/.github/workflows/continuous-integration.yml +0 -181
  189. package/vendor/ramsey/uuid/.github/workflows/merge-dependabot-upgrades.yml +0 -24
  190. package/vendor/ramsey/uuid/.readthedocs.yml +0 -11
  191. package/vendor/ramsey/uuid/CHANGELOG.md +0 -1511
  192. package/vendor/ramsey/uuid/CODE_OF_CONDUCT.md +0 -73
  193. package/vendor/ramsey/uuid/CONTRIBUTING.md +0 -171
  194. package/vendor/ramsey/uuid/LICENSE +0 -19
  195. package/vendor/ramsey/uuid/README.md +0 -83
  196. package/vendor/ramsey/uuid/SECURITY.md +0 -170
  197. package/vendor/ramsey/uuid/build/.gitignore +0 -6
  198. package/vendor/ramsey/uuid/build/cache/.gitkeep +0 -0
  199. package/vendor/ramsey/uuid/build/logs/.gitkeep +0 -0
  200. package/vendor/ramsey/uuid/captainhook.json +0 -105
  201. package/vendor/ramsey/uuid/codecov.yml +0 -29
  202. package/vendor/ramsey/uuid/composer.json +0 -106
  203. package/vendor/ramsey/uuid/composer.lock +0 -7208
  204. package/vendor/ramsey/uuid/docs/Makefile +0 -20
  205. package/vendor/ramsey/uuid/docs/README.md +0 -36
  206. package/vendor/ramsey/uuid/docs/_static/.gitkeep +0 -0
  207. package/vendor/ramsey/uuid/docs/conf.py +0 -103
  208. package/vendor/ramsey/uuid/docs/copyright.rst +0 -18
  209. package/vendor/ramsey/uuid/docs/customize/calculators.rst +0 -75
  210. package/vendor/ramsey/uuid/docs/customize/factory.rst +0 -93
  211. package/vendor/ramsey/uuid/docs/customize/ordered-time-codec.rst +0 -86
  212. package/vendor/ramsey/uuid/docs/customize/timestamp-first-comb-codec.rst +0 -72
  213. package/vendor/ramsey/uuid/docs/customize/validators.rst +0 -39
  214. package/vendor/ramsey/uuid/docs/customize.rst +0 -56
  215. package/vendor/ramsey/uuid/docs/database.rst +0 -260
  216. package/vendor/ramsey/uuid/docs/faq.rst +0 -132
  217. package/vendor/ramsey/uuid/docs/index.rst +0 -51
  218. package/vendor/ramsey/uuid/docs/introduction.rst +0 -31
  219. package/vendor/ramsey/uuid/docs/nonstandard/guid.rst +0 -152
  220. package/vendor/ramsey/uuid/docs/nonstandard/other.rst +0 -49
  221. package/vendor/ramsey/uuid/docs/nonstandard/version6.rst +0 -17
  222. package/vendor/ramsey/uuid/docs/nonstandard.rst +0 -40
  223. package/vendor/ramsey/uuid/docs/quickstart.rst +0 -112
  224. package/vendor/ramsey/uuid/docs/reference/calculators.rst +0 -168
  225. package/vendor/ramsey/uuid/docs/reference/exceptions.rst +0 -92
  226. package/vendor/ramsey/uuid/docs/reference/fields-fieldsinterface.rst +0 -16
  227. package/vendor/ramsey/uuid/docs/reference/guid-fields.rst +0 -13
  228. package/vendor/ramsey/uuid/docs/reference/guid-guid.rst +0 -20
  229. package/vendor/ramsey/uuid/docs/reference/helper.rst +0 -62
  230. package/vendor/ramsey/uuid/docs/reference/name-based-namespaces.rst +0 -31
  231. package/vendor/ramsey/uuid/docs/reference/nonstandard-fields.rst +0 -13
  232. package/vendor/ramsey/uuid/docs/reference/nonstandard-uuid.rst +0 -20
  233. package/vendor/ramsey/uuid/docs/reference/nonstandard-uuidv6.rst +0 -34
  234. package/vendor/ramsey/uuid/docs/reference/rfc4122-fieldsinterface.rst +0 -78
  235. package/vendor/ramsey/uuid/docs/reference/rfc4122-uuidinterface.rst +0 -20
  236. package/vendor/ramsey/uuid/docs/reference/rfc4122-uuidv1.rst +0 -21
  237. package/vendor/ramsey/uuid/docs/reference/rfc4122-uuidv2.rst +0 -47
  238. package/vendor/ramsey/uuid/docs/reference/rfc4122-uuidv3.rst +0 -13
  239. package/vendor/ramsey/uuid/docs/reference/rfc4122-uuidv4.rst +0 -13
  240. package/vendor/ramsey/uuid/docs/reference/rfc4122-uuidv5.rst +0 -13
  241. package/vendor/ramsey/uuid/docs/reference/rfc4122-uuidv6.rst +0 -31
  242. package/vendor/ramsey/uuid/docs/reference/rfc4122-uuidv7.rst +0 -20
  243. package/vendor/ramsey/uuid/docs/reference/rfc4122-uuidv8.rst +0 -13
  244. package/vendor/ramsey/uuid/docs/reference/rfc4122-version.rst +0 -87
  245. package/vendor/ramsey/uuid/docs/reference/timebaseduuidinterface.rst +0 -16
  246. package/vendor/ramsey/uuid/docs/reference/types.rst +0 -79
  247. package/vendor/ramsey/uuid/docs/reference/uuid.rst +0 -161
  248. package/vendor/ramsey/uuid/docs/reference/uuidfactoryinterface.rst +0 -102
  249. package/vendor/ramsey/uuid/docs/reference/uuidinterface.rst +0 -60
  250. package/vendor/ramsey/uuid/docs/reference/validators.rst +0 -34
  251. package/vendor/ramsey/uuid/docs/reference/variant.rst +0 -32
  252. package/vendor/ramsey/uuid/docs/reference.rst +0 -37
  253. package/vendor/ramsey/uuid/docs/requirements.txt +0 -3
  254. package/vendor/ramsey/uuid/docs/rfc4122/version1.rst +0 -192
  255. package/vendor/ramsey/uuid/docs/rfc4122/version2.rst +0 -273
  256. package/vendor/ramsey/uuid/docs/rfc4122/version3.rst +0 -68
  257. package/vendor/ramsey/uuid/docs/rfc4122/version4.rst +0 -39
  258. package/vendor/ramsey/uuid/docs/rfc4122/version5.rst +0 -108
  259. package/vendor/ramsey/uuid/docs/rfc4122/version6.rst +0 -213
  260. package/vendor/ramsey/uuid/docs/rfc4122/version7.rst +0 -173
  261. package/vendor/ramsey/uuid/docs/rfc4122/version8.rst +0 -51
  262. package/vendor/ramsey/uuid/docs/rfc4122.rst +0 -67
  263. package/vendor/ramsey/uuid/docs/testing.rst +0 -199
  264. package/vendor/ramsey/uuid/docs/tidelift.rst +0 -74
  265. package/vendor/ramsey/uuid/docs/upgrading/2-to-3.rst +0 -31
  266. package/vendor/ramsey/uuid/docs/upgrading/3-to-4.rst +0 -512
  267. package/vendor/ramsey/uuid/docs/upgrading.rst +0 -11
  268. package/vendor/ramsey/uuid/phpbench.json +0 -10
  269. package/vendor/ramsey/uuid/phpcs.xml.dist +0 -476
  270. package/vendor/ramsey/uuid/phpstan-tests.neon +0 -32
  271. package/vendor/ramsey/uuid/phpstan.neon.dist +0 -25
  272. package/vendor/ramsey/uuid/phpunit.xml.dist +0 -26
  273. package/vendor/ramsey/uuid/psalm-baseline.xml +0 -133
  274. package/vendor/ramsey/uuid/psalm.xml +0 -25
  275. package/vendor/ramsey/uuid/resources/vagrant/README.md +0 -10
  276. package/vendor/ramsey/uuid/resources/vagrant/freebsd/README.md +0 -15
  277. package/vendor/ramsey/uuid/resources/vagrant/freebsd/Vagrantfile +0 -35
  278. package/vendor/ramsey/uuid/resources/vagrant/linux/README.md +0 -15
  279. package/vendor/ramsey/uuid/resources/vagrant/linux/Vagrantfile +0 -27
  280. package/vendor/ramsey/uuid/resources/vagrant/windows/README.md +0 -16
  281. package/vendor/ramsey/uuid/resources/vagrant/windows/Vagrantfile +0 -22
  282. package/vendor/ramsey/uuid/src/BinaryUtils.php +0 -106
  283. package/vendor/ramsey/uuid/src/Builder/FallbackBuilder.php +0 -68
  284. package/vendor/ramsey/uuid/src/Builder/UuidBuilderInterface.php +0 -39
  285. package/vendor/ramsey/uuid/src/Codec/CodecInterface.php +0 -67
  286. package/vendor/ramsey/uuid/src/Codec/GuidStringCodec.php +0 -82
  287. package/vendor/ramsey/uuid/src/Codec/OrderedTimeCodec.php +0 -114
  288. package/vendor/ramsey/uuid/src/Codec/StringCodec.php +0 -128
  289. package/vendor/ramsey/uuid/src/Codec/TimestampFirstCombCodec.php +0 -105
  290. package/vendor/ramsey/uuid/src/Codec/TimestampLastCombCodec.php +0 -51
  291. package/vendor/ramsey/uuid/src/Converter/Number/GenericNumberConverter.php +0 -48
  292. package/vendor/ramsey/uuid/src/Converter/NumberConverterInterface.php +0 -53
  293. package/vendor/ramsey/uuid/src/Converter/Time/GenericTimeConverter.php +0 -118
  294. package/vendor/ramsey/uuid/src/Converter/Time/PhpTimeConverter.php +0 -163
  295. package/vendor/ramsey/uuid/src/Converter/Time/UnixTimeConverter.php +0 -90
  296. package/vendor/ramsey/uuid/src/Converter/TimeConverterInterface.php +0 -58
  297. package/vendor/ramsey/uuid/src/Exception/BuilderNotFoundException.php +0 -24
  298. package/vendor/ramsey/uuid/src/Exception/DateTimeException.php +0 -24
  299. package/vendor/ramsey/uuid/src/Exception/DceSecurityException.php +0 -25
  300. package/vendor/ramsey/uuid/src/Exception/InvalidArgumentException.php +0 -24
  301. package/vendor/ramsey/uuid/src/Exception/InvalidBytesException.php +0 -24
  302. package/vendor/ramsey/uuid/src/Exception/InvalidUuidStringException.php +0 -25
  303. package/vendor/ramsey/uuid/src/Exception/NameException.php +0 -25
  304. package/vendor/ramsey/uuid/src/Exception/NodeException.php +0 -24
  305. package/vendor/ramsey/uuid/src/Exception/RandomSourceException.php +0 -27
  306. package/vendor/ramsey/uuid/src/Exception/TimeSourceException.php +0 -24
  307. package/vendor/ramsey/uuid/src/Exception/UnableToBuildUuidException.php +0 -24
  308. package/vendor/ramsey/uuid/src/Exception/UnsupportedOperationException.php +0 -24
  309. package/vendor/ramsey/uuid/src/Exception/UuidExceptionInterface.php +0 -21
  310. package/vendor/ramsey/uuid/src/FeatureSet.php +0 -395
  311. package/vendor/ramsey/uuid/src/Fields/FieldsInterface.php +0 -42
  312. package/vendor/ramsey/uuid/src/Fields/SerializableFieldsTrait.php +0 -70
  313. package/vendor/ramsey/uuid/src/Generator/CombGenerator.php +0 -124
  314. package/vendor/ramsey/uuid/src/Generator/DceSecurityGenerator.php +0 -139
  315. package/vendor/ramsey/uuid/src/Generator/DceSecurityGeneratorInterface.php +0 -53
  316. package/vendor/ramsey/uuid/src/Generator/DefaultNameGenerator.php +0 -51
  317. package/vendor/ramsey/uuid/src/Generator/DefaultTimeGenerator.php +0 -131
  318. package/vendor/ramsey/uuid/src/Generator/NameGeneratorFactory.php +0 -30
  319. package/vendor/ramsey/uuid/src/Generator/NameGeneratorInterface.php +0 -38
  320. package/vendor/ramsey/uuid/src/Generator/PeclUuidNameGenerator.php +0 -52
  321. package/vendor/ramsey/uuid/src/Generator/PeclUuidRandomGenerator.php +0 -37
  322. package/vendor/ramsey/uuid/src/Generator/PeclUuidTimeGenerator.php +0 -39
  323. package/vendor/ramsey/uuid/src/Generator/RandomBytesGenerator.php +0 -45
  324. package/vendor/ramsey/uuid/src/Generator/RandomGeneratorFactory.php +0 -30
  325. package/vendor/ramsey/uuid/src/Generator/RandomGeneratorInterface.php +0 -31
  326. package/vendor/ramsey/uuid/src/Generator/TimeGeneratorFactory.php +0 -45
  327. package/vendor/ramsey/uuid/src/Generator/TimeGeneratorInterface.php +0 -38
  328. package/vendor/ramsey/uuid/src/Generator/UnixTimeGenerator.php +0 -170
  329. package/vendor/ramsey/uuid/src/Guid/Fields.php +0 -208
  330. package/vendor/ramsey/uuid/src/Guid/Guid.php +0 -61
  331. package/vendor/ramsey/uuid/src/Guid/GuidBuilder.php +0 -79
  332. package/vendor/ramsey/uuid/src/Lazy/LazyUuidFromString.php +0 -226
  333. package/vendor/ramsey/uuid/src/Math/BrickMathCalculator.php +0 -145
  334. package/vendor/ramsey/uuid/src/Math/CalculatorInterface.php +0 -106
  335. package/vendor/ramsey/uuid/src/Math/RoundingMode.php +0 -146
  336. package/vendor/ramsey/uuid/src/Nonstandard/Fields.php +0 -154
  337. package/vendor/ramsey/uuid/src/Nonstandard/Uuid.php +0 -37
  338. package/vendor/ramsey/uuid/src/Nonstandard/UuidBuilder.php +0 -78
  339. package/vendor/ramsey/uuid/src/Nonstandard/UuidV6.php +0 -113
  340. package/vendor/ramsey/uuid/src/Provider/Dce/SystemDceSecurityProvider.php +0 -236
  341. package/vendor/ramsey/uuid/src/Provider/DceSecurityProviderInterface.php +0 -41
  342. package/vendor/ramsey/uuid/src/Provider/Node/FallbackNodeProvider.php +0 -54
  343. package/vendor/ramsey/uuid/src/Provider/Node/RandomNodeProvider.php +0 -69
  344. package/vendor/ramsey/uuid/src/Provider/Node/StaticNodeProvider.php +0 -74
  345. package/vendor/ramsey/uuid/src/Provider/Node/SystemNodeProvider.php +0 -190
  346. package/vendor/ramsey/uuid/src/Provider/NodeProviderInterface.php +0 -30
  347. package/vendor/ramsey/uuid/src/Provider/Time/FixedTimeProvider.php +0 -57
  348. package/vendor/ramsey/uuid/src/Provider/Time/SystemTimeProvider.php +0 -33
  349. package/vendor/ramsey/uuid/src/Provider/TimeProviderInterface.php +0 -28
  350. package/vendor/ramsey/uuid/src/Rfc4122/Fields.php +0 -214
  351. package/vendor/ramsey/uuid/src/Rfc4122/FieldsInterface.php +0 -129
  352. package/vendor/ramsey/uuid/src/Rfc4122/MaxTrait.php +0 -41
  353. package/vendor/ramsey/uuid/src/Rfc4122/MaxUuid.php +0 -27
  354. package/vendor/ramsey/uuid/src/Rfc4122/NilTrait.php +0 -41
  355. package/vendor/ramsey/uuid/src/Rfc4122/NilUuid.php +0 -27
  356. package/vendor/ramsey/uuid/src/Rfc4122/TimeTrait.php +0 -55
  357. package/vendor/ramsey/uuid/src/Rfc4122/UuidBuilder.php +0 -116
  358. package/vendor/ramsey/uuid/src/Rfc4122/UuidInterface.php +0 -30
  359. package/vendor/ramsey/uuid/src/Rfc4122/UuidV1.php +0 -61
  360. package/vendor/ramsey/uuid/src/Rfc4122/UuidV2.php +0 -119
  361. package/vendor/ramsey/uuid/src/Rfc4122/UuidV3.php +0 -58
  362. package/vendor/ramsey/uuid/src/Rfc4122/UuidV4.php +0 -58
  363. package/vendor/ramsey/uuid/src/Rfc4122/UuidV5.php +0 -58
  364. package/vendor/ramsey/uuid/src/Rfc4122/UuidV6.php +0 -30
  365. package/vendor/ramsey/uuid/src/Rfc4122/UuidV7.php +0 -63
  366. package/vendor/ramsey/uuid/src/Rfc4122/UuidV8.php +0 -65
  367. package/vendor/ramsey/uuid/src/Rfc4122/Validator.php +0 -45
  368. package/vendor/ramsey/uuid/src/Rfc4122/VariantTrait.php +0 -87
  369. package/vendor/ramsey/uuid/src/Rfc4122/Version.php +0 -139
  370. package/vendor/ramsey/uuid/src/Rfc4122/VersionTrait.php +0 -57
  371. package/vendor/ramsey/uuid/src/TimeBasedUuidFactoryInterface.php +0 -48
  372. package/vendor/ramsey/uuid/src/TimeBasedUuidInterface.php +0 -30
  373. package/vendor/ramsey/uuid/src/Type/Decimal.php +0 -135
  374. package/vendor/ramsey/uuid/src/Type/Hexadecimal.php +0 -109
  375. package/vendor/ramsey/uuid/src/Type/Integer.php +0 -145
  376. package/vendor/ramsey/uuid/src/Type/NumberInterface.php +0 -28
  377. package/vendor/ramsey/uuid/src/Type/Time.php +0 -108
  378. package/vendor/ramsey/uuid/src/Type/TypeInterface.php +0 -45
  379. package/vendor/ramsey/uuid/src/Uuid.php +0 -645
  380. package/vendor/ramsey/uuid/src/UuidFactory.php +0 -503
  381. package/vendor/ramsey/uuid/src/UuidFactoryInterface.php +0 -184
  382. package/vendor/ramsey/uuid/src/UuidInterface.php +0 -114
  383. package/vendor/ramsey/uuid/src/Validator/GenericValidator.php +0 -45
  384. package/vendor/ramsey/uuid/src/Validator/ValidatorInterface.php +0 -39
  385. package/vendor/ramsey/uuid/src/Variant.php +0 -60
  386. package/vendor/ramsey/uuid/src/functions.php +0 -160
  387. package/vendor/ramsey/uuid/tests/BinaryUtilsTest.php +0 -381
  388. package/vendor/ramsey/uuid/tests/Builder/FallbackBuilderTest.php +0 -198
  389. package/vendor/ramsey/uuid/tests/Codec/GuidStringCodecTest.php +0 -118
  390. package/vendor/ramsey/uuid/tests/Codec/OrderedTimeCodecTest.php +0 -258
  391. package/vendor/ramsey/uuid/tests/Codec/StringCodecTest.php +0 -149
  392. package/vendor/ramsey/uuid/tests/Converter/Number/GenericNumberConverterTest.php +0 -28
  393. package/vendor/ramsey/uuid/tests/Converter/Time/GenericTimeConverterTest.php +0 -147
  394. package/vendor/ramsey/uuid/tests/Converter/Time/PhpTimeConverterTest.php +0 -199
  395. package/vendor/ramsey/uuid/tests/Converter/Time/UnixTimeConverterTest.php +0 -202
  396. package/vendor/ramsey/uuid/tests/Encoder/TimestampFirstCombCodecTest.php +0 -105
  397. package/vendor/ramsey/uuid/tests/Encoder/TimestampLastCombCodecTest.php +0 -106
  398. package/vendor/ramsey/uuid/tests/ExpectedBehaviorTest.php +0 -573
  399. package/vendor/ramsey/uuid/tests/FeatureSetTest.php +0 -88
  400. package/vendor/ramsey/uuid/tests/FunctionsTest.php +0 -151
  401. package/vendor/ramsey/uuid/tests/Generator/CombGeneratorTest.php +0 -134
  402. package/vendor/ramsey/uuid/tests/Generator/DceSecurityGeneratorTest.php +0 -282
  403. package/vendor/ramsey/uuid/tests/Generator/DefaultNameGeneratorTest.php +0 -83
  404. package/vendor/ramsey/uuid/tests/Generator/DefaultTimeGeneratorTest.php +0 -202
  405. package/vendor/ramsey/uuid/tests/Generator/NameGeneratorFactoryTest.php +0 -19
  406. package/vendor/ramsey/uuid/tests/Generator/PeclUuidNameGeneratorTest.php +0 -107
  407. package/vendor/ramsey/uuid/tests/Generator/PeclUuidRandomGeneratorTest.php +0 -30
  408. package/vendor/ramsey/uuid/tests/Generator/PeclUuidTimeGeneratorTest.php +0 -30
  409. package/vendor/ramsey/uuid/tests/Generator/RandomBytesGeneratorTest.php +0 -70
  410. package/vendor/ramsey/uuid/tests/Generator/RandomGeneratorFactoryTest.php +0 -19
  411. package/vendor/ramsey/uuid/tests/Generator/TimeGeneratorFactoryTest.php +0 -33
  412. package/vendor/ramsey/uuid/tests/Generator/UnixTimeGeneratorTest.php +0 -204
  413. package/vendor/ramsey/uuid/tests/Guid/FieldsTest.php +0 -235
  414. package/vendor/ramsey/uuid/tests/Guid/GuidBuilderTest.php +0 -33
  415. package/vendor/ramsey/uuid/tests/Math/BrickMathCalculatorTest.php +0 -116
  416. package/vendor/ramsey/uuid/tests/Nonstandard/FieldsTest.php +0 -84
  417. package/vendor/ramsey/uuid/tests/Nonstandard/UuidBuilderTest.php +0 -33
  418. package/vendor/ramsey/uuid/tests/Nonstandard/UuidV6Test.php +0 -192
  419. package/vendor/ramsey/uuid/tests/Provider/Dce/SystemDceSecurityProviderTest.php +0 -505
  420. package/vendor/ramsey/uuid/tests/Provider/Node/FallbackNodeProviderTest.php +0 -87
  421. package/vendor/ramsey/uuid/tests/Provider/Node/RandomNodeProviderTest.php +0 -124
  422. package/vendor/ramsey/uuid/tests/Provider/Node/StaticNodeProviderTest.php +0 -58
  423. package/vendor/ramsey/uuid/tests/Provider/Node/SystemNodeProviderTest.php +0 -950
  424. package/vendor/ramsey/uuid/tests/Provider/Time/FixedTimeProviderTest.php +0 -41
  425. package/vendor/ramsey/uuid/tests/Provider/Time/SystemTimeProviderTest.php +0 -20
  426. package/vendor/ramsey/uuid/tests/Rfc4122/FieldsTest.php +0 -260
  427. package/vendor/ramsey/uuid/tests/Rfc4122/UuidBuilderTest.php +0 -145
  428. package/vendor/ramsey/uuid/tests/Rfc4122/UuidV1Test.php +0 -123
  429. package/vendor/ramsey/uuid/tests/Rfc4122/UuidV2Test.php +0 -214
  430. package/vendor/ramsey/uuid/tests/Rfc4122/UuidV3Test.php +0 -56
  431. package/vendor/ramsey/uuid/tests/Rfc4122/UuidV4Test.php +0 -56
  432. package/vendor/ramsey/uuid/tests/Rfc4122/UuidV5Test.php +0 -56
  433. package/vendor/ramsey/uuid/tests/Rfc4122/UuidV6Test.php +0 -221
  434. package/vendor/ramsey/uuid/tests/Rfc4122/UuidV7Test.php +0 -131
  435. package/vendor/ramsey/uuid/tests/Rfc4122/UuidV8Test.php +0 -56
  436. package/vendor/ramsey/uuid/tests/Rfc4122/ValidatorTest.php +0 -122
  437. package/vendor/ramsey/uuid/tests/Rfc4122/VariantTraitTest.php +0 -109
  438. package/vendor/ramsey/uuid/tests/TestCase.php +0 -29
  439. package/vendor/ramsey/uuid/tests/Type/DecimalTest.php +0 -305
  440. package/vendor/ramsey/uuid/tests/Type/HexadecimalTest.php +0 -112
  441. package/vendor/ramsey/uuid/tests/Type/IntegerTest.php +0 -235
  442. package/vendor/ramsey/uuid/tests/Type/TimeTest.php +0 -120
  443. package/vendor/ramsey/uuid/tests/UuidFactoryTest.php +0 -233
  444. package/vendor/ramsey/uuid/tests/UuidTest.php +0 -1910
  445. package/vendor/ramsey/uuid/tests/Validator/GenericValidatorTest.php +0 -98
  446. package/vendor/ramsey/uuid/tests/benchmark/GuidConversionBench.php +0 -43
  447. package/vendor/ramsey/uuid/tests/benchmark/NonLazyUuidConversionBench.php +0 -39
  448. package/vendor/ramsey/uuid/tests/benchmark/UuidFieldExtractionBench.php +0 -86
  449. package/vendor/ramsey/uuid/tests/benchmark/UuidGenerationBench.php +0 -113
  450. package/vendor/ramsey/uuid/tests/benchmark/UuidSerializationBench.php +0 -206
  451. package/vendor/ramsey/uuid/tests/benchmark/UuidStringConversionBench.php +0 -257
  452. package/vendor/ramsey/uuid/tests/bootstrap.php +0 -12
  453. package/vendor/ramsey/uuid/tests/static-analysis/UuidIsImmutable.php +0 -96
  454. package/vendor/ramsey/uuid/tests/static-analysis/UuidIsNeverEmpty.php +0 -36
  455. package/vendor/ramsey/uuid/tests/static-analysis/ValidUuidIsNonEmpty.php +0 -44
  456. package/vendor/ramsey/uuid/tests/static-analysis/stubs.php +0 -33
  457. package/vendor/symfony/polyfill-ctype/Ctype.php +0 -232
  458. package/vendor/symfony/polyfill-ctype/LICENSE +0 -19
  459. package/vendor/symfony/polyfill-ctype/README.md +0 -12
  460. package/vendor/symfony/polyfill-ctype/bootstrap.php +0 -50
  461. package/vendor/symfony/polyfill-ctype/bootstrap80.php +0 -46
  462. package/vendor/symfony/polyfill-ctype/composer.json +0 -41
  463. package/vendor/symfony/polyfill-mbstring/LICENSE +0 -19
  464. package/vendor/symfony/polyfill-mbstring/Mbstring.php +0 -947
  465. package/vendor/symfony/polyfill-mbstring/README.md +0 -13
  466. package/vendor/symfony/polyfill-mbstring/Resources/unidata/caseFolding.php +0 -119
  467. package/vendor/symfony/polyfill-mbstring/Resources/unidata/lowerCase.php +0 -1397
  468. package/vendor/symfony/polyfill-mbstring/Resources/unidata/titleCaseRegexp.php +0 -5
  469. package/vendor/symfony/polyfill-mbstring/Resources/unidata/upperCase.php +0 -1489
  470. package/vendor/symfony/polyfill-mbstring/bootstrap.php +0 -151
  471. package/vendor/symfony/polyfill-mbstring/bootstrap80.php +0 -147
  472. package/vendor/symfony/polyfill-mbstring/composer.json +0 -41
  473. package/vendor/symfony/polyfill-php80/LICENSE +0 -19
  474. package/vendor/symfony/polyfill-php80/Php80.php +0 -115
  475. package/vendor/symfony/polyfill-php80/PhpToken.php +0 -103
  476. package/vendor/symfony/polyfill-php80/README.md +0 -25
  477. package/vendor/symfony/polyfill-php80/Resources/stubs/Attribute.php +0 -31
  478. package/vendor/symfony/polyfill-php80/Resources/stubs/PhpToken.php +0 -16
  479. package/vendor/symfony/polyfill-php80/Resources/stubs/Stringable.php +0 -20
  480. package/vendor/symfony/polyfill-php80/Resources/stubs/UnhandledMatchError.php +0 -16
  481. package/vendor/symfony/polyfill-php80/Resources/stubs/ValueError.php +0 -16
  482. package/vendor/symfony/polyfill-php80/bootstrap.php +0 -42
  483. package/vendor/symfony/polyfill-php80/composer.json +0 -40
  484. package/vendor/vlucas/phpdotenv/.editorconfig +0 -15
  485. package/vendor/vlucas/phpdotenv/.gitattributes +0 -17
  486. package/vendor/vlucas/phpdotenv/.github/CODE_OF_CONDUCT.md +0 -132
  487. package/vendor/vlucas/phpdotenv/.github/CONTRIBUTING.md +0 -30
  488. package/vendor/vlucas/phpdotenv/.github/FUNDING.yml +0 -2
  489. package/vendor/vlucas/phpdotenv/.github/SECURITY.md +0 -14
  490. package/vendor/vlucas/phpdotenv/.github/workflows/static.yml +0 -74
  491. package/vendor/vlucas/phpdotenv/.github/workflows/tests.yml +0 -70
  492. package/vendor/vlucas/phpdotenv/LICENSE +0 -30
  493. package/vendor/vlucas/phpdotenv/Makefile +0 -26
  494. package/vendor/vlucas/phpdotenv/README.md +0 -363
  495. package/vendor/vlucas/phpdotenv/UPGRADING.md +0 -196
  496. package/vendor/vlucas/phpdotenv/composer.json +0 -60
  497. package/vendor/vlucas/phpdotenv/phpstan-baseline.neon +0 -21
  498. package/vendor/vlucas/phpdotenv/phpstan.neon.dist +0 -7
  499. package/vendor/vlucas/phpdotenv/phpunit.xml.dist +0 -13
  500. package/vendor/vlucas/phpdotenv/psalm-baseline.xml +0 -28
  501. package/vendor/vlucas/phpdotenv/psalm.xml +0 -13
  502. package/vendor/vlucas/phpdotenv/src/Dotenv.php +0 -267
  503. package/vendor/vlucas/phpdotenv/src/Exception/ExceptionInterface.php +0 -12
  504. package/vendor/vlucas/phpdotenv/src/Exception/InvalidEncodingException.php +0 -12
  505. package/vendor/vlucas/phpdotenv/src/Exception/InvalidFileException.php +0 -12
  506. package/vendor/vlucas/phpdotenv/src/Exception/InvalidPathException.php +0 -12
  507. package/vendor/vlucas/phpdotenv/src/Exception/ValidationException.php +0 -12
  508. package/vendor/vlucas/phpdotenv/src/Loader/Loader.php +0 -47
  509. package/vendor/vlucas/phpdotenv/src/Loader/LoaderInterface.php +0 -20
  510. package/vendor/vlucas/phpdotenv/src/Loader/Resolver.php +0 -65
  511. package/vendor/vlucas/phpdotenv/src/Parser/Entry.php +0 -59
  512. package/vendor/vlucas/phpdotenv/src/Parser/EntryParser.php +0 -300
  513. package/vendor/vlucas/phpdotenv/src/Parser/Lexer.php +0 -58
  514. package/vendor/vlucas/phpdotenv/src/Parser/Lines.php +0 -127
  515. package/vendor/vlucas/phpdotenv/src/Parser/Parser.php +0 -53
  516. package/vendor/vlucas/phpdotenv/src/Parser/ParserInterface.php +0 -19
  517. package/vendor/vlucas/phpdotenv/src/Parser/Value.php +0 -88
  518. package/vendor/vlucas/phpdotenv/src/Repository/Adapter/AdapterInterface.php +0 -15
  519. package/vendor/vlucas/phpdotenv/src/Repository/Adapter/ApacheAdapter.php +0 -89
  520. package/vendor/vlucas/phpdotenv/src/Repository/Adapter/ArrayAdapter.php +0 -80
  521. package/vendor/vlucas/phpdotenv/src/Repository/Adapter/EnvConstAdapter.php +0 -89
  522. package/vendor/vlucas/phpdotenv/src/Repository/Adapter/GuardedWriter.php +0 -85
  523. package/vendor/vlucas/phpdotenv/src/Repository/Adapter/ImmutableWriter.php +0 -110
  524. package/vendor/vlucas/phpdotenv/src/Repository/Adapter/MultiReader.php +0 -48
  525. package/vendor/vlucas/phpdotenv/src/Repository/Adapter/MultiWriter.php +0 -64
  526. package/vendor/vlucas/phpdotenv/src/Repository/Adapter/PutenvAdapter.php +0 -91
  527. package/vendor/vlucas/phpdotenv/src/Repository/Adapter/ReaderInterface.php +0 -17
  528. package/vendor/vlucas/phpdotenv/src/Repository/Adapter/ReplacingWriter.php +0 -104
  529. package/vendor/vlucas/phpdotenv/src/Repository/Adapter/ServerConstAdapter.php +0 -89
  530. package/vendor/vlucas/phpdotenv/src/Repository/Adapter/WriterInterface.php +0 -27
  531. package/vendor/vlucas/phpdotenv/src/Repository/AdapterRepository.php +0 -107
  532. package/vendor/vlucas/phpdotenv/src/Repository/RepositoryBuilder.php +0 -272
  533. package/vendor/vlucas/phpdotenv/src/Repository/RepositoryInterface.php +0 -51
  534. package/vendor/vlucas/phpdotenv/src/Store/File/Paths.php +0 -44
  535. package/vendor/vlucas/phpdotenv/src/Store/File/Reader.php +0 -81
  536. package/vendor/vlucas/phpdotenv/src/Store/FileStore.php +0 -72
  537. package/vendor/vlucas/phpdotenv/src/Store/StoreBuilder.php +0 -141
  538. package/vendor/vlucas/phpdotenv/src/Store/StoreInterface.php +0 -17
  539. package/vendor/vlucas/phpdotenv/src/Store/StringStore.php +0 -37
  540. package/vendor/vlucas/phpdotenv/src/Util/Regex.php +0 -112
  541. package/vendor/vlucas/phpdotenv/src/Util/Str.php +0 -98
  542. package/vendor/vlucas/phpdotenv/src/Validator.php +0 -209
  543. package/vendor/vlucas/phpdotenv/tests/Dotenv/DotenvTest.php +0 -387
  544. package/vendor/vlucas/phpdotenv/tests/Dotenv/Loader/LoaderTest.php +0 -86
  545. package/vendor/vlucas/phpdotenv/tests/Dotenv/Parser/EntryParserTest.php +0 -234
  546. package/vendor/vlucas/phpdotenv/tests/Dotenv/Parser/LexerTest.php +0 -40
  547. package/vendor/vlucas/phpdotenv/tests/Dotenv/Parser/LinesTest.php +0 -53
  548. package/vendor/vlucas/phpdotenv/tests/Dotenv/Parser/ParserTest.php +0 -98
  549. package/vendor/vlucas/phpdotenv/tests/Dotenv/Repository/Adapter/ArrayAdapterTest.php +0 -57
  550. package/vendor/vlucas/phpdotenv/tests/Dotenv/Repository/Adapter/EnvConstAdapterTest.php +0 -75
  551. package/vendor/vlucas/phpdotenv/tests/Dotenv/Repository/Adapter/PutenvAdapterTest.php +0 -52
  552. package/vendor/vlucas/phpdotenv/tests/Dotenv/Repository/Adapter/ServerConstAdapterTest.php +0 -75
  553. package/vendor/vlucas/phpdotenv/tests/Dotenv/Repository/RepositoryTest.php +0 -305
  554. package/vendor/vlucas/phpdotenv/tests/Dotenv/Store/StoreTest.php +0 -141
  555. package/vendor/vlucas/phpdotenv/tests/Dotenv/ValidatorTest.php +0 -479
  556. package/vendor/vlucas/phpdotenv/tests/fixtures/env/.env +0 -5
  557. package/vendor/vlucas/phpdotenv/tests/fixtures/env/assertions.env +0 -18
  558. package/vendor/vlucas/phpdotenv/tests/fixtures/env/booleans.env +0 -33
  559. package/vendor/vlucas/phpdotenv/tests/fixtures/env/commented.env +0 -15
  560. package/vendor/vlucas/phpdotenv/tests/fixtures/env/empty.env +0 -1
  561. package/vendor/vlucas/phpdotenv/tests/fixtures/env/example.env +0 -1
  562. package/vendor/vlucas/phpdotenv/tests/fixtures/env/exported.env +0 -7
  563. package/vendor/vlucas/phpdotenv/tests/fixtures/env/immutable.env +0 -1
  564. package/vendor/vlucas/phpdotenv/tests/fixtures/env/integers.env +0 -17
  565. package/vendor/vlucas/phpdotenv/tests/fixtures/env/large.env +0 -2
  566. package/vendor/vlucas/phpdotenv/tests/fixtures/env/multibyte.env +0 -3
  567. package/vendor/vlucas/phpdotenv/tests/fixtures/env/multiline.env +0 -14
  568. package/vendor/vlucas/phpdotenv/tests/fixtures/env/multiple.env +0 -4
  569. package/vendor/vlucas/phpdotenv/tests/fixtures/env/mutable.env +0 -1
  570. package/vendor/vlucas/phpdotenv/tests/fixtures/env/nested.env +0 -15
  571. package/vendor/vlucas/phpdotenv/tests/fixtures/env/quoted.env +0 -11
  572. package/vendor/vlucas/phpdotenv/tests/fixtures/env/specialchars.env +0 -8
  573. package/vendor/vlucas/phpdotenv/tests/fixtures/env/unicodevarnames.env +0 -2
  574. package/vendor/vlucas/phpdotenv/tests/fixtures/env/utf8-with-bom-encoding.env +0 -3
  575. package/vendor/vlucas/phpdotenv/tests/fixtures/env/windows.env +0 -1
  576. package/vendor/vlucas/phpdotenv/vendor-bin/phpstan/composer.json +0 -16
  577. package/vendor/vlucas/phpdotenv/vendor-bin/psalm/composer.json +0 -9
package/README.md CHANGED
@@ -21,6 +21,14 @@ Installation Steps:
21
21
  1. Open your terminal.
22
22
  2. Run the command:
23
23
 
24
+ - Install `create-prisma-php-app` globally:
25
+
26
+ ```bash
27
+ npm install -g create-prisma-php-app
28
+ ```
29
+
30
+ - Create a new Prisma-PHP project: in the desired directory, run the command:
31
+
24
32
  ```bash
25
33
  npx create-prisma-php-app
26
34
  ```
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
- #!/usr/bin/env node
1
+ #!/usr/bin/env node
2
2
  import{execSync}from"child_process";import fs from"fs";import{fileURLToPath}from"url";import path from"path";import chalk from"chalk";import prompts from"prompts";const __filename=fileURLToPath(import.meta.url),__dirname=path.dirname(__filename);async function updatePackageJson(i){const e=path.join(i,"package.json"),s=JSON.parse(fs.readFileSync(e,"utf8"));s.scripts=Object.assign(Object.assign({},s.scripts),{postinstall:"prisma generate"}),s.type="module",s.prisma={seed:"node prisma/seed.js"},fs.writeFileSync(e,JSON.stringify(s,null,2))}async function createUpdateGitignoreFile(i,e){const s=path.join(i,".gitignore");let t="";fs.existsSync(s)&&(t=fs.readFileSync(s,"utf8")),e.forEach((i=>{t.includes(i)||(t+=`\n${i}`)})),t=t.trimStart(),fs.writeFileSync(s,t)}function copyRecursiveSync(i,e){const s=fs.existsSync(i),t=s&&fs.statSync(i);s&&t&&t.isDirectory()?(fs.mkdirSync(e,{recursive:!0}),fs.readdirSync(i).forEach((s=>copyRecursiveSync(path.join(i,s),path.join(e,s))))):fs.copyFileSync(i,e)}async function executeCopy(i,e){e.forEach((({srcDir:e,destDir:s})=>{copyRecursiveSync(path.join(__dirname,e),path.join(i,s))}))}function modifyTailwindConfig(i){const e=path.join(i,"tailwind.config.js");let s=fs.readFileSync(e,"utf8");const t=["./public/**/*.php","./public/**/*.html"].map((i=>` "${i}"`)).join(",\n");s=s.replace(/content: \[\],/g,`content: [\n${t}\n ],`),fs.writeFileSync(e,s,"utf8")}function modifyIndexPHP(i,e){const s=path.join(i,"public","index.php");try{let i=fs.readFileSync(s,"utf8");const t=e?' <link href="css/styles.css" rel="stylesheet"> \x3c!-- Stylesheet link to the tailwind compiled css --\x3e':' <script src="https://cdn.tailwindcss.com"><\/script>';i=i.replace("</head>",`${t}\n</head>`),fs.writeFileSync(s,i,"utf8")}catch(i){}}async function createDirectoryStructure(i,e){await updatePackageJson(i);const s=[{srcDir:"/settings",destDir:"/settings"},{srcDir:"/node_modules/prisma-client-php",destDir:"/node_modules/prisma-client-php"},{srcDir:"/prisma",destDir:"/prisma"},{srcDir:"/src",destDir:"/src"},{srcDir:"/../vendor",destDir:"/vendor"}];e.tailwindcss&&s.push({srcDir:"/public/css/",destDir:"/public/css/"}),s.push({srcDir:"/public/assets/",destDir:"/public/assets/"}),await executeCopy(i,s),[{src:"/public/favicon.ico",dest:"/public/favicon.ico"},{src:"/public/index.php",dest:"/public/index.php"},{src:"/bootstrap.php",dest:"/bootstrap.php"},{src:"/../composer.json",dest:"/composer.json"},{src:"/../composer.lock",dest:"/composer.lock"}].forEach((({src:e,dest:s})=>{const t=path.join(__dirname,e),c=path.join(i,s),n=fs.readFileSync(t,"utf8");fs.writeFileSync(c,n)})),e.tailwindcss?(modifyTailwindConfig(i),modifyIndexPHP(i,!0)):modifyIndexPHP(i,!1)}async function getAnswer(){const i=[{type:"text",name:"projectName",message:"What is your project named?",initial:"my-app"},{type:"toggle",name:"tailwindcss",message:`Would you like to use ${chalk.blue("Tailwind CSS")}?`,initial:!0,active:"Yes",inactive:"No"}],e=()=>!1;try{const s=await prompts(i,{onCancel:e});return 0===Object.keys(s).length?null:{projectName:String(s.projectName).trim().replace(/ /g,"-"),tailwindcss:s.tailwindcss}}catch(i){return null}}async function installDependencies(i,e){execSync("npm init -y",{stdio:"inherit",cwd:i}),e.forEach((i=>{})),execSync(`npm install ${e.join(" ")}`,{stdio:"inherit",cwd:i})}async function main(){try{const i=await getAnswer();if(null===i)return;fs.mkdirSync(i.projectName);const e=path.join(process.cwd(),i.projectName);process.chdir(i.projectName);const s=["prisma","@prisma/client","typescript","@types/node","ts-node"];i.tailwindcss&&s.push("tailwindcss","autoprefixer","postcss"),await installDependencies(e,s),execSync("npx prisma init",{stdio:"inherit"}),execSync("npx tsc --init",{stdio:"inherit"}),i.tailwindcss&&execSync("npx tailwindcss init -p",{stdio:"inherit"}),await createDirectoryStructure(e,i),i.tailwindcss&&execSync("npx tailwindcss -i ./public/css/tailwind.css -o ./public/css/styles.css --minify",{stdio:"inherit"});const t=path.join(e,"settings","project-settings.js"),c=`export const projectSettings = {\n PROJECT_NAME: "${i.projectName}",\n PROJECT_ROOT_PATH: "${e.replace(/\\/g,"\\\\")}",\n PHP_ROOT_PATH_EXE: "D:\\\\xampp\\\\php\\\\php.exe",\n PHP_GENERATE_CLASS_PATH: "src/app/classes/prisma",\n };`;fs.writeFileSync(t,c)}catch(i){process.exit(1)}}main();
@@ -1,2 +1,2 @@
1
- #!/usr/bin/env node
1
+ #!/usr/bin/env node
2
2
  import*as fs from"fs";import{exec}from"child_process";import path from"path";import{pathToFileURL}from"url";import CryptoJS from"crypto-js";const args=process.argv.slice(2),getSecretKey=e=>{const t=fs.readFileSync(`${e}/key.enc`,"utf8");if(t.length<400)throw new Error("File content is less than 400 characters.");return t.substring(299,349)},decryptData=(e,t)=>CryptoJS.AES.decrypt(e,t).toString(CryptoJS.enc.Utf8),executePHP=e=>{exec(e,((e,t,r)=>{}))},main=async()=>{if("generate"===args[0]&&"class"===args[1])try{const e=process.cwd(),t=pathToFileURL(path.join(e,"settings","project-settings.js")),r=(await import(t.href)).projectSettings,c=r.PHP_GENERATE_CLASS_PATH,s=`${r.PROJECT_ROOT_PATH}/node_modules/prisma-client-php`,n=r.PROJECT_ROOT_PATH?`${s}/index.run.php`:`${s}/dist/prisma-client-php/index.run.php`,i=`${s}/index.enc`,p=getSecretKey(s),o=fs.readFileSync(i,{encoding:"utf8"}),a=decryptData(o,p);fs.writeFileSync(`${s}/index.run.php`,a);const h=`${r.PHP_ROOT_PATH_EXE} ${n} ${c}`;executePHP(h)}catch(e){}};main().catch((e=>{}));
package/package.json CHANGED
@@ -1,12 +1,11 @@
1
1
  {
2
2
  "name": "create-prisma-php-app",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Prisma-PHP: A Revolutionary Library Bridging PHP with Prisma ORM",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
7
7
  "scripts": {
8
- "build": "tsc && npm link",
9
- "start": "ts-node index.ts",
8
+ "build": "tsc",
10
9
  "prepublish": "npm run build",
11
10
  "test": "echo \"Error: no test specified\" && exit 1"
12
11
  },
@@ -17,7 +16,15 @@
17
16
  "type": "git",
18
17
  "url": "git+https://github.com/TheSteelNinjaCode/create-prisma-php-app.git"
19
18
  },
20
- "keywords": [],
19
+ "keywords": [
20
+ "prisma",
21
+ "php",
22
+ "nodejs",
23
+ "composer",
24
+ "orm",
25
+ "database",
26
+ "boilerplate"
27
+ ],
21
28
  "author": "Jefferson Abraham Omier <thesteelninjacode@gmail.com>",
22
29
  "license": "MIT",
23
30
  "dependencies": {
@@ -1,15 +0,0 @@
1
- root = true
2
-
3
- [*]
4
- charset = utf-8
5
- end_of_line = lf
6
- insert_final_newline = true
7
- indent_style = space
8
- indent_size = 4
9
- trim_trailing_whitespace = true
10
-
11
- [*.md]
12
- trim_trailing_whitespace = false
13
-
14
- [*.{yml,yaml}]
15
- indent_size = 2
@@ -1,11 +0,0 @@
1
- .editorconfig export-ignore
2
- .gitattributes export-ignore
3
- .gitignore export-ignore
4
- apigen.neon export-ignore
5
- phpunit.php export-ignore
6
- phpunit.xml export-ignore
7
- psalm.xml export-ignore
8
- random-tests.php export-ignore
9
- README.md export-ignore
10
- tests/ export-ignore
11
- .github/ export-ignore
@@ -1 +0,0 @@
1
- github: BenMorel
@@ -1,80 +0,0 @@
1
- name: CI
2
-
3
- on:
4
- push:
5
- pull_request:
6
-
7
- jobs:
8
- psalm:
9
- name: Psalm
10
- runs-on: ubuntu-latest
11
-
12
- steps:
13
- - name: Checkout
14
- uses: actions/checkout@v2
15
-
16
- - name: Setup PHP
17
- uses: shivammathur/setup-php@v2
18
- with:
19
- php-version: "8.1"
20
-
21
- - name: Install composer dependencies
22
- uses: "ramsey/composer-install@v1"
23
-
24
- - name: Run Psalm
25
- run: vendor/bin/psalm --show-info=false --find-unused-psalm-suppress --no-progress
26
-
27
- phpunit:
28
- name: PHPUnit
29
- runs-on: ubuntu-latest
30
-
31
- strategy:
32
- matrix:
33
- php-version:
34
- - "8.0"
35
- - "8.1"
36
- - "8.2"
37
- calculator:
38
- - GMP
39
- - BCMath
40
- - Native
41
-
42
- steps:
43
- - name: Checkout
44
- uses: actions/checkout@v2
45
-
46
- - name: Setup PHP
47
- uses: shivammathur/setup-php@v2
48
- with:
49
- php-version: ${{ matrix.php-version }}
50
- coverage: pcov
51
-
52
- - name: Install composer dependencies
53
- uses: "ramsey/composer-install@v1"
54
-
55
- - name: Run PHPUnit
56
- run: vendor/bin/phpunit
57
- env:
58
- CALCULATOR: ${{ matrix.calculator }}
59
- if: ${{ matrix.php-version != '8.0' }}
60
-
61
- - name: Run PHPUnit with coverage
62
- run: |
63
- mkdir -p build/logs
64
- vendor/bin/phpunit --coverage-clover build/logs/clover.xml
65
- env:
66
- CALCULATOR: ${{ matrix.calculator }}
67
- if: ${{ matrix.php-version == '8.0' }}
68
-
69
- - name: Run PHPUnit with bcscale()
70
- run: vendor/bin/phpunit
71
- env:
72
- CALCULATOR: BCMath
73
- BCMATH_DEFAULT_SCALE: 8
74
- if: ${{ matrix.calculator == 'BCMath' }}
75
-
76
- - name: Upload coverage report to Coveralls
77
- run: vendor/bin/php-coveralls --coverage_clover=build/logs/clover.xml -v
78
- env:
79
- COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
80
- if: ${{ matrix.php-version == '8.0' }}
@@ -1,445 +0,0 @@
1
- # Changelog
2
-
3
- All notable changes to this project will be documented in this file.
4
-
5
- ## [0.11.0](https://github.com/brick/math/releases/tag/0.11.0) - 2023-01-16
6
-
7
- 💥 **Breaking changes**
8
-
9
- - Minimum PHP version is now 8.0
10
- - Methods accepting a union of types are now strongly typed<sup>*</sup>
11
- - `MathException` now extends `Exception` instead of `RuntimeException`
12
-
13
- <sup>* You may now run into type errors if you were passing `Stringable` objects to `of()` or any of the methods
14
- internally calling `of()`, with `strict_types` enabled. You can fix this by casting `Stringable` objects to `string`
15
- first.</sup>
16
-
17
- ## [0.10.2](https://github.com/brick/math/releases/tag/0.10.2) - 2022-08-11
18
-
19
- 👌 **Improvements**
20
-
21
- - `BigRational::toFloat()` now simplifies the fraction before performing division (#73) thanks to @olsavmic
22
-
23
- ## [0.10.1](https://github.com/brick/math/releases/tag/0.10.1) - 2022-08-02
24
-
25
- ✨ **New features**
26
-
27
- - `BigInteger::gcdMultiple()` returns the GCD of multiple `BigInteger` numbers
28
-
29
- ## [0.10.0](https://github.com/brick/math/releases/tag/0.10.0) - 2022-06-18
30
-
31
- 💥 **Breaking changes**
32
-
33
- - Minimum PHP version is now 7.4
34
-
35
- ## [0.9.3](https://github.com/brick/math/releases/tag/0.9.3) - 2021-08-15
36
-
37
- 🚀 **Compatibility with PHP 8.1**
38
-
39
- - Support for custom object serialization; this removes a warning on PHP 8.1 due to the `Serializable` interface being deprecated (#60) thanks @TRowbotham
40
-
41
- ## [0.9.2](https://github.com/brick/math/releases/tag/0.9.2) - 2021-01-20
42
-
43
- 🐛 **Bug fix**
44
-
45
- - Incorrect results could be returned when using the BCMath calculator, with a default scale set with `bcscale()`, on PHP >= 7.2 (#55).
46
-
47
- ## [0.9.1](https://github.com/brick/math/releases/tag/0.9.1) - 2020-08-19
48
-
49
- ✨ **New features**
50
-
51
- - `BigInteger::not()` returns the bitwise `NOT` value
52
-
53
- 🐛 **Bug fixes**
54
-
55
- - `BigInteger::toBytes()` could return an incorrect binary representation for some numbers
56
- - The bitwise operations `and()`, `or()`, `xor()` on `BigInteger` could return an incorrect result when the GMP extension is not available
57
-
58
- ## [0.9.0](https://github.com/brick/math/releases/tag/0.9.0) - 2020-08-18
59
-
60
- 👌 **Improvements**
61
-
62
- - `BigNumber::of()` now accepts `.123` and `123.` formats, both of which return a `BigDecimal`
63
-
64
- 💥 **Breaking changes**
65
-
66
- - Deprecated method `BigInteger::powerMod()` has been removed - use `modPow()` instead
67
- - Deprecated method `BigInteger::parse()` has been removed - use `fromBase()` instead
68
-
69
- ## [0.8.17](https://github.com/brick/math/releases/tag/0.8.17) - 2020-08-19
70
-
71
- 🐛 **Bug fix**
72
-
73
- - `BigInteger::toBytes()` could return an incorrect binary representation for some numbers
74
- - The bitwise operations `and()`, `or()`, `xor()` on `BigInteger` could return an incorrect result when the GMP extension is not available
75
-
76
- ## [0.8.16](https://github.com/brick/math/releases/tag/0.8.16) - 2020-08-18
77
-
78
- 🚑 **Critical fix**
79
-
80
- - This version reintroduces the deprecated `BigInteger::parse()` method, that has been removed by mistake in version `0.8.9` and should have lasted for the whole `0.8` release cycle.
81
-
82
- ✨ **New features**
83
-
84
- - `BigInteger::modInverse()` calculates a modular multiplicative inverse
85
- - `BigInteger::fromBytes()` creates a `BigInteger` from a byte string
86
- - `BigInteger::toBytes()` converts a `BigInteger` to a byte string
87
- - `BigInteger::randomBits()` creates a pseudo-random `BigInteger` of a given bit length
88
- - `BigInteger::randomRange()` creates a pseudo-random `BigInteger` between two bounds
89
-
90
- 💩 **Deprecations**
91
-
92
- - `BigInteger::powerMod()` is now deprecated in favour of `modPow()`
93
-
94
- ## [0.8.15](https://github.com/brick/math/releases/tag/0.8.15) - 2020-04-15
95
-
96
- 🐛 **Fixes**
97
-
98
- - added missing `ext-json` requirement, due to `BigNumber` implementing `JsonSerializable`
99
-
100
- ⚡️ **Optimizations**
101
-
102
- - additional optimization in `BigInteger::remainder()`
103
-
104
- ## [0.8.14](https://github.com/brick/math/releases/tag/0.8.14) - 2020-02-18
105
-
106
- ✨ **New features**
107
-
108
- - `BigInteger::getLowestSetBit()` returns the index of the rightmost one bit
109
-
110
- ## [0.8.13](https://github.com/brick/math/releases/tag/0.8.13) - 2020-02-16
111
-
112
- ✨ **New features**
113
-
114
- - `BigInteger::isEven()` tests whether the number is even
115
- - `BigInteger::isOdd()` tests whether the number is odd
116
- - `BigInteger::testBit()` tests if a bit is set
117
- - `BigInteger::getBitLength()` returns the number of bits in the minimal representation of the number
118
-
119
- ## [0.8.12](https://github.com/brick/math/releases/tag/0.8.12) - 2020-02-03
120
-
121
- 🛠️ **Maintenance release**
122
-
123
- Classes are now annotated for better static analysis with [psalm](https://psalm.dev/).
124
-
125
- This is a maintenance release: no bug fixes, no new features, no breaking changes.
126
-
127
- ## [0.8.11](https://github.com/brick/math/releases/tag/0.8.11) - 2020-01-23
128
-
129
- ✨ **New feature**
130
-
131
- `BigInteger::powerMod()` performs a power-with-modulo operation. Useful for crypto.
132
-
133
- ## [0.8.10](https://github.com/brick/math/releases/tag/0.8.10) - 2020-01-21
134
-
135
- ✨ **New feature**
136
-
137
- `BigInteger::mod()` returns the **modulo** of two numbers. The *modulo* differs from the *remainder* when the signs of the operands are different.
138
-
139
- ## [0.8.9](https://github.com/brick/math/releases/tag/0.8.9) - 2020-01-08
140
-
141
- ⚡️ **Performance improvements**
142
-
143
- A few additional optimizations in `BigInteger` and `BigDecimal` when one of the operands can be returned as is. Thanks to @tomtomsen in #24.
144
-
145
- ## [0.8.8](https://github.com/brick/math/releases/tag/0.8.8) - 2019-04-25
146
-
147
- 🐛 **Bug fixes**
148
-
149
- - `BigInteger::toBase()` could return an empty string for zero values (BCMath & Native calculators only, GMP calculator unaffected)
150
-
151
- ✨ **New features**
152
-
153
- - `BigInteger::toArbitraryBase()` converts a number to an arbitrary base, using a custom alphabet
154
- - `BigInteger::fromArbitraryBase()` converts a string in an arbitrary base, using a custom alphabet, back to a number
155
-
156
- These methods can be used as the foundation to convert strings between different bases/alphabets, using BigInteger as an intermediate representation.
157
-
158
- 💩 **Deprecations**
159
-
160
- - `BigInteger::parse()` is now deprecated in favour of `fromBase()`
161
-
162
- `BigInteger::fromBase()` works the same way as `parse()`, with 2 minor differences:
163
-
164
- - the `$base` parameter is required, it does not default to `10`
165
- - it throws a `NumberFormatException` instead of an `InvalidArgumentException` when the number is malformed
166
-
167
- ## [0.8.7](https://github.com/brick/math/releases/tag/0.8.7) - 2019-04-20
168
-
169
- **Improvements**
170
-
171
- - Safer conversion from `float` when using custom locales
172
- - **Much faster** `NativeCalculator` implementation 🚀
173
-
174
- You can expect **at least a 3x performance improvement** for common arithmetic operations when using the library on systems without GMP or BCMath; it gets exponentially faster on multiplications with a high number of digits. This is due to calculations now being performed on whole blocks of digits (the block size depending on the platform, 32-bit or 64-bit) instead of digit-by-digit as before.
175
-
176
- ## [0.8.6](https://github.com/brick/math/releases/tag/0.8.6) - 2019-04-11
177
-
178
- **New method**
179
-
180
- `BigNumber::sum()` returns the sum of one or more numbers.
181
-
182
- ## [0.8.5](https://github.com/brick/math/releases/tag/0.8.5) - 2019-02-12
183
-
184
- **Bug fix**: `of()` factory methods could fail when passing a `float` in environments using a `LC_NUMERIC` locale with a decimal separator other than `'.'` (#20).
185
-
186
- Thanks @manowark 👍
187
-
188
- ## [0.8.4](https://github.com/brick/math/releases/tag/0.8.4) - 2018-12-07
189
-
190
- **New method**
191
-
192
- `BigDecimal::sqrt()` calculates the square root of a decimal number, to a given scale.
193
-
194
- ## [0.8.3](https://github.com/brick/math/releases/tag/0.8.3) - 2018-12-06
195
-
196
- **New method**
197
-
198
- `BigInteger::sqrt()` calculates the square root of a number (thanks @peter279k).
199
-
200
- **New exception**
201
-
202
- `NegativeNumberException` is thrown when calling `sqrt()` on a negative number.
203
-
204
- ## [0.8.2](https://github.com/brick/math/releases/tag/0.8.2) - 2018-11-08
205
-
206
- **Performance update**
207
-
208
- - Further improvement of `toInt()` performance
209
- - `NativeCalculator` can now perform some multiplications more efficiently
210
-
211
- ## [0.8.1](https://github.com/brick/math/releases/tag/0.8.1) - 2018-11-07
212
-
213
- Performance optimization of `toInt()` methods.
214
-
215
- ## [0.8.0](https://github.com/brick/math/releases/tag/0.8.0) - 2018-10-13
216
-
217
- **Breaking changes**
218
-
219
- The following deprecated methods have been removed. Use the new method name instead:
220
-
221
- | Method removed | Replacement method |
222
- | --- | --- |
223
- | `BigDecimal::getIntegral()` | `BigDecimal::getIntegralPart()` |
224
- | `BigDecimal::getFraction()` | `BigDecimal::getFractionalPart()` |
225
-
226
- ---
227
-
228
- **New features**
229
-
230
- `BigInteger` has been augmented with 5 new methods for bitwise operations:
231
-
232
- | New method | Description |
233
- | --- | --- |
234
- | `and()` | performs a bitwise `AND` operation on two numbers |
235
- | `or()` | performs a bitwise `OR` operation on two numbers |
236
- | `xor()` | performs a bitwise `XOR` operation on two numbers |
237
- | `shiftedLeft()` | returns the number shifted left by a number of bits |
238
- | `shiftedRight()` | returns the number shifted right by a number of bits |
239
-
240
- Thanks to @DASPRiD 👍
241
-
242
- ## [0.7.3](https://github.com/brick/math/releases/tag/0.7.3) - 2018-08-20
243
-
244
- **New method:** `BigDecimal::hasNonZeroFractionalPart()`
245
-
246
- **Renamed/deprecated methods:**
247
-
248
- - `BigDecimal::getIntegral()` has been renamed to `getIntegralPart()` and is now deprecated
249
- - `BigDecimal::getFraction()` has been renamed to `getFractionalPart()` and is now deprecated
250
-
251
- ## [0.7.2](https://github.com/brick/math/releases/tag/0.7.2) - 2018-07-21
252
-
253
- **Performance update**
254
-
255
- `BigInteger::parse()` and `toBase()` now use GMP's built-in base conversion features when available.
256
-
257
- ## [0.7.1](https://github.com/brick/math/releases/tag/0.7.1) - 2018-03-01
258
-
259
- This is a maintenance release, no code has been changed.
260
-
261
- - When installed with `--no-dev`, the autoloader does not autoload tests anymore
262
- - Tests and other files unnecessary for production are excluded from the dist package
263
-
264
- This will help make installations more compact.
265
-
266
- ## [0.7.0](https://github.com/brick/math/releases/tag/0.7.0) - 2017-10-02
267
-
268
- Methods renamed:
269
-
270
- - `BigNumber:sign()` has been renamed to `getSign()`
271
- - `BigDecimal::unscaledValue()` has been renamed to `getUnscaledValue()`
272
- - `BigDecimal::scale()` has been renamed to `getScale()`
273
- - `BigDecimal::integral()` has been renamed to `getIntegral()`
274
- - `BigDecimal::fraction()` has been renamed to `getFraction()`
275
- - `BigRational::numerator()` has been renamed to `getNumerator()`
276
- - `BigRational::denominator()` has been renamed to `getDenominator()`
277
-
278
- Classes renamed:
279
-
280
- - `ArithmeticException` has been renamed to `MathException`
281
-
282
- ## [0.6.2](https://github.com/brick/math/releases/tag/0.6.2) - 2017-10-02
283
-
284
- The base class for all exceptions is now `MathException`.
285
- `ArithmeticException` has been deprecated, and will be removed in 0.7.0.
286
-
287
- ## [0.6.1](https://github.com/brick/math/releases/tag/0.6.1) - 2017-10-02
288
-
289
- A number of methods have been renamed:
290
-
291
- - `BigNumber:sign()` is deprecated; use `getSign()` instead
292
- - `BigDecimal::unscaledValue()` is deprecated; use `getUnscaledValue()` instead
293
- - `BigDecimal::scale()` is deprecated; use `getScale()` instead
294
- - `BigDecimal::integral()` is deprecated; use `getIntegral()` instead
295
- - `BigDecimal::fraction()` is deprecated; use `getFraction()` instead
296
- - `BigRational::numerator()` is deprecated; use `getNumerator()` instead
297
- - `BigRational::denominator()` is deprecated; use `getDenominator()` instead
298
-
299
- The old methods will be removed in version 0.7.0.
300
-
301
- ## [0.6.0](https://github.com/brick/math/releases/tag/0.6.0) - 2017-08-25
302
-
303
- - Minimum PHP version is now [7.1](https://gophp71.org/); for PHP 5.6 and PHP 7.0 support, use version `0.5`
304
- - Deprecated method `BigDecimal::withScale()` has been removed; use `toScale()` instead
305
- - Method `BigNumber::toInteger()` has been renamed to `toInt()`
306
-
307
- ## [0.5.4](https://github.com/brick/math/releases/tag/0.5.4) - 2016-10-17
308
-
309
- `BigNumber` classes now implement [JsonSerializable](http://php.net/manual/en/class.jsonserializable.php).
310
- The JSON output is always a string.
311
-
312
- ## [0.5.3](https://github.com/brick/math/releases/tag/0.5.3) - 2016-03-31
313
-
314
- This is a bugfix release. Dividing by a negative power of 1 with the same scale as the dividend could trigger an incorrect optimization which resulted in a wrong result. See #6.
315
-
316
- ## [0.5.2](https://github.com/brick/math/releases/tag/0.5.2) - 2015-08-06
317
-
318
- The `$scale` parameter of `BigDecimal::dividedBy()` is now optional again.
319
-
320
- ## [0.5.1](https://github.com/brick/math/releases/tag/0.5.1) - 2015-07-05
321
-
322
- **New method: `BigNumber::toScale()`**
323
-
324
- This allows to convert any `BigNumber` to a `BigDecimal` with a given scale, using rounding if necessary.
325
-
326
- ## [0.5.0](https://github.com/brick/math/releases/tag/0.5.0) - 2015-07-04
327
-
328
- **New features**
329
- - Common `BigNumber` interface for all classes, with the following methods:
330
- - `sign()` and derived methods (`isZero()`, `isPositive()`, ...)
331
- - `compareTo()` and derived methods (`isEqualTo()`, `isGreaterThan()`, ...) that work across different `BigNumber` types
332
- - `toBigInteger()`, `toBigDecimal()`, `toBigRational`() conversion methods
333
- - `toInteger()` and `toFloat()` conversion methods to native types
334
- - Unified `of()` behaviour: every class now accepts any type of number, provided that it can be safely converted to the current type
335
- - New method: `BigDecimal::exactlyDividedBy()`; this method automatically computes the scale of the result, provided that the division yields a finite number of digits
336
- - New methods: `BigRational::quotient()` and `remainder()`
337
- - Fine-grained exceptions: `DivisionByZeroException`, `RoundingNecessaryException`, `NumberFormatException`
338
- - Factory methods `zero()`, `one()` and `ten()` available in all classes
339
- - Rounding mode reintroduced in `BigInteger::dividedBy()`
340
-
341
- This release also comes with many performance improvements.
342
-
343
- ---
344
-
345
- **Breaking changes**
346
- - `BigInteger`:
347
- - `getSign()` is renamed to `sign()`
348
- - `toString()` is renamed to `toBase()`
349
- - `BigInteger::dividedBy()` now throws an exception by default if the remainder is not zero; use `quotient()` to get the previous behaviour
350
- - `BigDecimal`:
351
- - `getSign()` is renamed to `sign()`
352
- - `getUnscaledValue()` is renamed to `unscaledValue()`
353
- - `getScale()` is renamed to `scale()`
354
- - `getIntegral()` is renamed to `integral()`
355
- - `getFraction()` is renamed to `fraction()`
356
- - `divideAndRemainder()` is renamed to `quotientAndRemainder()`
357
- - `dividedBy()` now takes a **mandatory** `$scale` parameter **before** the rounding mode
358
- - `toBigInteger()` does not accept a `$roundingMode` parameter anymore
359
- - `toBigRational()` does not simplify the fraction anymore; explicitly add `->simplified()` to get the previous behaviour
360
- - `BigRational`:
361
- - `getSign()` is renamed to `sign()`
362
- - `getNumerator()` is renamed to `numerator()`
363
- - `getDenominator()` is renamed to `denominator()`
364
- - `of()` is renamed to `nd()`, while `parse()` is renamed to `of()`
365
- - Miscellaneous:
366
- - `ArithmeticException` is moved to an `Exception\` sub-namespace
367
- - `of()` factory methods now throw `NumberFormatException` instead of `InvalidArgumentException`
368
-
369
- ## [0.4.3](https://github.com/brick/math/releases/tag/0.4.3) - 2016-03-31
370
-
371
- Backport of two bug fixes from the 0.5 branch:
372
- - `BigInteger::parse()` did not always throw `InvalidArgumentException` as expected
373
- - Dividing by a negative power of 1 with the same scale as the dividend could trigger an incorrect optimization which resulted in a wrong result. See #6.
374
-
375
- ## [0.4.2](https://github.com/brick/math/releases/tag/0.4.2) - 2015-06-16
376
-
377
- New method: `BigDecimal::stripTrailingZeros()`
378
-
379
- ## [0.4.1](https://github.com/brick/math/releases/tag/0.4.1) - 2015-06-12
380
-
381
- Introducing a `BigRational` class, to perform calculations on fractions of any size.
382
-
383
- ## [0.4.0](https://github.com/brick/math/releases/tag/0.4.0) - 2015-06-12
384
-
385
- Rounding modes have been removed from `BigInteger`, and are now a concept specific to `BigDecimal`.
386
-
387
- `BigInteger::dividedBy()` now always returns the quotient of the division.
388
-
389
- ## [0.3.5](https://github.com/brick/math/releases/tag/0.3.5) - 2016-03-31
390
-
391
- Backport of two bug fixes from the 0.5 branch:
392
-
393
- - `BigInteger::parse()` did not always throw `InvalidArgumentException` as expected
394
- - Dividing by a negative power of 1 with the same scale as the dividend could trigger an incorrect optimization which resulted in a wrong result. See #6.
395
-
396
- ## [0.3.4](https://github.com/brick/math/releases/tag/0.3.4) - 2015-06-11
397
-
398
- New methods:
399
- - `BigInteger::remainder()` returns the remainder of a division only
400
- - `BigInteger::gcd()` returns the greatest common divisor of two numbers
401
-
402
- ## [0.3.3](https://github.com/brick/math/releases/tag/0.3.3) - 2015-06-07
403
-
404
- Fix `toString()` not handling negative numbers.
405
-
406
- ## [0.3.2](https://github.com/brick/math/releases/tag/0.3.2) - 2015-06-07
407
-
408
- `BigInteger` and `BigDecimal` now have a `getSign()` method that returns:
409
- - `-1` if the number is negative
410
- - `0` if the number is zero
411
- - `1` if the number is positive
412
-
413
- ## [0.3.1](https://github.com/brick/math/releases/tag/0.3.1) - 2015-06-05
414
-
415
- Minor performance improvements
416
-
417
- ## [0.3.0](https://github.com/brick/math/releases/tag/0.3.0) - 2015-06-04
418
-
419
- The `$roundingMode` and `$scale` parameters have been swapped in `BigDecimal::dividedBy()`.
420
-
421
- ## [0.2.2](https://github.com/brick/math/releases/tag/0.2.2) - 2015-06-04
422
-
423
- Stronger immutability guarantee for `BigInteger` and `BigDecimal`.
424
-
425
- So far, it would have been possible to break immutability of these classes by calling the `unserialize()` internal function. This release fixes that.
426
-
427
- ## [0.2.1](https://github.com/brick/math/releases/tag/0.2.1) - 2015-06-02
428
-
429
- Added `BigDecimal::divideAndRemainder()`
430
-
431
- ## [0.2.0](https://github.com/brick/math/releases/tag/0.2.0) - 2015-05-22
432
-
433
- - `min()` and `max()` do not accept an `array` anymore, but a variable number of parameters
434
- - **minimum PHP version is now 5.6**
435
- - continuous integration with PHP 7
436
-
437
- ## [0.1.1](https://github.com/brick/math/releases/tag/0.1.1) - 2014-09-01
438
-
439
- - Added `BigInteger::power()`
440
- - Added HHVM support
441
-
442
- ## [0.1.0](https://github.com/brick/math/releases/tag/0.1.0) - 2014-08-31
443
-
444
- First beta release.
445
-
@@ -1,20 +0,0 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2013-present Benjamin Morel
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy of
6
- this software and associated documentation files (the "Software"), to deal in
7
- the Software without restriction, including without limitation the rights to
8
- use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9
- the Software, and to permit persons to whom the Software is furnished to do so,
10
- subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17
- FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18
- COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19
- IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20
- CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.