clubdrei / php-dev-server
Wrapper around symfony/cli for easier install with composer
Installs: 2 205
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: >=5.6
- ext-json: *
This package is auto-updated.
Last update: 2024-12-06 19:25:36 UTC
README
This package is a wrapper around the wonderful Symfony Binary.
Start development server
./vendor/bin/php-dev-server
Configuration in composer.json
{ "extra": { "clubdrei/php-dev-server": { "port": 55555, "webDirectory": "public", "tlsEnabled": false, "p12File": null } } }
Generate P12 file from Let's Encrypt certificate
- Generate certificate
- Convert to P12
openssl pkcs12 -export -out default.p12 -inkey privkey.pem -in cert.pem -certfile chain.pem
- Use
symfony
as export password - Copy
default.p12
to the desired directory``