2017 © Pedro Peláez
 

library sqreen-polyfill

Polyfill for the Sqreen PHP extension

image

wizaplace/sqreen-polyfill

Polyfill for the Sqreen PHP extension

  • Friday, July 13, 2018
  • by luxifer
  • Repository
  • 3 Watchers
  • 1 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Polyfill for the Sqreen PHP extension., (*1)

Total Downloads, (*2)

Using Sqreen's PHP extension requires us to use this pattern everywhere:, (*3)

if (extension_loaded('sqreen')) {
    sqreen\signup_track(['email' => $email])
}

This package is a polyfill re-declaring all the functions provided by Sqreen when the extension is not installed. In other words, after installing this polyfill you can rely on the function to exist:, (*4)

sqreen\signup_track(['email' => $email]);

If the extension is installed, everything will work as expected. If not (for example on your development machine) nothing will happen., (*5)

Installation

composer require wizaplace/sqreen-polyfill

That's all you need to do!, (*6)

The Versions

13/07 2018

dev-master

9999999-dev

Polyfill for the Sqreen PHP extension

  Sources   Download

MIT

polyfill sqreen

13/07 2018

1.0.0

1.0.0.0

Polyfill for the Sqreen PHP extension

  Sources   Download

MIT

polyfill sqreen