{"id":20472560,"url":"https://github.com/litto/message","last_synced_at":"2025-03-05T13:50:42.418Z","repository":{"id":62517954,"uuid":"455518498","full_name":"litto/message","owner":"litto","description":"Display Message Simple Library for PHP projects","archived":false,"fork":false,"pushed_at":"2022-02-04T12:50:54.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-16T02:29:18.259Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/litto.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":"2022-02-04T11:13:49.000Z","updated_at":"2022-02-04T11:33:12.000Z","dependencies_parsed_at":"2022-11-02T13:17:49.672Z","dependency_job_id":null,"html_url":"https://github.com/litto/message","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/litto%2Fmessage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/litto%2Fmessage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/litto%2Fmessage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/litto%2Fmessage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/litto","download_url":"https://codeload.github.com/litto/message/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242039686,"owners_count":20061925,"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-15T14:20:35.131Z","updated_at":"2025-03-05T13:50:42.386Z","avatar_url":"https://github.com/litto.png","language":"PHP","readme":"# Message Library\n\nDisplay Message Simple Library for PHP projects like Errors, Warning, Success , Notices.etc..\n\n##How to Install?\n\nInstall Using Composer or Direcly you can download from the Github Code\nYou can install via composer by using this command:-\n\ncomposer require litto/message:v2.0\n\n\n##How to Use?\n\n1) Always remember to start session in your application using session-start();\n2) Copy the Message.php in Vendor folder or in your folder of your choice\n3) Include The file using autoload or using include function\n4) For Setting Message pass like:-\n\n$message  =   new Message('Your Message Text','Messagetype string');\n$message-\u003esetMessage();\n\nMessage Type Strings -\nerror,message,warning\n\n5) To Display call it like:-\n\n\u003c?php \n$message  =   new Message('','');\n$message-\u003eshowMessage();\n$message-\u003eclearmessage();\n?\u003e\n\n6) The message display will be using the boostrap alert styles. if you want to change the design class, you can chnage in the Message.php file\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flitto%2Fmessage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flitto%2Fmessage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flitto%2Fmessage/lists"}