{"id":15292305,"url":"https://github.com/wordpruss/notices","last_synced_at":"2026-05-04T02:39:44.700Z","repository":{"id":57081828,"uuid":"102317609","full_name":"wordpruss/notices","owner":"wordpruss","description":"An Object-Oriented Wrap for notices displayed near the top of admin pages on WordPress.","archived":false,"fork":false,"pushed_at":"2017-09-06T05:48:57.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-29T15:12:53.528Z","etag":null,"topics":["php-library","wordpress","wordpress-development"],"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/wordpruss.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}},"created_at":"2017-09-04T04:07:49.000Z","updated_at":"2017-09-06T04:09:21.000Z","dependencies_parsed_at":"2022-08-24T14:42:49.954Z","dependency_job_id":null,"html_url":"https://github.com/wordpruss/notices","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/wordpruss%2Fnotices","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wordpruss%2Fnotices/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wordpruss%2Fnotices/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wordpruss%2Fnotices/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wordpruss","download_url":"https://codeload.github.com/wordpruss/notices/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245247542,"owners_count":20584370,"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":["php-library","wordpress","wordpress-development"],"created_at":"2024-09-30T16:17:19.278Z","updated_at":"2026-05-04T02:39:39.663Z","avatar_url":"https://github.com/wordpruss.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Notices\nAn Object-Oriented Wrap for notices displayed near the top of admin pages on WordPress.\n\n#### Installation\n```bash\ncomposer require wordpruss/notices\n```\n\n#### Basic usage\nNotices are used to show a User some information. They have four types: `success`, `warning`, `info` or `error`. These messages will be displayed at the top of the WordPress admin area. Notices can be used anywhere in the plugin by referencing `Notify`\n```php\n\u003c?php\nuse WordPruss\\Notices\\Notify;\n\nNotify::error('Test an error notice');\nNotify::info('Test an info notice');\nNotify::warning('Test a warning notice');\nNotify::success('Test a success notice');\n\n// Hook up all the notices\nNotify::hook();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwordpruss%2Fnotices","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwordpruss%2Fnotices","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwordpruss%2Fnotices/lists"}