sebastian/complexity

repository·main·Indexed 22 days ago

https://github.com/sebastianbergmann/complexity

A PHP library designed to calculate the complexity of PHP code units.

Tokens
158
Snippets
2
Records
2
Agent score
29%

What's inside sebastian/complexity

  1. Install sebastian/complexity via Composer

    main

    You can add sebastian/complexity to your project using Composer. Use the standard requirement command for a production dependency, or the --dev flag if you only need the library for development tasks like running a test suite.

    composer require sebastian/complexity
  2. Install sebastian/complexity as a development dependency

    main

    If you only need this library during development (e.g., for static analysis or test suites), install it using the --dev flag to ensure it is not included in production environments.

    composer require --dev sebastian/complexity