Richa Sharma2025-06-30T10:02:07+00:00Prerequisites:
PHP 7.3
Visual Studio Code
1) Install slim via composer
//run this command on terminal composer require slim/slim:”3.*”
2) Install PHPUnit
//run this command on terminal
composer require-dev PHPUnit/PHPUnit ^7
Now, PHPUnit successfully installs you can see it in the demo/composer.json file and in the vendor folder.
3) Create a Demo/phpunit.xml...