{"id":16487339,"url":"https://github.com/leoloso/pop-app-wp","last_synced_at":"2026-04-16T15:34:21.618Z","repository":{"id":57013946,"uuid":"198953562","full_name":"leoloso/PoP-App-WP","owner":"leoloso","description":"Bootstrap a PoP Application for WordPress","archived":false,"fork":false,"pushed_at":"2020-02-03T13:16:26.000Z","size":43,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-01T00:53:05.372Z","etag":null,"topics":["app","bootstrapper","pop","wordpress"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/leoloso.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-26T05:42:06.000Z","updated_at":"2020-10-12T11:38:29.000Z","dependencies_parsed_at":"2022-08-21T15:10:10.206Z","dependency_job_id":null,"html_url":"https://github.com/leoloso/PoP-App-WP","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/leoloso/PoP-App-WP","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leoloso%2FPoP-App-WP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leoloso%2FPoP-App-WP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leoloso%2FPoP-App-WP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leoloso%2FPoP-App-WP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leoloso","download_url":"https://codeload.github.com/leoloso/PoP-App-WP/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leoloso%2FPoP-App-WP/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261940664,"owners_count":23233573,"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":["app","bootstrapper","pop","wordpress"],"created_at":"2024-10-11T13:33:47.264Z","updated_at":"2025-10-26T07:09:55.616Z","avatar_url":"https://github.com/leoloso.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bootstrap a PoP Application for WordPress\n\nProject to install a PoP application running on WordPress.\n\n## Install\n\nVia [Composer](https://getcomposer.org) and [WP-CLI](https://wp-cli.org/) (both are assumed to be installed globally):\n\n1. Create the [WordPress database and user](https://wordpress.org/support/article/how-to-install-wordpress/#step-2-create-the-database-and-a-user)\n2. Configure WordPress through environment variables: \n\n\u003e Copy the code below to an editor, replace all values (such as `{YOUR_SITE_DB_NAME}`) with your own values, and then either paste it on the terminal to execute, or save it in file \"~/.bash_profile\" and then execute `source ~/.bash_profile`.\n\n```bash\nexport DB_NAME={YOUR_SITE_DB_NAME} #eg: database\nexport DB_USER={YOUR_SITE_DB_USER} #eg: admin\nexport DB_PASSWORD={YOUR_SITE_DB_PASSWORD} #eg: sADF!kl9diq@#Sjfk\nexport DB_HOST={YOUR_SITE_DB_HOST} #eg: 127.0.0.1\nexport SITE_URL_WITHOUT_HTTP={YOUR_SITE_URL_WITHOUT_HTTP} #eg: localhost\nexport SITE_URL_WITH_HTTP={YOUR_SITE_URL_WITH_HTTP} #eg: http://localhost\nexport SITE_NAME=\"{YOUR_SITE_NAME}\" #eg: \"My awesome website\"\nexport ADMIN_USER={ADMIN_USER} #eg: admin\nexport ADMIN_PASSWORD={ADMIN_PASSWORD} #eg: JKo$@sfjASD00w\nexport ADMIN_EMAIL={ADMIN_EMAIL} #eg: pedro@example.com\n```\n\nTo set the SALT keys there are two alternatives:\n\nI. Set random values through environment variable `SHUFFLE_SALT_KEYS`:\n\n```bash\nexport SHUFFLE_SALT_KEYS=true\n```\n\nII. Set the corresponding values directly:\n\n```bash\n# Obtain random values from https://api.wordpress.org/secret-key/1.1/salt\nexport AUTH_KEY={YOUR_AUTH_KEY}\nexport SECURE_AUTH_KEY={YOUR_SECURE_AUTH_KEY}\nexport LOGGED_IN_KEY={YOUR_LOGGED_IN_KEY}\nexport NONCE_KEY={YOUR_NONCE_KEY}\nexport AUTH_SALT={YOUR_AUTH_SALT}\nexport SECURE_AUTH_SALT={YOUR_SECURE_AUTH_SALT}\nexport LOGGED_IN_SALT={YOUR_LOGGED_IN_SALT}\nexport NONCE_SALT={YOUR_NONCE_SALT}\n```\n\n3. Bootstrap a new project from this repo:\n\n```bash\ncomposer create-project leoloso/pop-app-wp\n```\n\n4. Wait for a few minutes ☕️😁\n\n5. Execute `install` again to copy the WordPress must-use plugins under folder `/mu-plugins` (somehow it doesn't do it with `create-project`). `cd` into the project's folder (by default `\"pop-app-wp\"`) and execute:\n\n```bash\n$ composer install\n```\n\n6. ✅ The site is installed under:\n\n- 👉WordPress site: `{YOUR_SITE_URL_WITH_HTTP}`\n- 👉WordPress admin: `{YOUR_SITE_URL_WITH_HTTP}`/wp/wp-admin/\n- 👉PoP API: `{YOUR_SITE_URL_WITH_HTTP}/api/?query=fullSchema`\n\n### Configure application options (optional)\n\nUpon installation, the Composer script will create file `config/.env` including default values for application options (passed as environment variables). You can further edit this file, or even create more specific ones (following [Symfony's Dotenv component](https://symfony.com/doc/current/components/dotenv.html)'s file hierarchy).\n\n## Installed Components\n\nThis bootstrapper will install the following components (for WordPress):\n\nComing soon...\n\n## Usage\n\nComing soon...\n\n## Credits\n\n- [Leonardo Losoviz][link-author]\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n\n[link-author]: https://github.com/leoloso\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleoloso%2Fpop-app-wp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleoloso%2Fpop-app-wp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleoloso%2Fpop-app-wp/lists"}