Browser notifications from server side using PHP
<p>Can I send browser notifications from server to subscribed users using PHP? I saw <a href="http://demos.9lessons.info/browserNotifications/index.php" rel="nofollow">this tutorial</a> today, but that work only from client side. I know there are services like <a href="https://pushcrew.com/" rel="nofollow">pushcrew</a>, but I want to develop my own using PHP and JavaScript.</p>

<p>My actual requirement is asking users to confirm if I can send them notifications using this code,</p>

<pre><code>if (Notification.permission !== "granted")
{
   Notification.requestPermission();
}
</code></pre>

<p>then show notifications when I publish new article in my website.</p>

<p>NB: Browser support doesn't matter.</p>