{"id":18352491,"url":"https://github.com/frontity/wp-plugins","last_synced_at":"2025-09-13T21:23:51.777Z","repository":{"id":40750385,"uuid":"173151692","full_name":"frontity/wp-plugins","owner":"frontity","description":"» Frontity - Create amazing sites using WordPress \u0026 React","archived":false,"fork":false,"pushed_at":"2023-01-07T07:54:25.000Z","size":1571,"stargazers_count":22,"open_issues_count":17,"forks_count":7,"subscribers_count":3,"default_branch":"dev","last_synced_at":"2025-03-21T22:32:43.189Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://frontity.org","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/frontity.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}},"created_at":"2019-02-28T16:58:01.000Z","updated_at":"2022-11-28T16:09:42.000Z","dependencies_parsed_at":"2023-02-06T15:16:06.347Z","dependency_job_id":null,"html_url":"https://github.com/frontity/wp-plugins","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frontity%2Fwp-plugins","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frontity%2Fwp-plugins/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frontity%2Fwp-plugins/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frontity%2Fwp-plugins/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/frontity","download_url":"https://codeload.github.com/frontity/wp-plugins/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247478152,"owners_count":20945258,"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":[],"created_at":"2024-11-05T21:36:09.491Z","updated_at":"2025-04-06T11:32:54.169Z","avatar_url":"https://github.com/frontity.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Frontity WP Plugins\n\n## How to collaborate\n\n#### 1. Fork this repo to your GitHub account.\n\n#### 2. Clone the fork in your computer.\n\n#### 3. Add the plugins to your WordPress installation.\n\nYou can add them using symlinks:\n\n```bash\nnpm run sync ../../path/to/your/wordpress\n```\n\nIf you work with [Local by Flywheel](https://localbyflywheel.com/) you have to use their addon [ Volumes ](https://localbyflywheel.com/add-ons/volumes) to add the plugins to the WordPress.\n\n#### 4. Make the modifications to the code.\n\n#### 5. Submit a Pull Request.\n\n## WordPress Code Standards and Unit Tests\n\n### Installation in macOS\n\n#### 1. Install PHP.\n\nOur recommendation is to use Homebrew:\n\n```bash\nbrew install php\n```\n\n#### 2. Install Composer.\n\nOur recommendation is to use Hombrew:\n\n```bash\nbrew install composer\n```\n\nThen, install the dependencies:\n\n```bash\ncomposer install\n```\n\n#### 3. Install MySQL (for unit tests only)\n\nOur recommendation is to use [DBngin](https://dbngin.com/).\n\nOnce you've installed DBngin, create a new MySQL database (v5.7) and click on \"Start\".\n\nThen, click on the terminal icon and add the line it shows\nto your `.bash_profile` or `.zshrc` file:\n\n```bash\n# DBngin exports\nexport PATH=/Users/Shared/DBngin/mysql/5.7.23/bin:$PATH\n```\n\nChange `5.7.23` for your MySQL version.\n\n#### 4. Install Xdebug (for debugging of unit tests)\n\nOur recommendation is to use `pecl`:\n\n```bash\npecl install xdebug\n```\n\nAfter the installation, add an extension with the Xdebug configuration at `/usr/local/etc/php/7.X/conf.d/ext-xdebug.ini`:\n\n```\n[xdebug]\nzend_extension=/usr/local/Cellar/php/7.X/pecl/YYYYYYYY/xdebug.so\nxdebug.remote_enable=1\nxdebug.remote_port=9000\n```\n\nChange `7.X` for your PHP version and YYYYYY for the folder where pecl installed Xdebug.\n\nYou may need to clean your previous PHP installation first, then install it again with brew. [This post](https://medium.com/@romaninsh/install-php-7-2-xdebug-on-macos-high-sierra-with-homebrew-july-2018-d7968fe7e8b8) explains the process. You can skip the Nginx section.\n\nYou may need to remove the first line that the pecl installation added to your `php.ini` file at `/usr/local/etc/php/7.X/php.ini`.\n\n### Run the code standards and beautifier\n\nYou can use these two commands to check that your code meets the WordPress standards:\n\n```bash\nnpm run phpcs\nnpm run phpcbf\n```\n\n### Run the unit tests\n\nThe first time, you need to install the database and download WordPress\n\n```bash\nnpm run install-wp-tests\n```\n\nThis will run `bin/install-wp-tests.sh` with the following parameters:\n\n- DB_NAME=frontity-tests\n- DB_USER=root\n- DB_PASS='' (blank)\n- DB_HOST=localhost\n- WP_VERSION=latest\n- SKIP_DB_CREATE=false\n\nYou can also run it manually if you prefer.\n\nThen, use `npm run phpunit` to run the tests.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrontity%2Fwp-plugins","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrontity%2Fwp-plugins","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrontity%2Fwp-plugins/lists"}