DeQue Polynomial Regression is a PHP library created by Andrew Que. The library was adapted to use PSR-4 for autoloading with composer in order to be used in any PHP framework such as Symfony.
Polynomial regression is a method of least-square fitting. It can be used to get trendlines. For more information on the library and the concept of polynomial regression, visit the following link: Polynomial Regression PHP Library