Code Monkey home page Code Monkey logo

varlet's Introduction

GitHub release (latest SemVer) GitHub All Releases Apache License Join the community on Spectrum

Introduction

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!

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.

Quick Start

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.

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 too.

In summary, to compile without the need to have Visual Studio or Rider installed:

  1. Download JetBrains MSBuild, extract to C:\SDK\JetMSBuild
  2. Download and install Microsoft .NET Framework Developer Pack 4.5.2 or later
  3. Download and install Inno Setup (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: https://www.visualstudio.com/downloads/#build-tools-for-visual-studio-2019
  2. Run: vs_buildtools.exe --add Microsoft.VisualStudio.Workload.MSBuildTools --quiet
  3. For more detail, read more at StackOverflow.

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. 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.

varlet's People

Contributors

riipandi avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

varlet's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.