{"id":21700143,"url":"https://github.com/wp-digital/wp-start-up","last_synced_at":"2025-04-12T13:34:13.746Z","repository":{"id":183477095,"uuid":"620198868","full_name":"wp-digital/wp-start-up","owner":"wp-digital","description":null,"archived":false,"fork":false,"pushed_at":"2023-08-11T07:56:25.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-04-08T18:49:08.506Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/wp-digital.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}},"created_at":"2023-03-28T08:09:36.000Z","updated_at":"2023-07-24T13:55:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"d75fc101-5e80-4a06-a7a9-fef47d0d41ff","html_url":"https://github.com/wp-digital/wp-start-up","commit_stats":null,"previous_names":["wp-digital/wp-start-up"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wp-digital%2Fwp-start-up","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wp-digital%2Fwp-start-up/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wp-digital%2Fwp-start-up/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wp-digital%2Fwp-start-up/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wp-digital","download_url":"https://codeload.github.com/wp-digital/wp-start-up/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248573485,"owners_count":21126840,"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-25T20:13:01.019Z","updated_at":"2025-04-12T13:34:13.713Z","avatar_url":"https://github.com/wp-digital.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WPStartUp: Simplifying Initial WordPress Setup\n\n### Description\n\nWPStartUp is a powerful tool that streamlines the initial setup process after installing WordPress. It enables you to effortlessly create projects in Bugsnag and Pingdom, enhancing your website's performance and monitoring capabilities.\n\n### Installation\n\nThere are two convenient ways to install WPStartUp:\n\n1. **Using Composer:**\n   The recommended method is to use [Composer](https://getcomposer.org/). Simply run the following command:\n\n   ```bash\n   composer require wp-digital/wp-start-up\n   ```\n\n   WPStartUp will be installed as a [Must Use Plugin](https://codex.wordpress.org/Must_Use_Plugins) by default. If you wish to customize the installation path, you can control it using `extra.installer-paths` in your `composer.json`.\n\n2. **Using Git Clone:**\n   Alternatively, you can clone the repository directly into the `wp-content/mu-plugins/` or `wp-content/plugins/` directory. Follow these steps:\n\n   ```bash\n   cd wp-content/plugins/\n   git clone git@github.com:wp-digital/wp-start-up.git\n   cd wp-start-up/\n   composer install\n   ```\n\nIf you installed the plugin as a regular plugin, activate **WPStartUp** from the Plugins page in your WordPress dashboard or use [WP-CLI](https://make.wordpress.org/cli/handbook/): `wp plugin activate wp-start-up`.\n\n### Configuration\n\nTo configure WPStartUp, add the following constants to your `wp-config.php` file:\n\n```php\ndefine( 'BUGSNAG_TOKEN', '' );\ndefine( 'BUGSNAG_PROJECT', '' );\n\ndefine( 'PINGDOM_TOKEN', '' );\ndefine( 'PINGDOM_PROJECT', '' );\n```\n\nPlease note that defining the `BUGSNAG_API_KEY` constant means the Bugsnag project is already created, and the plugin will not create a new one.\n\n### Usage\n\nWPStartUp automatically creates projects in Bugsnag and Pingdom, boosting your website's performance monitoring capabilities. Should you wish to extend its functionality with new integrations, use the `wp_start_up_integrations` hook:\n\n```php\nadd_filter( 'wp_start_up_integrations', function( array $integrations ): array {\n    $integrations[] = new YourCustomIntegration();\n\n    return $integrations;\n} );\n```\n\nPlease ensure that your integration implements the `WPD\\WPStartUp\\Interfaces\\IntegrationInterface` interface.\n\nBy default, WPStartUp stores plugin settings in the WordPress options table. If you prefer a custom storage solution, use the `wp_start_up_default_storage` filter:\n\n```php\nadd_filter( 'wp_start_up_default_storage', function(): \\WPD\\WPStartUp\\Interfaces\\StorageInterface {\n    return new YourCustomStorage();\n} );\n```\n\nAgain, ensure that your custom storage implements the `\\WPD\\WPStartUp\\Interfaces\\StorageInterface` interface.\n\nAdditionally, WPStartUp uses the native `wp_remote_request` function to send API requests. If you want to use a different approach, you can modify this behavior using the `wp_start_up_default_sender` filter:\n\n```php\nadd_filter( 'wp_start_up_default_sender', function(): \\WPD\\WPStartUp\\Interfaces\\SenderInterface {\n    return new YourCustomSender();\n} );\n```\n\nSimilarly, your custom sender should implement the `\\WPD\\WPStartUp\\Interfaces\\SenderInterface` interface.\n\nWith WPStartUp, you have the freedom to tailor your WordPress setup and integrate it seamlessly with other services, ensuring a smooth and efficient website management experience.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwp-digital%2Fwp-start-up","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwp-digital%2Fwp-start-up","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwp-digital%2Fwp-start-up/lists"}