Download the PHP package appointer/deep-space-comlink without Composer
On this page you can find all versions of the php package appointer/deep-space-comlink. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download appointer/deep-space-comlink
More information about appointer/deep-space-comlink
Files in appointer/deep-space-comlink
Package deep-space-comlink
Short Description A package to handle web push in a sophisticated way.
License MIT
Informations about the package deep-space-comlink
deep space comlink
This libary will help to integrate all necessary boilerplate to support web push notifications. The primary target is to integrate a nice API around the native macOS push posibillities through Safari.
Other approaches and inspiration
It all started with the search for a feasible way to create Safari *.pushpackages
. After hours and hours of searching we decided
to build our own solution for this issue. We found inspiration on some projects, mainly jwage's php-apns. Credits to him for his work.
Installation
Navigate to your project and run the composer command:
The next step is to register the service provider:
Finally, you have to register the routes of this package:
Notice If you want to, you can publish the config or the template for the pushpackage. This gives you full control over icons and application title amongst other things. Use the following artisan command:
Implementing the javascript
No worries, its a piece of cake. We are using axios
as an example HTTP client. If you got a stock laravel frontend,
you probably got it installed already. You just have to replace your current locale population with the following implementation:
Testing
Tests can be executed using the command:
Contibuting
Every help is very welcome. Do you got an issue, or having a great idea for extending this project? Feel free to open a pull request or submit an issue.
If you file a bug report, your issue should contain a title and a clear description of the issue. You should also include as much relevant information as possible and a code sample that demonstrates the issue. The goal of a bug report is to make it easy for yourself - and others - to replicate the bug and develop a fix.
Please use the issue tracker to report issues.
License
This library is open-sourced software licensed under the MIT license.
All versions of deep-space-comlink with dependencies
ext-openssl Version *
ext-zip Version *
illuminate/contracts Version ~5.0
illuminate/http Version ~5.0
illuminate/support Version ~5.0
illuminate/events Version ~5.0