Download the PHP package eptic/valet-wsl without Composer

On this page you can find all versions of the php package eptic/valet-wsl. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package valet-wsl

Total Downloads Latest Stable Version Latest Unstable Version License

Introduction

Valet WSL is an advanced development environment for Windows Subsystem for Linux. No Vagrant, no hosts file manual management. You can even share your sites publicly using local tunnels. Yeah, we like it too.

Valet WSL configures your system to always run Nginx in the background when your machine starts. Because of the WSL limitations, DnsMasq is not used, instead valet manages the hosts files when any website is linked or unlinked.

In other words, a blazing fast PHP development environment that uses roughly 7mb of RAM. Valet WSL isn't a complete replacement for Valet Linux+, Laravel Valet, Vagrant or Homestead, but provides a great alternative if you want flexible basics, prefer extreme speed, or are working on a machine with a limited amount of RAM.

This is a port of Valet Linux+ made for WSL. If you want the DnsMasq version of this project, please check it out.

Official Documentation

Installing Valet WSL

Important

Requirements

Required OS WSL Ubuntu 14.04+
OS Packages sudo apt-get install jq xsel
PHP Version 7.4, 8.0, 8.1
PHP Extensions php-cli php-curl php-mbstring php-mcrypt php-xml php-zip

Installation

Switching PHP Version

Switch PHP version using the command:

Example:

Use --update-cli flag to update PHP cli version as well.

Database

Valet WSL automatically installs MySQL. It includes a tweaked my.cnf which is aimed at improving speed.

Change password

It can be single line of code to change your MySQL password. We don't have to always login to MySQL and find for the query and execute it. It's just that simple as below:

List databases

Creating database

Create a new database using:

When no name is given it will use the current working directory as the name of the database

Dropping database

When no name is given it will use the current working directory as the name of the database

Domain Alias / Symlinks

Display all of the registered symbolic links:

Add the current folder as a symlink:

For example:

This will create a symbolic link for the current folder and point it to beel.test

Securing sites with TLS

By default, Valet serves sites over plain HTTP. However, if you would like to serve a site over encrypted TLS using HTTP/2, use the secure command.
For example, if your site is being served by Valet on the example.test domain, you should run the following command to secure it:

If you don't provide the name and the current working directory is linked to a domain, it will use the current working directory as the domain.

This will make beel.test to work with https://beel.test

License

Valet WSL is open-sourced software licensed under the MIT license


All versions of valet-wsl with dependencies

PHP Build Version
Package Version
Requires ext-posix Version *
ext-json Version *
php Version ^8.1|^8.2
illuminate/container Version ^8.0|^9.0|^10.0
illuminate/collections Version ^8.0|^9.0|^10.0
mnapoli/silly Version ~1.1
symfony/process Version ^3.0|^4.0|^5.0|^6.0
nategood/httpful Version ~0.2
symfony/console Version ~6.3
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package eptic/valet-wsl contains the following files

Loading the files please wait ....