{"id":19139702,"url":"https://github.com/franzose/laravel-smpp","last_synced_at":"2025-05-07T21:41:14.177Z","repository":{"id":48442058,"uuid":"60697338","full_name":"franzose/laravel-smpp","owner":"franzose","description":"Sending SMS via the SMPP protocol using the Laravel framework","archived":false,"fork":false,"pushed_at":"2024-05-24T09:08:37.000Z","size":16,"stargazers_count":37,"open_issues_count":3,"forks_count":32,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-06T16:48:47.888Z","etag":null,"topics":["laravel","php","smpp","smpp-interface","sms","sms-api"],"latest_commit_sha":null,"homepage":"","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/franzose.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.txt","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":"2016-06-08T12:48:55.000Z","updated_at":"2024-08-25T23:35:51.000Z","dependencies_parsed_at":"2024-06-19T16:03:36.786Z","dependency_job_id":"142fa140-9b6a-469a-ae39-0acfb126cbe3","html_url":"https://github.com/franzose/laravel-smpp","commit_stats":{"total_commits":12,"total_committers":2,"mean_commits":6.0,"dds":0.08333333333333337,"last_synced_commit":"dfcb332b6c07e1417d8d877d2c766b73c3fc8804"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/franzose%2Flaravel-smpp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/franzose%2Flaravel-smpp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/franzose%2Flaravel-smpp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/franzose%2Flaravel-smpp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/franzose","download_url":"https://codeload.github.com/franzose/laravel-smpp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252961435,"owners_count":21832184,"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":["laravel","php","smpp","smpp-interface","sms","sms-api"],"created_at":"2024-11-09T07:14:46.662Z","updated_at":"2025-05-07T21:41:14.127Z","avatar_url":"https://github.com/franzose.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![](https://img.shields.io/packagist/dt/franzose/laravel-smpp.svg)](https://packagist.org/packages/franzose/laravel-smpp)\n\n# Laravel SMPP\nThis package is a tiny wrapper for the [onlinecity/php-smpp](https://github.com/onlinecity/php-smpp) library.\nIt provides a basic SMPP interface and implementation for the Laravel framework.\n\n## Installation\nYou can install Laravel SMPP using Composer command:\n```bash\n$ composer require franzose/laravel-smpp\n```\n\nThen you need to add `LaravelSmpp\\LaravelSmppServiceProvider::class` to your providers array in the `config/app.php`\nand copy default configuration by invoking `$ php artisan vendor:publish` command.\n\n## Usage\n\nYou can use the service pretty straightforward and inject dependency in your controller:\n \n```php\n\u003c?php\n\nnamespace App\\Http\\Controllers;\n\nclass SmsController extends Controller\n{\n    public function send(SmppServiceInterface $smpp)\n    {\n        // One number\n        $this-\u003esmpp-\u003esendOne(1234567890, 'Hi, this SMS was send via SMPP protocol');\n        \n        // Multiple numbers\n        $this-\u003esmpp-\u003esendBulk([1234567890, 0987654321], 'Hi!');\n    }\n}\n```\n\nHowever it is better to abstract your SMS sending service from the SMPP implementation by defining a SMPP-compatible service interface.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffranzose%2Flaravel-smpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffranzose%2Flaravel-smpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffranzose%2Flaravel-smpp/lists"}