{"id":42250205,"url":"https://github.com/goodwp/altinator-wp","last_synced_at":"2026-01-27T04:54:28.850Z","repository":{"id":299664593,"uuid":"1003756734","full_name":"goodwp/altinator-wp","owner":"goodwp","description":"WordPress Plugin to help you optimize your image alternative texts and make your site more accessible. ","archived":false,"fork":false,"pushed_at":"2025-06-27T11:38:49.000Z","size":6047,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-27T11:41:38.275Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/goodwp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2025-06-17T16:08:07.000Z","updated_at":"2025-06-27T11:38:52.000Z","dependencies_parsed_at":"2025-06-17T17:56:44.211Z","dependency_job_id":null,"html_url":"https://github.com/goodwp/altinator-wp","commit_stats":null,"previous_names":["goodwp/altinator-wp"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/goodwp/altinator-wp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goodwp%2Faltinator-wp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goodwp%2Faltinator-wp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goodwp%2Faltinator-wp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goodwp%2Faltinator-wp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/goodwp","download_url":"https://codeload.github.com/goodwp/altinator-wp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goodwp%2Faltinator-wp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28803381,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T03:44:14.111Z","status":"ssl_error","status_checked_at":"2026-01-27T03:43:33.507Z","response_time":168,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2026-01-27T04:54:28.178Z","updated_at":"2026-01-27T04:54:28.845Z","avatar_url":"https://github.com/goodwp.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Altinator\n\nA WordPress plugin to help you optimize your image alternative texts and make your site more accessible.\n\n## Features\n- Media library filters for images with/without alt text\n- Help tab in the media library about alt texts\n- Quick-edit alt texts directly in the media library list view\n- Frontend inspector module to highlight images missing alt text on your site\n- Settings page to enable/disable features and configure modules\n- Extensible via WordPress hooks and filters\n\n## Installation\n1. Upload the plugin files to the `/wp-content/plugins/altinator` directory, or install the plugin through the WordPress plugins screen directly.\n2. Activate the plugin through the 'Plugins' screen in WordPress.\n3. (Optional) Configure the plugin via the \"Altinator\" settings under Settings \u003e Altinator.\n\n## Altinator Plugin Hooks\n\n### Actions\n- [**altinator/boot**](includes/classes/Plugin.php): Fires after the plugin and all its services are booted. Use this to boot your own service providers/services after Altinator is ready.\n- [**altinator/init_container**](includes/classes/Plugin.php): Fires after the DI container is initialized. Allows adding/changing services or providers.\n- [**altinator/migration**](includes/classes/Migration/Migration.php): Fires after plugin migrations are run. Params: new version, old version.\n- [**altinator/activation**](includes/classes/Migration/Activation.php): Fires after plugin activation code. Param: main plugin instance.\n- [**altinator/deactivation**](includes/classes/Migration/Deactivation.php): Fires after plugin deactivation code. Param: main plugin instance.\n\n### Filters\n- [**altinator/media_library/enable**](includes/classes/Modules/Media_Library/Media_Library_Module.php): Filter whether the Media Library module (filter, quick edit, help tab) is enabled.\n- [**altinator/frontend_inspector/enable**](includes/classes/Modules/Frontend_Inspector/Frontend_Inspector_Module.php): Filter whether the Frontend Inspector module is enabled.\n- [**altinator/frontend_inspector/capability**](includes/classes/Modules/Frontend_Inspector/Frontend_Inspector_Module.php): Filter the capability required to activate the Frontend Inspector module. Defaults to 'upload_files'.\n- [**altinator/frontend_inspector/active**](includes/classes/Modules/Frontend_Inspector/Frontend_Inspector_Module.php): Filter whether the Frontend Inspector module is active on this request (base value is set via frontend inspector URL param).\n- [**altinator/frontend_inspector/tooltip**](includes/classes/Modules/Frontend_Inspector/Frontend_Inspector_Module.php): Filter the HTML for the frontend inspector tooltip.\n- [**altinator/alt_fallback/enable**](includes/classes/Modules/Alt_Fallback/Alt_Fallback_Module.php): Filter whether the Alt Fallback module is enabled.\n- [**altinator/alt_fallback/blocks**](includes/classes/Modules/Alt_Fallback/Alt_Fallback_Module.php): Filter the blocks that should have the alt fallback applied.\n- [**altinator/ai_alt_generation/enable**](includes/classes/Modules/Ai_Alt_Generation/Ai_Alt_Generation_Module.php): Filter whether the AI Alt Generation module is enabled.\n- [**altinator/ai_alt_generation/capability**](includes/classes/Modules/Ai_Alt_Generation/Rest_Api.php): Filter the capability required to generate alt text. Default: upload_files.\n- [**altinator/ai_alt_generation/api_key**](includes/classes/Modules/Ai_Alt_Generation/Ai_Api_Service.php): Filter the API key used for AI alt generation.\n- [**altinator/ai_alt_generation/api_base**](includes/classes/Modules/Ai_Alt_Generation/Ai_Api_Service.php): Filter the API base URL for AI alt generation.\n- [**altinator/ai_alt_generation/context**](includes/classes/Modules/Ai_Alt_Generation/Ai_Api_Service.php): Filter the context array used for AI generation (attachment id, language, image src, etc).\n\n## Local Development Environment\n\nThe local development environment is based on [DDEV](https://ddev.readthedocs.io/en/latest/).\n\nAfter the first setup, remove the `##ddev-generated` header from the wp-config.php file and change the ddev-include code\nto\n\n```php\n$ddev_settings = __DIR__ . '/wp-config-ddev.php';\nif ( getenv( 'IS_DDEV_PROJECT' ) == 'true' \u0026\u0026 is_readable( $ddev_settings ) ) {\n\trequire_once( $ddev_settings );\n}\n```\n\nIt is recommended to run all tasks inside the ddev container.\n\n### Development Tasks/Scripts\n\n- PHP code style: `composer run phpcs` / `composer run phpcs:fix`\n- PHPStan: `composer run phpstan`\n- Code quality: `composer run code-quality`\n- Tests: WP-Browser and Codeception\n- JS/CSS formatting: `npm run format`\n- JS/CSS build: `npm run build`\n- Translations: `composer run i18n`\n- Build plugin zip: `composer run build`\n\n## Releasing\n\n1. Run linting, phpcs, phpcs:fix + phpstan\n2. Update version\n    - in main plugin file headers (`/altinator.php`)\n    - in `src/Plugin.php`\n    - in `package.json`\n    - in `composer.json` + run `ddev composer update -- --lock`\n    - stable tag in `readme.txt`\n3. Add changelog entry in `readme.txt` and `CHANGELOG.md`\n4. Update \"Tested up to\" as needed\n5. Run translation updates\n6. Create PR/merge into main (triggers CI jobs)\n7. Create a new release with a new tag in main `vX.Y.Z` with changelog\n\n## License\nGPL-3.0-or-later\n\n## See Also\n- [WordPress.org plugin page](https://wordpress.org/plugins/altinator/)\n- [Screenshots and user documentation](./readme.txt)\n\n## Security\n\nIf you believe you have found a security vulnerability, please do not create a public issue or post it publicly anywhere else. You can responsibly disclose the problem directly via GitHubs security reporting feature via email to mail at fabiantodt.at\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoodwp%2Faltinator-wp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoodwp%2Faltinator-wp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoodwp%2Faltinator-wp/lists"}