Varlet is a a web development environment for minimalists, inspired from Laravel Valet and Laragon. Varlet only includes PHP, Composer, and HTTP web server. If you want to use databases like PostgreSQL, MariaDB/MySQL, Redis, you need to install them separately.
Varlet is made for you, the developers who like to work in the terminal, like me!
- Multiple PHP v7.x
- Apache HTTPD
- Composer
- xDebug
- PHP Redis
- ImageMagick
- ionCube loader
- Phalcon PHP extension
- Mailhog + mhsendmail
- Adminer db manager
- Automatic https
The Varlet package does not include database engines such as MariaDB / MySQL, PostgreSQL, or even Redis. You are free to install any database distribution as you wish. Or you can use our simplified database distribution at Varlet Addons.
To install Varlet you need dotNet Framework >= 4.5.2, then download latest release and run installation file.
Varlet doesn't have park
command like Laravel Valet does, your project files can stored at:
installation_path\www
.
Or, you can use the varlet link
command and place your project files in any directory you want.
Command | Description |
---|---|
varlet link |
Create virtualhost from any directory |
varlet unlink |
Remove virtualhost |
varlet start |
Start Varlet service |
varlet stop |
Stop Varlet service |
varlet restart |
Restart Varlet service |
Because Varlet need to modify Windows hosts file and manage Windows Services, you need to run VarletUi.exe
and
varlet.exe
as Administrator.
I'm using Rider from JetBrains, but you can use Visual Studio Build Tools too.
In summary, to compile without the need to have Visual Studio or Rider installed:
- Download JetBrains MSBuild, extract to
C:\SDK\JetMSBuild
- Download and install Microsoft .NET Framework Developer Pack 4.5.2 or later
- Download and install Inno Setup (for creating the installer file)
- Finally, run
setup.bat
and enjoy a cup of coffee.
Or, using Microsoft Visual Studio Build Tools:
- Download this file: https://www.visualstudio.com/downloads/#build-tools-for-visual-studio-2019
- Run:
vs_buildtools.exe --add Microsoft.VisualStudio.Workload.MSBuildTools --quiet
- For more detail, read more at StackOverflow.
Varlet is free software: you can distribute it and or modify it according to the license provided. Varlet is a compilation of free software, it's free of charge and it's free to copy under the terms of the Apache License 2.0. Please check every single licence of the contained products to get an overview of what is, and what isn't, allowed. In the case of commercial use please take a look at the product licences (especially MySQL), from the my point of view commercial use is also free.
Read the licence file file for the full Varlet license text.