leocavalcante / nano-goridge

Proof of concept on running Hyperf's Nano with Spiral's Goridge

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nano Goridge

Proof of concept on running Hyperf's Nano with Spiral's Goridge

Getting started

Build the Docker image with PHP, Composer, Swoole and Go.

make image

Run a container.

make up

Start an interactive shell.

make sh

Inside the container

Run the Go app with:

go run -mod=readonly .

readonly is to avoid confusion on Composer's vendor/ and Go's vendor/.

Install PHP dependencies.

composer install

Run the Nano command.

php app.php hello-go

About

Proof of concept on running Hyperf's Nano with Spiral's Goridge

License:MIT License


Languages

Language:PHP 39.5%Language:Go 36.8%Language:Makefile 16.3%Language:Dockerfile 7.4%