{"id":29150255,"url":"https://github.com/humanmade/hm-dev","last_synced_at":"2025-08-01T06:15:30.760Z","repository":{"id":1746189,"uuid":"2572153","full_name":"humanmade/hm-dev","owner":"humanmade","description":"Even a Poet needs tools!","archived":false,"fork":false,"pushed_at":"2015-10-08T08:54:27.000Z","size":1137,"stargazers_count":54,"open_issues_count":0,"forks_count":6,"subscribers_count":27,"default_branch":"master","last_synced_at":"2025-07-30T00:48:27.786Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"hmn.md","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/humanmade.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-10-13T20:10:15.000Z","updated_at":"2025-05-09T09:06:56.000Z","dependencies_parsed_at":"2022-09-08T02:43:10.085Z","dependency_job_id":null,"html_url":"https://github.com/humanmade/hm-dev","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/humanmade/hm-dev","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/humanmade%2Fhm-dev","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/humanmade%2Fhm-dev/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/humanmade%2Fhm-dev/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/humanmade%2Fhm-dev/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/humanmade","download_url":"https://codeload.github.com/humanmade/hm-dev/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/humanmade%2Fhm-dev/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268177897,"owners_count":24208397,"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","status":"online","status_checked_at":"2025-08-01T02:00:08.611Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-06-30T23:10:01.102Z","updated_at":"2025-08-01T06:15:30.689Z","avatar_url":"https://github.com/humanmade.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WordPress Development by Human Made Limited\n\nVarious things to assist with the development of kick ass WordPress Sites \u0026 Apps.\n\n**This plugin should be activated on your site whilst you are developing it locally.**\n\n## Components\n\n### DEV •\n\nPrepends \"Dev • \" to the site `\u003ctitle /\u003e` and admin bar site name menu.\n\n### Debug functions\n\nOur better `var_dump` / `print_r` and others.\n\n````\nhm( $foo );\nhm_log( $foo );\n````\n\n### Safe Email\n\nAll email sent using `wp_mail` is redirected to whatever is defined as `HM_DEV_EMAIL`, default is `dev@hmn.md`.\n\nYou can override by the email messages are redirected to by adding the following line to your `wp-config.php`:\n\n````\ndefine( 'HM_DEV_EMAIL', 'email_goes_here' );\n````\n\nIf you want to disable the redirect and allow all email to go it the original recipients then add the following to your `wp-config.php` file:\n\n````\ndefine( 'HM_DEV_EMAIL', false );\n````\n\n### WP CLI `import` command\n\nAdd a `import` command to wp-cli to allow easy synching of database and uploads between your local server and the production server.\n\nKnows about WP Thumb so won't import the `uploads/cache` dir.\n\n````\n$ wp import uploads --uploads_dir=\"2012\"\n$ wp import db\n````\n\nTo get those commands to work `define` the following in your `wp-config-local.php` file.\n\n````\ndefine( 'IMPORT_DB_HOST', 'database_hostname' );\ndefine( 'IMPORT_DB_USER', 'database_user_name' );\ndefine( 'IMPORT_DB_NAME', 'database_name' );\ndefine( 'IMPORT_DB_PASSWORD', 'database_password' );\n\ndefine( 'IMPORT_UPLOADS_SSH_HOST', 'ssh_hostname' );\ndefine( 'IMPORT_UPLOADS_SSH_USER', 'ssh_username' );\ndefine( 'IMPORT_UPLOADS_REMOTE_PATH', 'remote_path_to_uploads_dir' );\n````\n\n### WP Unit\n\nSubmodules in our fork of WP Unit (originally from https://github.com/nunomorgadinho/wp-unit).\n\nUNIT TEST ALL THE THINGS\n\nWP Unit requires the PHPUnit PEAR module to be installed.\n\n````\n$ sudo pear config-set auto_discover 1\n$ sudo pear install pear.phpunit.de/PHPUnit\n````\n\n### WP CLI WP Unit `test` command\n\nAdds support for running WP Unit tests using WP CLI\n\n````\n$ wp test show\n$ wp test run\n$ wp test run exampleTestCase\n````\n\n### Timestack\n\nSubmodules in the timestack plugin from https://github.com/joehoyle/Time-Stack-Plugin\n\n## Contribution guidelines ##\n\nsee https://github.com/humanmade/hm-dev/blob/master/CONTRIBUTING.md\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhumanmade%2Fhm-dev","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhumanmade%2Fhm-dev","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhumanmade%2Fhm-dev/lists"}