{"id":19542423,"url":"https://github.com/vansteen/laravel-sendinblue","last_synced_at":"2025-04-26T17:31:14.664Z","repository":{"id":42081067,"uuid":"134865450","full_name":"vansteen/laravel-sendinblue","owner":"vansteen","description":"A Laravel 5/6/7 service provider, facade and config file for the SendinBlue's API v3 official PHP library.","archived":false,"fork":false,"pushed_at":"2023-10-26T12:44:39.000Z","size":32,"stargazers_count":18,"open_issues_count":4,"forks_count":8,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-20T17:42:25.700Z","etag":null,"topics":["laravel","sendinblue"],"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/vansteen.png","metadata":{"files":{"readme":"readme.md","changelog":"changelog.md","contributing":"contributing.md","funding":null,"license":"license.md","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-25T14:16:00.000Z","updated_at":"2023-10-08T10:01:16.000Z","dependencies_parsed_at":"2024-06-20T23:27:12.756Z","dependency_job_id":"955411de-11fe-483e-aa7a-95f0ffb2a522","html_url":"https://github.com/vansteen/laravel-sendinblue","commit_stats":{"total_commits":32,"total_committers":6,"mean_commits":5.333333333333333,"dds":0.5625,"last_synced_commit":"cf1b76c7b2f9e3e22984e3f7da11e498d4979872"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vansteen%2Flaravel-sendinblue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vansteen%2Flaravel-sendinblue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vansteen%2Flaravel-sendinblue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vansteen%2Flaravel-sendinblue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vansteen","download_url":"https://codeload.github.com/vansteen/laravel-sendinblue/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251025723,"owners_count":21524848,"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","sendinblue"],"created_at":"2024-11-11T03:14:39.984Z","updated_at":"2025-04-26T17:31:14.434Z","avatar_url":"https://github.com/vansteen.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Laravel Sendinblue\n\n[![Latest Version on Packagist][ico-version]][link-packagist]\n[![Total Downloads][ico-downloads]][link-downloads]\n[![Build Status][ico-travis]][link-travis]\n[![Coverage Status][ico-coverage]][link-coverage]\n[![Quality Score][ico-code-quality]][link-code-quality]\n[![StyleCI][ico-styleci]][link-styleci]\n[![License][ico-license]][link-license]\n\nThe package simply provides a Laravel service provider, facade and config file for the SendinBlue's API v3 official PHP library. \u003chttps://github.com/sendinblue/APIv3-php-library\u003e\n\n## Installation\n\nYou can install this package via Composer using:\n\n```bash\ncomposer require vansteen/laravel-sendinblue\n```\n\nFor Laravel \u003c5.5, you must also install the service provider and the facade to your `config/app.php`:\n\n```php\n// config/app.php\n'providers' =\u003e [\n    ...\n    Vansteen\\Sendinblue\\SendinblueServiceProvider::class,\n    ...\n];\n```\n\n```php\n// config/app.php\n'aliases' =\u003e [\n    ...\n    'Sendinblue' =\u003e Vansteen\\Sendinblue\\Facades\\Sendinblue::class,\n];\n```\n\n## Configuration\n\nYou need to publish the config file to `app/config/sendinblue.php`. To do so, run:\n\n```bash\nphp artisan vendor:publish --tag=sendinblue.config\n```\n\nNow you need to set your configuration using **environment variables**.\nGo the the Sendinblue API settings and add the v3 API key to your `.env` file.\n\n```bash\nSENDINBLUE_APIKEY=xkeysib-XXXXXXXXXXXXXXXXXXX\n```\n\n## Usage\n\nTo test it, you can add the folowing code in routes.php.\n\n```php\n// routes.php\n...\nuse Vansteen\\Sendinblue\\Facades\\Sendinblue;\n\nRoute::get('/test', function () {\n\n    // Configure API keys authorization according to the config file\n    $config = Sendinblue::getConfiguration();\n\n    // Uncomment below to setup prefix (e.g. Bearer) for API keys, if needed\n    // $config-\u003esetApiKeyPrefix('api-key', 'Bearer');\n    // $config-\u003esetApiKeyPrefix('partner-key', 'Bearer');\n\n    $apiInstance = new \\SendinBlue\\Client\\Api\\ListsApi(\n        // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n        // This is optional, `GuzzleHttp\\Client` will be used as default.\n        new GuzzleHttp\\Client(),\n        $config\n    );\n\n    try {\n        $result = $apiInstance-\u003egetLists();\n        dd($result);\n    } catch (Exception $e) {\n        echo 'Exception when calling AccountApi-\u003egetAccount: ', $e-\u003egetMessage(), PHP_EOL;\n    }\n\n});\n```\n\nTo get a idea of the of the API endpoints, visit the API [readme file](https://github.com/sendinblue/APIv3-php-library#documentation-for-api-endpoints).\n\nBe sure to visit the SendinBlue official [documentation website](https://sendinblue.readme.io/docs) for additional information about our API.\n\n## Change log\n\nPlease see the [changelog](changelog.md) for more information on what has changed recently.\n\n## Testing\n\n```bash\ncomposer test\n```\n\n## Contributing\n\nPlease see [contributing.md](contributing.md) for details and a todolist.\n\n## Security\n\nIf you discover any security related issues, please email author email instead of using the issue tracker.\n\n## License\n\nlicense. Please see the [license file](license.md) for more information.\n\n[ico-version]: https://poser.pugx.org/vansteen/laravel-sendinblue/v/stable\n[ico-downloads]: https://poser.pugx.org/vansteen/laravel-sendinblue/downloads\n[ico-travis]: https://travis-ci.org/vansteen/laravel-sendinblue.svg?branch=master\n[ico-coverage]: https://coveralls.io/repos/github/vansteen/laravel-sendinblue/badge.svg?branch=master\n[ico-code-quality]: https://scrutinizer-ci.com/g/vansteen/laravel-sendinblue/badges/quality-score.png?b=master\n[ico-styleci]: https://github.styleci.io/repos/134865450/shield?style=flat\n[ico-license]: https://poser.pugx.org/vansteen/laravel-sendinblue/license\n[link-packagist]: https://packagist.org/packages/vansteen/laravel-sendinblue\n[link-downloads]: https://packagist.org/packages/vansteen/laravel-sendinblue\n[link-travis]: https://travis-ci.org/vansteen/laravel-sendinblue\n[link-code-quality]: https://scrutinizer-ci.com/g/vansteen/laravel-sendinblue\n[link-styleci]: https://styleci.io/repos/134865450\n[link-coverage]: https://coveralls.io/github/vansteen/laravel-sendinblue?branch=master\n[link-license]: https://github.com/vansteen/laravel-sendinblue/blob/HEAD/license.md\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvansteen%2Flaravel-sendinblue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvansteen%2Flaravel-sendinblue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvansteen%2Flaravel-sendinblue/lists"}