Download the PHP package arispati/phpdev without Composer
On this page you can find all versions of the php package arispati/phpdev. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download arispati/phpdev
More information about arispati/phpdev
Files in arispati/phpdev
Package phpdev
Short Description A more enjoyable local development experience for WSL on Windows.
License MIT
Informations about the package phpdev
PhpDev
PhpDev is a local PHP development environment inspired by Laravel Valet for WSL on Windows.
Installation
PhpDev requires WSL on Windows with Ubuntu OS, Nginx and Homebrew.
Before installation, you should make sure that no other programs such as Apache that binding to your local machine's port 80.
To get started, you first need to ensure that Homebrew is up to date using the update
command:
Next, you should use Homebrew to install PHP:
After installing PHP, you are ready to install the Composer package manager. After Composer has been installed, you may install PhpDev as a global Composer package:
Make sure the
$HOME/.config/composer/vendor/bin
directory is in your system's "PATH".
Finally, you may execute PhpDev's install command. This will configure and install PhpDev services. In addition, the daemons PhpDev depends on will be configured to launch when your system starts:
Upgrading
You may update your PhpDev installation by executing the composer global require arispati/phpdev
command in your terminal. After upgrading, it is good practice to run the phpdev install
command so PhpDev can make additional upgrades to your configuration files if necessary.
Commands
Command | Description |
---|---|
install | Install PhpDev services |
start | Start PhpDev services |
stop | Stop PhpDev services |
restart | Restart PhpDev services |
links | Show all linked sites |
link | Link the current working directory |
proxy | Add proxy site |
unlink | Unlink site |
switch | Switch PHP version for the site |
list | Display a list of all commands |
Link Command
phpdev link [path] [-s|--site=] [-p|--php=]
Arguments | Description | Default |
---|---|---|
path | Root directory path for the site | Current directory path |
-s, --site | Site name | Current directory name |
-p, --php | Which php version to use | Current php version |
Example:
Link
laravel.test
withpublic
folder as web root directory
:information_source: You still have to add laravel.test
to the hosts
file on windows
Proxy Command
phpdev proxy site destination
Arguments | Description |
---|---|
site | Site name |
destination | Proxy destination |
Example:
Proxy
laravel.test
tohttp://127.0.0.1:8000
Unlink Command
phpdev unlink site
Arguments | Description |
---|---|
site | Site name |
Example:
Remove
laravel.test
Switch command
phpdev switch site php
Arguments | Description |
---|---|
site | Site name |
php | PHP version |
Example:
Switch php version of
laravel.test
toPHP 8.4
All versions of phpdev with dependencies
mnapoli/silly Version ^1.9
symfony/process Version ^7.1
illuminate/collections Version ^11.0
illuminate/container Version ^11.0