Skip to content

clubdrei/php-dev-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP development server

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

  1. Generate certificate
  2. Convert to P12 openssl pkcs12 -export -out default.p12 -inkey privkey.pem -in cert.pem -certfile chain.pem
  3. Use symfony as export password
  4. Copy default.p12 to the desired directory``

Credits

About

This package is a wrapper around the wonderful Symfony Binary.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages