{"id":21645392,"url":"https://github.com/lahaxearnaud/laravel-pushbullet","last_synced_at":"2025-04-11T18:43:40.442Z","repository":{"id":24516219,"uuid":"27922118","full_name":"lahaxearnaud/laravel-pushbullet","owner":"lahaxearnaud","description":"PushBullet for Laravel","archived":false,"fork":false,"pushed_at":"2023-12-15T05:55:11.000Z","size":118,"stargazers_count":16,"open_issues_count":7,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-03-15T09:07:52.820Z","etag":null,"topics":["laravel","php","pushbullet"],"latest_commit_sha":null,"homepage":"http://lahaxearnaud.github.io/laravel-pushbullet","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/lahaxearnaud.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-12-12T13:46:31.000Z","updated_at":"2024-06-21T14:18:21.679Z","dependencies_parsed_at":"2023-12-15T06:52:59.926Z","dependency_job_id":null,"html_url":"https://github.com/lahaxearnaud/laravel-pushbullet","commit_stats":{"total_commits":27,"total_committers":9,"mean_commits":3.0,"dds":0.8148148148148149,"last_synced_commit":"c81d08212e86c80d9890e831d7ea0c76357c7a99"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lahaxearnaud%2Flaravel-pushbullet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lahaxearnaud%2Flaravel-pushbullet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lahaxearnaud%2Flaravel-pushbullet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lahaxearnaud%2Flaravel-pushbullet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lahaxearnaud","download_url":"https://codeload.github.com/lahaxearnaud/laravel-pushbullet/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248461068,"owners_count":21107600,"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","pushbullet"],"created_at":"2024-11-25T05:57:14.222Z","updated_at":"2025-04-11T18:43:40.410Z","avatar_url":"https://github.com/lahaxearnaud.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Laravel-PushBullet\n\nThis package is an integration of `joetannenbaum/phpushbullet` library in Laravel.\n\n## Table of Contents\n\n+ [Installation](#installation)\n+ [Listing Devices](#listing-devices)\n+ [Pushing](#pushing)\n  + [To Devices](#to-devices)\n  + [To Type of evices](#to-type)\n  + [To Users](#to-users)\n+ [Types](#types)\n  + [Notes](#notes)\n  + [Links](#links)\n  + [Addresses](#addresses)\n  + [Lists](#lists)\n  + [Files](#files)\n\n## Installation\n\n\n```\n$ composer require lahaxearnaud/laravel-pushbullet\n```\n\nThat's all !\n\nJust don't forget to use the face before using it:\n\n```\nuse Lahaxearnaud\\LaravelPushbullet\\Pushbullet;\n```\n\n## Listing Devices\n\nTo list the available devices on your account:\n\n```php\nPushBullet::devices();\n```\n\nThis will return an array of objects with all of the device information.\n\n## Pushing\n\n### To Devices\n\nWhen pushing a to a device, simply use the device's `nickname` or their `iden` from the list above.\n\nTo push to a single device:\n\n```php\nPushBullet::device('Chrome')-\u003enote('Remember', 'Buy some eggs.');\n```\n\nTo push to multiple devices:\n\n```php\nPushBullet::device('Chrome')-\u003edevice('Galaxy S4')-\u003enote('Remember', 'Buy some eggs.');\n// or\nPushBullet::device('Chrome', 'Galaxy S4')-\u003enote('Remember', 'Buy some eggs.');\n// or using an array\nPushBullet::device(['Chrome', 'Galaxy S4'])-\u003enote('Remember', 'Buy some eggs.');\n// or using a collection\nPushBullet::device(Device::all()-\u003epluck('name'))-\u003enote('Remember', 'Buy some eggs.');\n```\n\nIf you want to push to all devices\n\n```php\nPushBullet::all()-\u003enote('Remember', 'Buy some eggs.');\n```\n\n### To Type\n\nYou can select a type of device (ex android)\n```\nPushBullet::type('android')-\u003enote('Remember', 'Buy some eggs.');\n// or\nPushBullet::type('android')-\u003etype('chrome')-\u003enote('Remember', 'Buy some eggs.');\n// or\nPushBullet::type('android', 'chrome')-\u003enote('Remember', 'Buy some eggs.');\n// or using an array\nPushBullet::type(['android', 'chrome'])-\u003enote('Remember', 'Buy some eggs.');\n// or using a collection\nPushBullet::type(Type::all()-\u003epluck('name'))-\u003enote('Remember', 'Buy some eggs.');\n```\n\n\n\n### To Users\n\nWhen pushing a to a user, simply use the user's email address:\n\nTo push to a single user:\n\n```php\nPushBullet::user('joe@example.com')-\u003enote('Remember', 'Buy some eggs.');\n```\n\nTo push to multiple users:\n\n```php\nPushBullet::user('joe@example.com')-\u003euser('anne@example.com')-\u003enote('Remember', 'Buy some eggs.');\n// or\nPushBullet::user('joe@example.com', 'anne@example.com')-\u003enote('Remember', 'Buy some eggs.');\n// or using an array\nPushBullet::user(['joe@example.com', 'anne@example.com'])-\u003enote('Remember', 'Buy some eggs.');\n// or using a collection\nPushBullet::user(User::findMany([1, 2, 3])-\u003epluck('email'))-\u003enote('Remember', 'Buy some eggs.');\n```\n## Types\n\n### Notes\n\nArguments:\n\n+ Title\n+ Body\n\n```php\nPushBullet::device('Chrome')-\u003enote('Musings', 'Why are fudgy brownies better than cakey brownies?');\n```\n\n### Links\n\nArguments:\n\n+ Title\n+ URL\n+ Body (optional)\n\n```php\nPushBullet::device('Chrome')-\u003elink('Look It Up', 'http://google.com', 'I hear this is a good site for finding things.');\n```\n\n### Addresses\n\nArguments:\n+ Name\n+ Address\n\n```php\nPushBullet::device('Chrome')-\u003eaddress('The Hollywood Sign', '4059 Mt Lee Drive Hollywood, CA 90068');\n```\n\nAlternatively, you can pass in an associative array:\n\n```php\n$address = [\n  'address' =\u003e '4059 Mt Lee Drive',\n  'city'    =\u003e 'Hollywood',\n  'state'   =\u003e 'CA',\n  'zip'     =\u003e '90068',\n];\n\nPushBullet::device('Chrome')-\u003eaddress('The Hollywood Sign', $address);\n```\n\n### Lists\n\nArguments:\n+ Title\n+ Items (array)\n\n```php\n$items = [\n  'Socks',\n  'Pants',\n  'Keys',\n  'Wallet',\n];\n\nPushBullet::device('Chrome')-\u003elist('Do Not Forget', $items);\n```\n\n### Files\n\nArguments:\n+ File Name\n+ File URL (must be publicly available)\n+ Body (optional)\n\n```php\nPushBullet::device('Chrome')-\u003efile('The Big Presentation', 'http://example.com/do-not-lose-this.pptx', 'Final version of slides.');\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flahaxearnaud%2Flaravel-pushbullet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flahaxearnaud%2Flaravel-pushbullet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flahaxearnaud%2Flaravel-pushbullet/lists"}