Right click the downloaded XAMPP .zip file > Extract All...
Right click the downloaded Snipe-IT .zip file > Extract All...
Rename the extracted folder snipe-it
Cut the snipe-it folder inside the XAMPP directory
Copy the extracted XAMPP directory to a safe location to run from, C:\Program Files for example
Run XAMPP/setup_xampp.bat to update the configuration files with the new server location
Navigate to XAMPP/php and edit php.ini
Find the following line and remove the ; to uncomment them
extension=ldap
Save the changes to php.ini
Navigate to XAMPP/apache/conf and edit httpd.conf
Paste the following configuration at the bottom of the file, update the folder paths as needed
Alias /snipe-it "C:/Program Files/xampp/snipe-it/public/"
<Directory "C:/Program Files/xampp/snipe-it/public">
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
Save the changes to httpd.conf
Install Composer
Navigate to the XAMPP/snipe-it folder > Right click in the white space > Open PowerShell window here...
Run the following command to download dependencies
# create a copy of the sample .env file cp .\.env.example .\.env # install dependencies with composer composer i --no-dev --prefer-source # generate app key, type yes to confirm generating a new key php artisan key:generate # edit .env in notepad notepad .\.env
Modifying the following key/value pairs in .env as needed