{"id":16465596,"url":"https://github.com/peterfox/laravel-webhook-demo","last_synced_at":"2026-03-08T11:36:37.404Z","repository":{"id":146559941,"uuid":"134852339","full_name":"peterfox/laravel-webhook-demo","owner":"peterfox","description":"The example code for the article https://medium.com/@SlyFireFox/laravel-innovations-making-your-own-webhook-mechanism-through-notifications-96e75e99a2b1","archived":false,"fork":false,"pushed_at":"2018-05-31T00:18:36.000Z","size":279,"stargazers_count":17,"open_issues_count":0,"forks_count":7,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-18T19:55:04.371Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/peterfox.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-05-25T12:18:09.000Z","updated_at":"2023-02-17T07:45:53.000Z","dependencies_parsed_at":"2024-04-19T11:16:04.653Z","dependency_job_id":null,"html_url":"https://github.com/peterfox/laravel-webhook-demo","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/peterfox%2Flaravel-webhook-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterfox%2Flaravel-webhook-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterfox%2Flaravel-webhook-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterfox%2Flaravel-webhook-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/peterfox","download_url":"https://codeload.github.com/peterfox/laravel-webhook-demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245090886,"owners_count":20559296,"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-10-11T11:34:34.085Z","updated_at":"2026-03-08T11:36:37.361Z","avatar_url":"https://github.com/peterfox.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Laravel - Webhook by Notifications Demo\nThis is an example project showing how you can use Laravel's notifications to implement\nyour own webhook feature.\n\nYou can read the accompanying article \n[here](https://medium.com/@SlyFireFox/laravel-innovations-making-your-own-webhook-mechanism-through-notifications-96e75e99a2b1)\n\n## Setup Demo\n\n1. Download or git clone the source code\n2. copy .env.example to .env\n3. run `composer install`\n4. make an sqlite database with `touch database/database.sqlite`\n5. run `php artisan migrate` to create the database tables\n6. run the serve command with `php artisan serve`\n7. load up `http://localhost:8000`\n8. create an account and then set a webhook URL\n\n## Testing the webhook\n\nYou can use any url you like that accepts a post request. If you\nwant a quick way of running a little test system I would suggest\nusing [HttpBin](https://httpbin.org/) which lets test basic HTTP\nrequests. Therefore you can use https://httpbin.org/post as a webhook\nurl.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeterfox%2Flaravel-webhook-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeterfox%2Flaravel-webhook-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeterfox%2Flaravel-webhook-demo/lists"}