Here's a quick composer tip. The next time you require a dependency, use --sort-packages to alphabetically sort the dependencies in your composer.json. For example:

composer require spatie/string --sort-packages