{"id":22341838,"url":"https://github.com/sherlockboy/buy-event","last_synced_at":"2026-05-07T10:38:13.813Z","repository":{"id":190256309,"uuid":"362792551","full_name":"Sherlockboy/buy-event","owner":"Sherlockboy","description":"Simple e-commerce feature. Users make request to buy products, then admin accepts it. When admin accepts notification will be sent by mail or sms depends on choice of admin","archived":false,"fork":false,"pushed_at":"2021-05-14T12:45:24.000Z","size":265,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-30T11:59:45.462Z","etag":null,"topics":["artisan-command","authentication","console","e-commerce","laravel","mail","php","sms"],"latest_commit_sha":null,"homepage":"https://buy-event.000webhostapp.com/","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/Sherlockboy.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,"governance":null}},"created_at":"2021-04-29T11:24:16.000Z","updated_at":"2021-05-14T12:47:22.000Z","dependencies_parsed_at":"2023-08-23T21:27:18.504Z","dependency_job_id":null,"html_url":"https://github.com/Sherlockboy/buy-event","commit_stats":null,"previous_names":["sherlockboy/buy-event"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Sherlockboy/buy-event","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sherlockboy%2Fbuy-event","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sherlockboy%2Fbuy-event/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sherlockboy%2Fbuy-event/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sherlockboy%2Fbuy-event/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sherlockboy","download_url":"https://codeload.github.com/Sherlockboy/buy-event/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sherlockboy%2Fbuy-event/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32734170,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-07T02:14:30.463Z","status":"ssl_error","status_checked_at":"2026-05-07T02:14:29.405Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["artisan-command","authentication","console","e-commerce","laravel","mail","php","sms"],"created_at":"2024-12-04T08:08:21.724Z","updated_at":"2026-05-07T10:38:13.797Z","avatar_url":"https://github.com/Sherlockboy.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Buy-event\n\nSimple e-commerce feature. Users make request to buy products, then admin accepts it. When admin accepts notification will be sent by mail or sms depends on choice of admin\n\n## Installation\n\n1. Clone the repository\n\n```bash\ngit clone https://github.com/Sherlockboy/buy-event.git\n```\nor\n```bash\ngit clone git@github.com:Sherlockboy/buy-event.git\n```\n\n2. Open project folder\n\n```bash\ncd buy-event\n```\n\n3. Copy contents of .env.example to .env file\n\n```bash\ncp .env.example .env\n```\n\n4. Run composer to install dependencies\n\n```bash\ncomposer install\n```\n\n5. Run migrations with seeders\n\n```bash\nphp artisan migrate --seed\n```\n\n5. Run application\n\n```bash\nphp artisan serve\n```\n\n## Default users\n\nAdmin\n```bash\nemail: admin@doe.com\npassword: admin123\n```\n\nUser\n```bash\nemail: user@doe.com\npassword: user123\n```\n\nYou can register as many users as you want in register page.\n\n## Additional features\n\nIn order to use SMS and Mail notifications when admin accepts orders you must have basic setup for these channels:\n\n1. SMS\nOpen [ClickSend](https://www.clicksend.com) website and create account, then you will have api key. Copy and paste your username and api key into .env file:\n```bash\nCLICK_SEND_USERNAME=your_username\nCLICK_SEND_API_KEY=your_api_key\nCLICK_SEND_ENDPOINT=https://rest.clicksend.com/v3/\n```\n\n2. Mail\nYou have lots of options to choose your Mail server, but now I will give an example of gmail server. First you must have google account, then fill the .env file with your account credentials:\n```bash\nMAIL_MAILER=smtp\nMAIL_HOST=smtp.gmail.com\nMAIL_PORT=587\nMAIL_USERNAME=your_google_account\nMAIL_PASSWORD=your_google_account_password\nMAIL_ENCRYPTION=tls\nMAIL_FROM_ADDRESS=your_google_account\nMAIL_FROM_NAME=\"${APP_NAME}\"\n```\nBasically, that's it. If you have problems with sending email over your google account please read [this answer](https://stackoverflow.com/questions/42558903/expected-response-code-250-but-got-code-535-with-message-535-5-7-8-username) on stackoverflow.\n\n## Console Command to send confirmation message\nYou have two options to send notification, whether by SMS or by Mail\n```bash\nphp artisan send:confirmation {user_id} --m --s\n```\nInstead of user_id you should enter the id of user you want to send notification. --m option is for Mail channel and --s is SMS channel.\n\nIf you want to send it over one single channel, you can choose one of them optionally:\n```bash\nphp artisan send:confirmation {user_id} --m\n```\nor\n```bash\nphp artisan send:confirmation {user_id} --s\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsherlockboy%2Fbuy-event","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsherlockboy%2Fbuy-event","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsherlockboy%2Fbuy-event/lists"}