{"id":28248691,"url":"https://github.com/easyengine/site-type-php","last_synced_at":"2025-07-14T12:37:07.800Z","repository":{"id":32950956,"uuid":"147371422","full_name":"EasyEngine/site-type-php","owner":"EasyEngine","description":"hacktoberfest","archived":false,"fork":false,"pushed_at":"2025-07-11T14:19:07.000Z","size":412,"stargazers_count":7,"open_issues_count":9,"forks_count":12,"subscribers_count":5,"default_branch":"develop","last_synced_at":"2025-07-11T15:51:00.758Z","etag":null,"topics":["easyengine","easyengine-command","hacktoberfest","php","ssl"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EasyEngine.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-09-04T15:55:04.000Z","updated_at":"2025-07-11T14:18:45.000Z","dependencies_parsed_at":"2024-05-14T11:47:18.798Z","dependency_job_id":"f994108a-137a-4087-a0de-3dcfda72d64e","html_url":"https://github.com/EasyEngine/site-type-php","commit_stats":{"total_commits":192,"total_committers":8,"mean_commits":24.0,"dds":0.5208333333333333,"last_synced_commit":"71423cbcdaa5861504f13da4449612f3ab860036"},"previous_names":[],"tags_count":29,"template":false,"template_full_name":null,"purl":"pkg:github/EasyEngine/site-type-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EasyEngine%2Fsite-type-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EasyEngine%2Fsite-type-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EasyEngine%2Fsite-type-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EasyEngine%2Fsite-type-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EasyEngine","download_url":"https://codeload.github.com/EasyEngine/site-type-php/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EasyEngine%2Fsite-type-php/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265293375,"owners_count":23742285,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["easyengine","easyengine-command","hacktoberfest","php","ssl"],"created_at":"2025-05-19T12:16:49.105Z","updated_at":"2025-07-14T12:37:07.793Z","avatar_url":"https://github.com/EasyEngine.png","language":"PHP","readme":"easyengine/site-type-php\n========================\n\nEasyEngine package for PHP site creation.\n\n[![Build Status](https://travis-ci.org/easyengine/site-type-php.svg?branch=master)](https://travis-ci.org/easyengine/site-type-php)\n\nQuick links: [Using](#using) | [Contributing](#contributing) | [Support](#support)\n\n## Using\n\nThis package implements the following commands:\n\n### ee site create --type=php\n\nRuns the standard PHP Site installation.\n\n~~~\nee site create --type=php \u003csite-name\u003e [--cache] [--admin-email=\u003cadmin-email\u003e]  [--with-db] [--local-db] [--php=\u003cphp-version\u003e] [--dbname=\u003cdbname\u003e] [--dbuser=\u003cdbuser\u003e] [--dbpass=\u003cdbpass\u003e] [--dbhost=\u003cdbhost\u003e] [--with-local-redis] [--skip-check] [--skip-status-check] [--ssl=\u003cvalue\u003e] [--wildcard] [--force]\n~~~\n\n**OPTIONS**\n\n\t\u003csite-name\u003e\n\t\tName of website.\n\n\t[--cache]\n\t\tUse redis cache for PHP.\n\n\t[--admin-email=\u003cadmin-email\u003e]\n\t\tE-Mail of the administrator.\n\n\t [--with-db]\n\t\tCreate database for php site.\n\n\t[--local-db]\n\t\tCreate separate db container instead of using global db.\n\n\t[--php=\u003cphp-version\u003e]\n\t\tPHP version for site. Currently only supports PHP 5.6 and latest.\n\t\t---\n\t\tdefault: latest\n\t\toptions:\n\t\t\t- 5.6\n\t\t\t- 7.2\n\t\t\t- latest\n\t\t---\n\n\t[--dbname=\u003cdbname\u003e]\n\t\tSet the database name.\n\n\t[--dbuser=\u003cdbuser\u003e]\n\t\tSet the database user.\n\n\t[--dbpass=\u003cdbpass\u003e]\n\t\tSet the database password.\n\n\t[--dbhost=\u003cdbhost\u003e]\n\t\tSet the database host. Pass value only when remote dbhost is required.\n\n\t[--with-local-redis]\n\t\tEnable cache with local redis container.\n\n\t[--skip-check]\n\t\tIf set, the database connection is not checked.\n\n\t[--skip-status-check]\n\t\tSkips site status check.\n\n\t[--ssl=\u003cvalue\u003e]\n\t\tEnables ssl on site.\n\n\t[--wildcard]\n\t\tGets wildcard SSL .\n\n\t[--force]\n\t\tResets the remote database if it is not empty.\n\n**EXAMPLES**\n\n    # Create php site (without db)\n    $ ee site create example.com --type=php\n\n    # Create php site with db\n    $ ee site create example.com --type=php --with-db\n\n    # Create php site with ssl from letsencrypt\n    $ ee site create example.com --type=php --ssl=le\n\n    # Create php site with wildcard ssl\n    $ ee site create example.com --type=php --ssl=le --wildcard\n\n    # Create php site with self signed certificate\n    $ ee site create example.com --type=php --ssl=self\n\n    # Create php site with remote database\n    $ ee site create example.com --type=php --with-db --dbhost=localhost --dbuser=username --dbpass=password\n\n\n\n### ee site delete\n\nDeletes a website.\n\n~~~\nee site delete \u003csite-name\u003e [--yes]\n~~~\n\n**OPTIONS**\n\n\t\u003csite-name\u003e\n\t\tName of website to be deleted.\n\n\t[--yes]\n\t\tDo not prompt for confirmation.\n\n**EXAMPLES**\n\n    # Delete site\n    $ ee site delete example.com\n\n\n\n### ee site update\n\nSupports updating and upgrading site.\n\n~~~\nee site update [\u003csite-name\u003e] [--ssl=\u003cssl\u003e] [--wildcard]\n~~~\n\n\t[\u003csite-name\u003e]\n\t\tName of the site.\n\n\t[--ssl=\u003cssl\u003e]\n\t\tEnable ssl on site\n\n\t[--wildcard]\n\t\tEnable wildcard SSL on site.\n\n**EXAMPLES**\n\n    # Add SSL to non-ssl site\n    $ ee site update example.com --ssl=le\n\n    # Add SSL to non-ssl site\n    $ ee site update example.com --ssl=le --wildcard\n\n    # Add self-signed SSL to non-ssl site\n    $ ee site update example.com --ssl=self\n\n\n\n### ee site info --type=php\n\nRuns the standard PHP Site installation.\n\n~~~\nee site info --type=php \u003csite-name\u003e [--cache] [--admin-email=\u003cadmin-email\u003e]  [--with-db] [--local-db] [--php=\u003cphp-version\u003e] [--dbname=\u003cdbname\u003e] [--dbuser=\u003cdbuser\u003e] [--dbpass=\u003cdbpass\u003e] [--dbhost=\u003cdbhost\u003e] [--with-local-redis] [--skip-check] [--skip-status-check] [--ssl=\u003cvalue\u003e] [--wildcard] [--force]\n~~~\n\n**OPTIONS**\n\n\t\u003csite-name\u003e\n\t\tName of website.\n\n\t[--cache]\n\t\tUse redis cache for PHP.\n\n\t[--admin-email=\u003cadmin-email\u003e]\n\t\tE-Mail of the administrator.\n\n\t [--with-db]\n\t\tCreate database for php site.\n\n\t[--local-db]\n\t\tCreate separate db container instead of using global db.\n\n\t[--php=\u003cphp-version\u003e]\n\t\tPHP version for site. Currently only supports PHP 5.6 and latest.\n\t\t---\n\t\tdefault: latest\n\t\toptions:\n\t\t\t- 5.6\n\t\t\t- 7.2\n\t\t\t- latest\n\t\t---\n\n\t[--dbname=\u003cdbname\u003e]\n\t\tSet the database name.\n\n\t[--dbuser=\u003cdbuser\u003e]\n\t\tSet the database user.\n\n\t[--dbpass=\u003cdbpass\u003e]\n\t\tSet the database password.\n\n\t[--dbhost=\u003cdbhost\u003e]\n\t\tSet the database host. Pass value only when remote dbhost is required.\n\n\t[--with-local-redis]\n\t\tEnable cache with local redis container.\n\n\t[--skip-check]\n\t\tIf set, the database connection is not checked.\n\n\t[--skip-status-check]\n\t\tSkips site status check.\n\n\t[--ssl=\u003cvalue\u003e]\n\t\tEnables ssl on site.\n\n\t[--wildcard]\n\t\tGets wildcard SSL .\n\n\t[--force]\n\t\tResets the remote database if it is not empty.\n\n**EXAMPLES**\n\n    # Create php site (without db)\n    $ ee site create example.com --type=php\n\n    # Create php site with db\n    $ ee site create example.com --type=php --with-db\n\n    # Create php site with ssl from letsencrypt\n    $ ee site create example.com --type=php --ssl=le\n\n    # Create php site with wildcard ssl\n    $ ee site create example.com --type=php --ssl=le --wildcard\n\n    # Create php site with self signed certificate\n    $ ee site create example.com --type=php --ssl=self\n\n    # Create php site with remote database\n    $ ee site create example.com --type=php --with-db --dbhost=localhost --dbuser=username --dbpass=password\n\n\n\n### ee site enable\n\nEnables a website. It will start the docker containers of the website if they are stopped.\n\n~~~\nee site enable [\u003csite-name\u003e] [--force] [--verify]\n~~~\n\n**OPTIONS**\n\n\t[\u003csite-name\u003e]\n\t\tName of website to be enabled.\n\n\t[--force]\n\t\tForce execution of site enable.\n\n\t[--verify]\n\t\tVerify if required global services are working.\n\n**EXAMPLES**\n\n    # Enable site\n    $ ee site enable example.com\n\n    # Enable site with verification of dependent global services. (Note: This takes longer time to enable the\n    site.)\n    $ ee site enable example.com --verify\n\n    # Force enable a site.\n    $ ee site enable example.com --force\n\n\n\n### ee site disable\n\nDisables a website. It will stop and remove the docker containers of the website if they are running.\n\n~~~\nee site disable [\u003csite-name\u003e]\n~~~\n\n**OPTIONS**\n\n\t[\u003csite-name\u003e]\n\t\tName of website to be disabled.\n\n**EXAMPLES**\n\n    # Disable site\n    $ ee site disable example.com\n\n\n\n### ee site info\n\nDisplay all the relevant site information, credentials and useful links.\n\n~~~\nee site info [\u003csite-name\u003e]\n~~~\n\n\t[\u003csite-name\u003e]\n\t\tName of the website whose info is required.\n\n**EXAMPLES**\n\n    # Display site info\n    $ ee site info example.com\n\n\n\n### ee site ssl\n\nVerifies ssl challenge and also renews certificates(if expired).\n\n~~~\nee site ssl \u003csite-name\u003e [--force]\n~~~\n\n**OPTIONS**\n\n\t\u003csite-name\u003e\n\t\tName of website.\n\n\t[--force]\n\t\tForce renewal.\n\n\n\n### ee site list\n\nLists the created websites.\n\n~~~\nee site list [--enabled] [--disabled] [--format=\u003cformat\u003e]\n~~~\n\nabstract list\n\n\t[--enabled]\n\t\tList only enabled sites.\n\n\t[--disabled]\n\t\tList only disabled sites.\n\n\t[--format=\u003cformat\u003e]\n\t\tRender output in a particular format.\n\t\t---\n\t\tdefault: table\n\t\toptions:\n\t\t  - table\n\t\t  - csv\n\t\t  - yaml\n\t\t  - json\n\t\t  - count\n\t\t  - text\n\t\t---\n\n**EXAMPLES**\n\n    # List all sites\n    $ ee site list\n\n    # List enabled sites\n    $ ee site list --enabled\n\n    # List disabled sites\n    $ ee site list --disabled\n\n    # List all sites in JSON\n    $ ee site list --format=json\n\n    # Count all sites\n    $ ee site list --format=count\n\n\n\n### ee site reload --type=php\n\nRuns the standard PHP Site installation.\n\n~~~\nee site reload --type=php \u003csite-name\u003e [--cache] [--admin-email=\u003cadmin-email\u003e]  [--with-db] [--local-db] [--php=\u003cphp-version\u003e] [--dbname=\u003cdbname\u003e] [--dbuser=\u003cdbuser\u003e] [--dbpass=\u003cdbpass\u003e] [--dbhost=\u003cdbhost\u003e] [--with-local-redis] [--skip-check] [--skip-status-check] [--ssl=\u003cvalue\u003e] [--wildcard] [--force]\n~~~\n\n**OPTIONS**\n\n\t\u003csite-name\u003e\n\t\tName of website.\n\n\t[--cache]\n\t\tUse redis cache for PHP.\n\n\t[--admin-email=\u003cadmin-email\u003e]\n\t\tE-Mail of the administrator.\n\n\t [--with-db]\n\t\tCreate database for php site.\n\n\t[--local-db]\n\t\tCreate separate db container instead of using global db.\n\n\t[--php=\u003cphp-version\u003e]\n\t\tPHP version for site. Currently only supports PHP 5.6 and latest.\n\t\t---\n\t\tdefault: latest\n\t\toptions:\n\t\t\t- 5.6\n\t\t\t- 7.2\n\t\t\t- latest\n\t\t---\n\n\t[--dbname=\u003cdbname\u003e]\n\t\tSet the database name.\n\n\t[--dbuser=\u003cdbuser\u003e]\n\t\tSet the database user.\n\n\t[--dbpass=\u003cdbpass\u003e]\n\t\tSet the database password.\n\n\t[--dbhost=\u003cdbhost\u003e]\n\t\tSet the database host. Pass value only when remote dbhost is required.\n\n\t[--with-local-redis]\n\t\tEnable cache with local redis container.\n\n\t[--skip-check]\n\t\tIf set, the database connection is not checked.\n\n\t[--skip-status-check]\n\t\tSkips site status check.\n\n\t[--ssl=\u003cvalue\u003e]\n\t\tEnables ssl on site.\n\n\t[--wildcard]\n\t\tGets wildcard SSL .\n\n\t[--force]\n\t\tResets the remote database if it is not empty.\n\n**EXAMPLES**\n\n    # Create php site (without db)\n    $ ee site create example.com --type=php\n\n    # Create php site with db\n    $ ee site create example.com --type=php --with-db\n\n    # Create php site with ssl from letsencrypt\n    $ ee site create example.com --type=php --ssl=le\n\n    # Create php site with wildcard ssl\n    $ ee site create example.com --type=php --ssl=le --wildcard\n\n    # Create php site with self signed certificate\n    $ ee site create example.com --type=php --ssl=self\n\n    # Create php site with remote database\n    $ ee site create example.com --type=php --with-db --dbhost=localhost --dbuser=username --dbpass=password\n\n\n\n### ee site restart --type=php\n\nRuns the standard PHP Site installation.\n\n~~~\nee site restart --type=php \u003csite-name\u003e [--cache] [--admin-email=\u003cadmin-email\u003e]  [--with-db] [--local-db] [--php=\u003cphp-version\u003e] [--dbname=\u003cdbname\u003e] [--dbuser=\u003cdbuser\u003e] [--dbpass=\u003cdbpass\u003e] [--dbhost=\u003cdbhost\u003e] [--with-local-redis] [--skip-check] [--skip-status-check] [--ssl=\u003cvalue\u003e] [--wildcard] [--force]\n~~~\n\n**OPTIONS**\n\n\t\u003csite-name\u003e\n\t\tName of website.\n\n\t[--cache]\n\t\tUse redis cache for PHP.\n\n\t[--admin-email=\u003cadmin-email\u003e]\n\t\tE-Mail of the administrator.\n\n\t [--with-db]\n\t\tCreate database for php site.\n\n\t[--local-db]\n\t\tCreate separate db container instead of using global db.\n\n\t[--php=\u003cphp-version\u003e]\n\t\tPHP version for site. Currently only supports PHP 5.6 and latest.\n\t\t---\n\t\tdefault: latest\n\t\toptions:\n\t\t\t- 5.6\n\t\t\t- 7.2\n\t\t\t- latest\n\t\t---\n\n\t[--dbname=\u003cdbname\u003e]\n\t\tSet the database name.\n\n\t[--dbuser=\u003cdbuser\u003e]\n\t\tSet the database user.\n\n\t[--dbpass=\u003cdbpass\u003e]\n\t\tSet the database password.\n\n\t[--dbhost=\u003cdbhost\u003e]\n\t\tSet the database host. Pass value only when remote dbhost is required.\n\n\t[--with-local-redis]\n\t\tEnable cache with local redis container.\n\n\t[--skip-check]\n\t\tIf set, the database connection is not checked.\n\n\t[--skip-status-check]\n\t\tSkips site status check.\n\n\t[--ssl=\u003cvalue\u003e]\n\t\tEnables ssl on site.\n\n\t[--wildcard]\n\t\tGets wildcard SSL .\n\n\t[--force]\n\t\tResets the remote database if it is not empty.\n\n**EXAMPLES**\n\n    # Create php site (without db)\n    $ ee site create example.com --type=php\n\n    # Create php site with db\n    $ ee site create example.com --type=php --with-db\n\n    # Create php site with ssl from letsencrypt\n    $ ee site create example.com --type=php --ssl=le\n\n    # Create php site with wildcard ssl\n    $ ee site create example.com --type=php --ssl=le --wildcard\n\n    # Create php site with self signed certificate\n    $ ee site create example.com --type=php --ssl=self\n\n    # Create php site with remote database\n    $ ee site create example.com --type=php --with-db --dbhost=localhost --dbuser=username --dbpass=password\n\n\n\n### ee site share\n\nShare a site online using ngrok.\n\n~~~\nee site share \u003csite-name\u003e [--disable] [--refresh] [--token=\u003ctoken\u003e]\n~~~\n\n**OPTIONS**\n\n\t\u003csite-name\u003e\n\t\tName of website.\n\n\t[--disable]\n\t\tTake online link down.\n\n\t[--refresh]\n\t\tRefresh site share if link has expired.\n\n\t[--token=\u003ctoken\u003e]\n\t\tngrok token.\n\n**EXAMPLES**\n\n    # Share a site online\n    $ ee site share example.com\n\n    # Refresh shareed link if expired\n    $ ee site share example.com --refresh\n\n    # Disable online link\n    $ ee site share example.com --disable\n\n\n\n### ee site clean\n\nClears Object and Page cache for site.\n\n~~~\nee site clean [\u003csite-name\u003e] [--page] [--object]\n~~~\n\n**OPTIONS**\n\n\t[\u003csite-name\u003e]\n\t\tName of website to be enabled.\n\n\t[--page]\n\t\tClear page cache.\n\n\t[--object]\n\t\tClear object cache.\n\n**EXAMPLES**\n\n    # Clear Both cache type for site.\n    $ ee site clean example.com\n\n    # Clear Object cache for site.\n    $ ee site clean example.com --object\n\n    # Clear Page cache for site.\n    $ ee site clean example.com --page\n\n## Contributing\n\nWe appreciate you taking the initiative to contribute to this project.\n\nContributing isn’t limited to just code. We encourage you to contribute in the way that best fits your abilities, by writing tutorials, giving a demo at your local meetup, helping other users with their support questions, or revising our documentation.\n\n### Reporting a bug\n\nThink you’ve found a bug? We’d love for you to help us get it fixed.\n\nBefore you create a new issue, you should [search existing issues](https://github.com/easyengine/site-type-php/issues?q=label%3Abug%20) to see if there’s an existing resolution to it, or if it’s already been fixed in a newer version.\n\nOnce you’ve done a bit of searching and discovered there isn’t an open or fixed issue for your bug, please [create a new issue](https://github.com/easyengine/site-type-php/issues/new). Include as much detail as you can, and clear steps to reproduce if possible.\n\n### Creating a pull request\n\nWant to contribute a new feature? Please first [open a new issue](https://github.com/easyengine/site-type-php/issues/new) to discuss whether the feature is a good fit for the project.\n\n## Support\n\nGithub issues aren't for general support questions, but there are other venues you can try: https://easyengine.io/support/\n\n\n*This README.md is generated dynamically from the project's codebase using `ee scaffold package-readme` ([doc](https://github.com/EasyEngine/scaffold-command)). To suggest changes, please submit a pull request against the corresponding part of the codebase.*\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feasyengine%2Fsite-type-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feasyengine%2Fsite-type-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feasyengine%2Fsite-type-php/lists"}