{"id":33945555,"url":"https://github.com/jhuliocastro/sweet-alert","last_synced_at":"2026-04-09T04:04:24.901Z","repository":{"id":56998774,"uuid":"343873711","full_name":"jhuliocastro/sweet-alert","owner":"jhuliocastro","description":"SWEET ALERT 100% EM PHP","archived":false,"fork":false,"pushed_at":"2021-09-26T18:32:41.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-14T06:41:51.847Z","etag":null,"topics":["alert","alerta","alertas","php","sweetalert","sweetalert2"],"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/jhuliocastro.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":"2021-03-02T18:31:10.000Z","updated_at":"2023-05-30T18:25:39.000Z","dependencies_parsed_at":"2022-08-21T14:50:24.861Z","dependency_job_id":null,"html_url":"https://github.com/jhuliocastro/sweet-alert","commit_stats":null,"previous_names":[],"tags_count":8,"template":true,"template_full_name":null,"purl":"pkg:github/jhuliocastro/sweet-alert","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhuliocastro%2Fsweet-alert","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhuliocastro%2Fsweet-alert/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhuliocastro%2Fsweet-alert/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhuliocastro%2Fsweet-alert/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jhuliocastro","download_url":"https://codeload.github.com/jhuliocastro/sweet-alert/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhuliocastro%2Fsweet-alert/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31584820,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"online","status_checked_at":"2026-04-09T02:00:06.848Z","response_time":112,"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":["alert","alerta","alertas","php","sweetalert","sweetalert2"],"created_at":"2025-12-12T17:55:09.722Z","updated_at":"2026-04-09T04:04:24.896Z","avatar_url":"https://github.com/jhuliocastro.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sweet Alert PHP\n\n\n\u003ca href=\"https://packagist.org/packages/realrashid/sweet-alert\" target=\"_blank\"\u003e\u003cimg src=\"https://poser.pugx.org/realrashid/sweet-alert/license.svg\" alt=\"License\"\u003e\u003c/a\u003e\n## Instalação\n\n```bash\ncomposer require jhuliocastro/sweet-alert\n```\n\n\n## Utilização\n```php\n#IMPORTE A CLASSE\nuse Alertas\\Alert;\n\n#MODO DE SUCESSO\nAlert::success('Título', 'Mensagem', \"Ação de Botão\");\n\n#MODO DE ERRO\nAlert::error('Título', 'Mensagem', \"Ação de Botão\");\n\n#MODO DE INFORMAÇÕES\nAlert::info('Título', 'Mensagem', \"Ação de Botão\");\n\n#MODO DE ATENÇÃO\nAlert::warning('Título', 'Mensagem', \"Ação de Botão\");\n\n#MODO DE PERGUNTA\nAlert::question('Título', 'Mensagem', 'Ação de Botão (Sim)', 'Ação de Botão (Não)');\n\n#NOVO MODO DE CRON\nAlert::cron(\"Tipo\", \"Título\", \"Mensagem\", \"Ação de Botão\", \"Tempo para redirecionar\");\n\nO MODO CRON REDIRECIONA O USUÁRIO AUTOMATICAMENTE DE ACORDO COM O TEMPO DEFINIDO!\nELE ACEITA OS TIPOS \"success\", \"info\", \"error\" e \"warning\"\n\n#MODO DE INPUT\nAlert::input(\"Título\", \"TIPO DO INPUT\", \"Ação de Botão\");\n\nO INPUT ACEITA OS TIPOS 'text', 'password', 'email'\n```\n```\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhuliocastro%2Fsweet-alert","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjhuliocastro%2Fsweet-alert","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhuliocastro%2Fsweet-alert/lists"}