Websoft9 / docker-library

Docker Compose examples of selfhosted FOSS based on official image, just run it.
https://www.websoft9.com
Other
36 stars 25 forks source link

Web framework for PHP runtime[runtime] #155

Open chendelin1982 opened 2 years ago

chendelin1982 commented 2 years ago

What type of your feature request?

refer to: https://github.com/chendelin1982/awesome-php/tree/master#frameworks

chendelin1982 commented 2 years ago

ThinkPHP

composer create-project topthink/think tp
cd tp
php think run -H 0.0.0.0 -p 8082

Symfony

composer create-project symfony/skeleton:"6.1.*" my_project_directory
cd my_project_directory
composer require webapp
symfony server:start --port 8008 -d

to to: only support 127.0.0.0 interface, you can refer to: https://symfony.com/doc/4.0/setup/built_in_web_server.html

Yii

composer create-project --prefer-dist yiisoft/yii2-app-basic myyii
cd myyii
#php yii serve --port=8888
cd web && php -S 0.0.0.0:9098

to to: only support 127.0.0.0 interface,

image