Slim is a powerful php<\/a> micro framework which allows developers to create web applications. In this tutorial I am going to describe you about how to install Slim Framework 3.<\/p>\n I will use Composer for installing Slim Framework. So I am assuming that you already install Composer on your Windows machine. If you don\u2019t know how to install composer then check my post how to install composer on windows with XAMPP<\/a><\/p>\n First of all create a directory in your xampp\/htdocs<\/strong> folder. In my example I am taking testSlim <\/strong>folder. Once testSlim folder is created then create composer.json (file name should be same )<\/strong> file inside testSlim <\/strong>folder. <\/strong>Now open composer.json <\/strong>and paste following\u00a0 json code.<\/p>\n In the above json code “require” <\/strong>key is telling composer about your project dependencies. \u00a0slim\/slim-skeleton <\/strong>is a package name which consist of two parts first part is vendor name and second part is project name. 3.* <\/strong>is a package version which means any version in the 3 development branch or \u00a0in other words version > 3.0 but < 3.9.<\/p>\n{\r\n\"require\":{\r\n \"slim\/slim-skeleton\": \"3.*\"\r\n }\r\n}\r\n<\/pre>\n
\n