psl

📚 PHP Standard Library - a modern, consistent, centralized, well-typed, non-blocking set of APIs for PHP programmers

MIT License

Downloads
4.4M
Stars
1.1K
Committers
38
psl - Lavi - 1.6.3

Published by veewee over 2 years ago

What's Changed

Full Changelog: https://github.com/azjezz/psl/compare/1.6.2...1.6.3

psl - Lenalee - 2.0.0-RC2

Published by azjezz almost 3 years ago

What's Changed

  • chore(io): improve resource handle performance by @azjezz in 7e438a3db4e8baee2da1d7ad2b20809e0589aa58
  • chore(channel): use phpstorm compatible tuple type annotation by @azjezz in bbbd3193edcb68fd754032442495b8684d91a4d6
  • chore(io): cleanup internal resource handle by @azjezz in 2bc1d76cec44e19af0c2fc86b8f7d1f8b63f235e
  • chore(network): ignore server closed externally by @azjezz in 13fd1a0b4dbcd813e0ce9e5efa5cd35a80c0841d
  • chore(network): close socket connection on destruct by @azjezz in e9ae21d950491bcb9fcf1ba54fd553b38ce8d292
  • chore: update to revolt 0.2 by @azjezz in 1f94455396a19589c8b5c3e8030e4f6a68a15b83
  • chore(io): drop support for object resource handles by @azjezz in c3fa1282e8c09923ef3168e981076f03346b6a16
  • chore(promise): catch throwable instead of exceptions by @azjezz in bfbdef7fa8918c4bffdc30b64bf3e765ffd25f91
  • chore(result): move Async\reflect to Result\reflect by @azjezz in 21bf0cd3d6d6055fc88541e9b24f3140bd179b2d

Full Changelog: https://github.com/azjezz/psl/compare/2.0.0-rc1...2.0.0-rc2

psl - Lenalee - 2.0.0-RC1

Published by azjezz almost 3 years ago

What's Changed

Full Changelog: https://github.com/azjezz/psl/compare/1.9.2...2.0.0-rc1

psl - Lavi - 1.9.3

Published by azjezz almost 3 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/azjezz/psl/compare/1.9.2...1.9.3

psl - Lavi - 1.8.2

Published by azjezz almost 3 years ago

psl - Lavi - 1.7.4

Published by azjezz almost 3 years ago

psl - Lavi - 1.6.2

Published by azjezz almost 3 years ago

What's Changed

Full Changelog: https://github.com/azjezz/psl/compare/1.6.1...1.6.2

psl - Lavi - 1.9.2

Published by azjezz almost 3 years ago

What's Changed

Full Changelog: https://github.com/azjezz/psl/compare/1.9.1...1.9.2

psl - Lavi - 1.9.1

Published by azjezz almost 3 years ago

What's Changed

Full Changelog: https://github.com/azjezz/psl/compare/1.9.0...1.9.1

psl - Lavi - 1.9.0

Published by azjezz almost 3 years ago

Features:
- [Str] add reverse() function ( #238 by @yivi )
- [Str][Grapheme] add reverse() function ( #239 by @yivi )
- [Fun] add tap() function ( #234 by @veewee )
- [Type] performance improvements ( #223 by @Ocramius )

Other:
- add benchmarks ( #223 by @Ocramius )
- add documentation functions to makefile ( #235 by @veewee )

psl - Lavi - 1.8.1

Published by azjezz about 3 years ago

Features:

  • N/A

Fixes:

  • [Shell] fixed missing shell output from exception message ( #232 by @azjezz )

Other:

  • apply coding standards fix ( #232 @azjezz )
psl - Lavi - 1.8.0

Published by azjezz about 3 years ago

Features:

Fixes:

  • [Vec] fixed example of Vec\reproduce ( #218 by @hvt )
  • [Math] don't perform operations on possible numeric-string ( #220 by @orklah )
  • [Regex] fix replace_with() signature ( #219 by @caugner )

Other:

  • Suggest php-standard-library/psalm-plugin package ( #217 by @weirdan )
psl - Lavi - 1.7.3

Published by azjezz about 3 years ago

psl - Lavi - 1.7.2

Published by azjezz over 3 years ago

  • fixed mismatching psalm assert variables #197 ( thanks to @dragosprotung )
psl - Lavi - 1.7.1

Published by azjezz over 3 years ago

Fixes:

  • fixed #194
psl - Lavi - 1.6.1

Published by azjezz over 3 years ago

Fixes:

  • fixed #194
psl - Lavi - 1.7.0

Published by azjezz over 3 years ago

Features:

Other:

  • dropped support for PHP 7.4
psl - Lavi - 1.6.0

Published by azjezz over 3 years ago

Features:

  • added Psl\Type\positive_int function ( @michaelpetri - #177 )
  • added Psl\Dict\unique_scalar function ( @pencil-dog and @yivi - #168 )
  • simplified Psl\Str\Byte\reverse implementation ( @ntzm - #160 )

BC breaks:

  • changed return type of Psl\Str\metaphone from ?string to string ( @ntzm - #159 )
  • Psl\Str\metaphone now throws Psl\Exception\InvariantViolationException if $phonemes is negative ( @ntzm - #159 )
  • require non-empty-string instead of string when applicable ( @ntzm - #162 )
psl - Lavi - 1.5.0

Published by azjezz over 3 years ago

Components:

Features:

  • added Psl\Shell\execute function
  • added Psl\Shell\escape_argument function
  • added Psl\Shell\escape_command function
  • added Psl\Filesystem\SEPARATOR constant
  • added Psl\Filesystem\change_group function
  • added Psl\Filesystem\change_owner function
  • added Psl\Filesystem\change_permissions function
  • added Psl\Filesystem\copy function
  • added Psl\Filesystem\create_directory function
  • added Psl\Filesystem\create_file function
  • added Psl\Filesystem\delete_directory function
  • added Psl\Filesystem\delete_file function
  • added Psl\Filesystem\exists function
  • added Psl\Filesystem\file_size function
  • added Psl\Filesystem\get_group function
  • added Psl\Filesystem\get_owner function
  • added Psl\Filesystem\get_permissions function
  • added Psl\Filesystem\get_basename function
  • added Psl\Filesystem\get_directory function
  • added Psl\Filesystem\get_extension function
  • added Psl\Filesystem\get_filename function
  • added Psl\Filesystem\is_directory function
  • added Psl\Filesystem\is_file function
  • added Psl\Filesystem\is_symbolic_link function
  • added Psl\Filesystem\is_readable function
  • added Psl\Filesystem\is_writable function
  • added Psl\Filesystem\canonicalize function
  • added Psl\Filesystem\is_executable function
  • added Psl\Filesystem\read_directory function
  • added Psl\Filesystem\read_file function
  • added Psl\Filesystem\read_symbolic_link function
  • added Psl\Filesystem\append_file function
  • added Psl\Filesystem\write_file function
  • added Psl\Filesystem\create_temporary_file function
  • added Psl\Filesystem\create_hard_link function
  • added Psl\Filesystem\create_symbolic_link function
  • added Psl\Filesystem\get_access_time function
  • added Psl\Filesystem\get_change_time function
  • added Psl\Filesystem\get_modification_time function
  • added Psl\Filesystem\get_inode function
  • added a new Psl\Regex\replace_by function.
  • added an optional ?int $limit = null parameter to Psl\Regex\replace
  • added an optional ?int $limit = null parameter to Psl\Regex\replace_every
  • added Psl\Html\encode function
  • added Psl\Html\encode_special_characters function
  • added Psl\Html\decode function
  • added Psl\Html\decode_special_characters function
  • added Psl\Html\strip_tags function
  • added Psl\Type\literal_scalar function
  • added Psl\Type\optional function
  • added Psl\Type\TypeInterface::isOptional method
  • added Psl\IO\input_handle function
  • added Psl\IO\output_handle function
  • added Psl\IO\error_handle function
  • added Psl\IO\CloseHandleInterface interface
  • added Psl\IO\CloseReadHandleInterface interface
  • added Psl\IO\CloseReadWriteHandleInterface interface
  • added Psl\IO\CloseSeekHandleInterface interface
  • added Psl\IO\CloseSeekReadHandleInterface interface
  • added Psl\IO\CloseSeekReadWriteHandleInterface interface
  • added Psl\IO\CloseSeekWriteHandleInterface interface
  • added Psl\IO\CloseWriteHandleInterface interface
  • added Psl\IO\HandleInterface interface
  • added Psl\IO\ReadHandleInterface interface
  • added Psl\IO\ReadWriteHandleInterface interface
  • added Psl\IO\SeekHandleInterface interface
  • added Psl\IO\SeekReadHandleInterface interface
  • added Psl\IO\SeekReadWriteHandleInterface interface
  • added Psl\IO\SeekWriteHandleInterface interface
  • added Psl\IO\WriteHandleInterface interface
  • added Psl\IO\Writer class
  • added Psl\IO\Reader class
  • added Psl\IO\MemoryHandle class
psl - Lavi - 1.4.1

Published by azjezz over 3 years ago

Fixes:

  • Psl\Json\typed now accepts any implementation of Type\TypeInterface ( previously, only implementation of Type\Type were allowed )
Package Rankings
Top 0.64% on Packagist.org
Badges
Extracted from project README
CII Best Practices Coverage Status MSI Type Coverage Total Downloads Latest Stable Version License