https://github.com/riipandi/varlet
Minimalism web development stack.
https://github.com/riipandi/varlet
developer-tools development-environment php valet windows
Last synced: 9 months ago
JSON representation
Minimalism web development stack.
- Host: GitHub
- URL: https://github.com/riipandi/varlet
- Owner: riipandi
- License: apache-2.0
- Created: 2019-09-19T05:16:05.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2021-11-27T20:21:14.000Z (over 4 years ago)
- Last Synced: 2025-04-01T17:14:16.877Z (over 1 year ago)
- Topics: developer-tools, development-environment, php, valet, windows
- Language: C#
- Homepage: https://varlet.dev
- Size: 7.4 MB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license.txt
Awesome Lists containing this project
README

## Introduction
Varlet is a a web development environment for minimalists, inspired from [Laravel Valet](https://laravel.com/docs/valet)
and [Laragon](https://laragon.org). 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!
## What's in the box?
- Multiple PHP v7.x
- Apache HTTPD
- Composer
- xDebug
- PHP Redis
- ImageMagick
- ionCube loader
- Phalcon PHP extension
- Mailhog + mhsendmail
- Adminer db manager
- Automatic https
## Where is the databases?
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](https://github.com/riipandi/varlet-addons).
## Quick Start
To install Varlet you need [dotNet Framework](https://dotnet.microsoft.com/download/dotnet-framework) >= 4.5.2,
then download [latest release](https://github.com/riipandi/varlet/releases) 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.
### Varlet Commands
| 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
### Current Issue
Because Varlet need to modify Windows hosts file and manage Windows Services, you need to run `VarletUi.exe` and
`varlet.exe` as Administrator.
## Building Packages
I'm using Rider from JetBrains, but you can use [Visual Studio Build Tools](https://visualstudio.microsoft.com/downloads/#vstool-2019-family) too.
In summary, to compile without the need to have Visual Studio or Rider installed:
1. Download [JetBrains MSBuild](https://jb.gg/msbuild), extract to `C:\SDK\JetMSBuild`
2. Download and install Microsoft [.NET Framework Developer Pack](https://dotnet.microsoft.com/download/dotnet-framework) 4.5.2 or later
3. Download and install [Inno Setup](http://www.jrsoftware.org/isdl.php) (for creating the installer file)
4. Finally, run `setup.bat` and enjoy a cup of coffee.
Or, using Microsoft Visual Studio Build Tools:
1. Download this file:
2. Run: `vs_buildtools.exe --add Microsoft.VisualStudio.Workload.MSBuildTools --quiet`
3. For more detail, read more at [StackOverflow](https://stackoverflow.com/questions/42696948/how-can-i-install-the-vs2017-version-of-msbuild-on-a-build-server-without-instal).
## License
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](https://choosealicense.com/licenses/apache-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](./license.txt) file for the full Varlet license text.