aarondfrancis / fast-paginate

A fast implementation of offset/limit pagination for Laravel.
MIT License
1.21k stars 56 forks source link

Add description to fix `composer show --tree` #43

Closed bradleybernard closed 1 year ago

bradleybernard commented 1 year ago

While running:

composer show --tree

CleanShot 2022-12-03 at 23 02 19

It fails if this package (hammerstonedev/fast-paginate) is installed, since the description key is empty in composer.json. See composer source code where strtok() fails since description is null instead of string type: https://github.com/composer/composer/blob/main/src/Composer/Command/ShowCommand.php#L1127

I added a very simple description, nothing too fancy!

aarondfrancis commented 1 year ago

Huh, who knew! Thanks Bradley.