Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Classy Laravel Package

ergebnis/classy

ergebnis/classy adds convenient helpers for working with PHP classes and reflection. Generate class names, namespaces, and short names, and inspect class metadata in a clean, test-friendly way—useful for tooling, libraries, and code generation.

View on GitHub
Deep Wiki
Context7
`3.0.0`

For a full diff see [2.0.0...3.0.0][2.0.0...3.0.0].

Added

Changed

  • Used File instead of string when referencing paths to files ([#1123]), by [@localheinz]
  • Started throwing an InvalidFile exception when attempting to create a File from blank or empty strings ([#1124]), by [@localheinz]
  • Renamed ExceptionInterface to Exception ([#1125]), by [@localheinz]
  • Renamed File to FilePath ([#1126]), by [@localheinz]
  • Renamed FileCouldNotBeParsed::fromFileAndParseError() to FileCouldNotBeParsed::atFilePathWithParseError() ([#1127]), by [@localheinz]
  • Used Source instead of string when referencing source code ([#1130]), by [@localheinz]
  • Started throwing FileCouldNotBeParsed when attempting to collect Constructs from a Finder yielding SplFileInfos with unparseable source code ([#1131]), by [@localheinz]
  • Renamed FileCouldNotBeRead::at() and FileDoesNotExist::at() to FileCouldNotBeRead::atFilePath() and FileDoesNotExist::atFilePath() ([#1132]), by [@localheinz]
  • Renamed ConstructFromFile to ConstructFromFilePath ([#1133]), by [@localheinz]
  • Renamed ConstructFromFileCollector and DefaultConstructFromFileCollector to ConstructFromFilePathCollector and DefaultConstructFromFilePathCollector ([#1134]), by [@localheinz]
`2.0.0`

For a full diff see [1.9.0...2.0.0][1.9.0...2.0.0].

Changed

  • Completely changed the way Constructs are collected, using Collector\ConstructFromSourceCollector, Collector\ConstructFromFileCollector, Collector\ConstructFromSplFileInfoCollector, and Collector\ConstructFromFinderCollector, instead of Constructs, which return lists of ConstructFromSource, ConstructFromFile, and ConstructFromSplFileInfo, each of which compose the Name and the Type of a Construct ([#1119]), by [@localheinz]
`1.9.0`

For a full diff see [1.8.0...1.9.0][1.8.0...1.9.0].

Added

  • Added support for PHP 8.5 ([#1075]), by [@localheinz]
`1.8.0`

For a full diff see [1.7.0...1.8.0][1.7.0...1.8.0].

Changed

  • Allowed installation on PHP 8.5 ([#1068]), by [@localheinz]
`1.7.0`

For a full diff see [1.6.0...1.7.0][1.6.0...1.7.0].

Added

  • Added support for PHP 8.0 ([#926]), by [@localheinz]
  • Added support for PHP 7.4 ([#929]), by [@localheinz]
  • Added support for PHP 8.4 ([#987]), by [@tacman]
`1.6.0`

For a full diff see [1.5.0...1.6.0][1.5.0...1.6.0].

Added

`1.5.0`

For a full diff see [1.4.0...1.5.0][1.4.0...1.5.0].

Changed

  • Dropped support for PHP 8.0 ([#702]), by [@localheinz]
`1.4.0`

For a full diff see [1.3.0...1.4.0][1.3.0...1.4.0].

Changed

  • Dropped support for PHP 7.4 ([#619]), by [@localheinz]
`1.3.0`

For a full diff see [1.2.0...1.3.0][1.2.0...1.3.0].

Fixed

  • Dropped support for PHP 7.2 ([#481]), by [@localheinz]
  • Dropped support for PHP 7.3 ([#486]), by [@localheinz]
`1.2.0`

For a full diff see [1.1.1...1.2.0][1.1.0...1.2.0].

Added

Deprecated

  • Deprecated Construct::__toString() ([#467]), by [@localheinz]
`1.1.1`

For a full diff see [1.1.0...1.1.1][1.1.0...1.1.1].

Fixed

  • Determine classy names within namespace with single segment on PHP 8.0 ([#343]), by [@localheinz]
`1.1.0`

For a full diff see [1.0.1...1.1.0][1.0.1...1.1.0].

Changed

`1.0.1`

For a full diff see [1.0.0...1.0.1][1.0.0...1.0.1].

Changed

  • Dropped support for PHP 7.1 ([#231]), by [@localheinz]
`1.0.0`

For a full diff see [0.5.2...1.0.0][0.5.2...1.0.0].

`0.5.2`

For a full diff see [0.5.1...0.5.2][0.5.1...0.5.2].

Fixed

  • Brought back support for PHP 7.1 ([#103]), by [@localheinz]
`0.5.1`

For a full diff see [0.5.0...0.5.1][0.5.0...0.5.1].

Fixed

  • Removed an inappropriate replace configuration from composer.json ([#100]), by [@localheinz]
`0.5.0`

For a full diff see 0.4.0...0.5.0.

Changed

  • Renamed vendor namespace Localheinz to Ergebnis after move to [@ergebnis] (#88), by [@localheinz]

    Run

    $ composer remove localheinz/classy
    

    and

    $ composer require ergebnis/classy
    

    to update.

    Run

    $ find . -type f -exec sed -i '.bak' 's/Localheinz\\Classy/Ergebnis\\Classy/g' {} \;
    

    to replace occurrences of Localheinz\Classy with Ergebnis\Classy.

    Run

    $ find -type f -name '*.bak' -delete
    

    to delete backup files created in the previous step.

Fixed

[@ergebnis]: https://github.com/ergebnis [@localheinz]: https://github.com/localheinz [@tacman]: https://github.com/tacman

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport