Download the PHP package jamosaur/vali without Composer
On this page you can find all versions of the php package jamosaur/vali. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download jamosaur/vali
More information about jamosaur/vali
Files in jamosaur/vali
Informations about the package vali
vali
An easy way to get started with docker in your laravel installation with local https support. Heavily inspired by Laravel Sail.
Services included:
- nginx + php8.0-fpm
- mysql 8
- redis
- mailhog
Requirements
- docker
- mkcert (if you wish to use https locally)
Install
Via Composer
The set up wizard will ask you some questions about your requirements. Answer the questions and config will be generated for you.
The first time you run up
may take a while as it will have to download docker images, subsequent runs will be much faster.
Adding a bash alias
While not necessary, it is highly recommended to add a bash alias for vali.
By adding an alias, you can invoke vali by vali
instead of ./vendor/bin/vali
.
To do this, add into your shell config file (~/.zshrc, ~/.bashrc) the following:
Using HTTPS
To use https locally, I recommend using mkcert to generate your certificates.
From your project directory, run the following:
vali will ask you for a domain name to use. It will automatically create a wildcard certificate for you.
Entering vali.test
will genereate a single certificate that works for vali.test
and also *.vali.test
Alternatively, if you'd like to create these manually:
Usage
If you plan on using https locally, it is best to read through the Using HTTPS
section above first.
Get started by running the vali:install
artisan command.
This will create a docker-composer.yml
file in your project root. It will also create an nginx-config.conf
file inside of your config folder. You can make any changes you'd like to your nginx config here.
Available commands
License
The MIT License (MIT). Please see License File for more information.
All versions of vali with dependencies
illuminate/contracts Version ^8.0|^9.0|^10.0|^11.0
illuminate/console Version ^8.0|^9.0|^10.0|^11.0
illuminate/support Version ^8.0|^9.0|^10.0|^11.0