Slim Framework: Difference between revisions
Jump to navigation
Jump to search
Line 17: | Line 17: | ||
composer require doctrine/orm | composer require doctrine/orm | ||
composer require vlucas/phpdotenv | composer require vlucas/phpdotenv | ||
composer require php-di/php-di | |||
composer require phpunit/phpunit --dev | |||
== Links == | == Links == |
Revision as of 14:29, 30 October 2021
Requirements
Slim 4 requires PHP 7.2 or greater. The current Ubuntu LTS and Debian stable include 7.4, so this requirement is satisfied on up to date servers.
Installation
Core:
composer require slim/slim:"4.*" composer require slim/psr7
Additional libraries:
composer require filp/whoops composer require twig/twig composer require twig/intl-extra composer require doctrine/orm composer require vlucas/phpdotenv composer require php-di/php-di composer require phpunit/phpunit --dev