{"id":16467274,"url":"https://github.com/irfaardy/php-flash-message","last_synced_at":"2026-06-09T04:31:44.010Z","repository":{"id":56993471,"uuid":"241887713","full_name":"irfaardy/php-flash-message","owner":"irfaardy","description":"Flash Message for PHP, Belajar bikin package","archived":false,"fork":false,"pushed_at":"2020-04-27T07:50:00.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-23T04:03:32.315Z","etag":null,"topics":["flashmessage","message","php","php7","session"],"latest_commit_sha":null,"homepage":"","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/irfaardy.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":"2020-02-20T13:14:41.000Z","updated_at":"2021-06-05T00:23:50.000Z","dependencies_parsed_at":"2022-08-21T13:20:31.966Z","dependency_job_id":null,"html_url":"https://github.com/irfaardy/php-flash-message","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/irfaardy/php-flash-message","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irfaardy%2Fphp-flash-message","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irfaardy%2Fphp-flash-message/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irfaardy%2Fphp-flash-message/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irfaardy%2Fphp-flash-message/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/irfaardy","download_url":"https://codeload.github.com/irfaardy/php-flash-message/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irfaardy%2Fphp-flash-message/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34092253,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-09T02:00:06.510Z","response_time":63,"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":["flashmessage","message","php","php7","session"],"created_at":"2024-10-11T11:46:49.731Z","updated_at":"2026-06-09T04:31:43.994Z","avatar_url":"https://github.com/irfaardy.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flash Message\n\n\u003e **Configuration File** \n\u003e Irfa/Flashmsg/config.php\n\n\n**\u003ch2\u003eBasic Usage\u003c/h2\u003e**\n\n\n```php\n \u003c?php \n  require_once 'Autoloader.php';\n  use Irfa\\Flashmsg\\Flash;\n  ...\n```\n\n\u003ch2\u003eSet Flash Message\u003c/h2\u003e\n\n\u003e You are free to set this message type, change css class or message\n\u003e view in config file.\n\u003e\n\u003e Flash::set(key , message, type);\n\n   \n\n```php\n    ...\n    ///SET FLASH Fail\n      Flash::set('fail-msg' , 'Description is required','fail');\n      ///SET FLASH Success\n      Flash::set('success-msg' , 'Update Success','success'); \n      ///SET FLASH Info\n      Flash::set('info-msg' , 'Please wait 1 minutes','success');\n      ///SET FLASH Warning\n      Flash::set('warning-msg' , 'Username or Password Invalid','warning');\n      ///SET FLASH general\n      Flash::set('general-msg' , 'Hello, i'm Message','general');\n      ///SET FLASH Other\n      Flash::set('other-msg' , 'Just Other Message','other');\n      ...\n```\n\n\u003ch2\u003eGet Flash Message\u003c/h2\u003e\n\n\u003e Flash::get(key);\n\n```php\n ...\n ///GET FLASH MESSAGE\n  Flash::get('msg');\n ...\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Firfaardy%2Fphp-flash-message","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Firfaardy%2Fphp-flash-message","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Firfaardy%2Fphp-flash-message/lists"}