This package is abandoned and no longer maintained. The author suggests using the dragon-code/support package instead.

Support package is a collection of helpers and tools for any project.

v5.4.0 2021-12-02 13:26 UTC

README

Support

Support package is a collection of helpers and tools for any project.

Stable Version Unstable Version Total Downloads License

Github Workflow Status Coverage Status Scrutinizer Code Quality

Installation

$ composer require dragon-code/support

Contributing

Are you missing any method used in your project?

You can easily add support for it in this package. We do not limit the number of methods or classes.

What you need to add a method

Does this method fit into existing classes?

If yes, then:

  • add a new method to your desired class (Arr, Digit, Http, Str, etc.) in еру DragonCode\Support\Helpers namespace;
  • Specify the name and parameters of the called method in the dock block of the corresponding facade class (DragonCode\Support\Facades\Helpers);
  • Add tests for native use (Tests\Helpers);
  • Add tests for facade use (Tests\Facades\Helpers);
  • It's all 😊

If no, then:

What you need to add a new class

  • create a new class in DragonCode\Support\Helpers namespace;
  • create a new facade with doc-block in the DragonCode\Support\Facades\Helpers namespace;
  • create a new class of native tests in the Tests\Helpers namespace;
  • create a new class of facade tests in the Tests\Facades\Helpers namespace;
  • It's all 😊

Upgrade from andrey-helldar/support

  1. Replace "andrey-helldar/support": "^4.0" with "dragon-code/support": "^5.0" in the composer.json file;
  2. Replace Helldar\Support namespace prefix with DragonCode\Support;
  3. Call the composer update console command.

License

This package is licensed under the MIT License.