2017 © Pedro PelĆ”ez
 

package galerts

Google Alerts management

image

netcore/galerts

Google Alerts management

  • Monday, July 10, 2017
  • by netcorelv
  • Repository
  • 6 Watchers
  • 2 Stars
  • 33 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 3 Versions
  • 3 % Grown

The README.md

Google Alerts manager

Installation

  1. Install package using command
    composer require netcore/galerts
  1. Add service provider to your app.php file
    'providers' => [
        ...
        Netcore\GAlerts\GAlertsServiceProvider::class,
    ]

Usage

At the top of your controller/service put the following, (*1)

    use Netcore\GAlerts\GAlert;
  • Fetch all existing alerts
    GAlert::all();
  • Find alert by data id
    GAlert::findByDataId('28764d5015595ee0:60bb6f517d7861db:com:en:US:L');
  • Find alert by data id
    GAlert::findByKeyword('My alert');
  • Create an alert
    $alert = new GAlert;

    $alert = $alert
        ->keyword('My alert')
        ->deliverToEmail()
        ->frequencyWeekly()
        ->language('lv')
        ->save();
  • Update an existing alert
    $alert = GAlert::findByKeyword('My alert');

    $updated = $alert
        ->keyword('My new alert')
        ->deliverToFeed()
        ->update();
  • Delete an alert
    $alert = GAlert::findByKeyowrd('My alert');

    $alert->delete();

The Versions

10/07 2017

dev-master

9999999-dev http://netcore.lv

Google Alerts management

  Sources   Download

MIT

The Requires

 

by Viktors Ņikiforovs

google netcore galerts googlealerts

10/07 2017

1.0.1

1.0.1.0 http://netcore.lv

Google Alerts management

  Sources   Download

MIT

The Requires

 

by Viktors Ņikiforovs

google netcore galerts googlealerts

20/06 2017

1.0.0

1.0.0.0 http://netcore.lv

Google Alerts management

  Sources   Download

MIT

The Requires

 

by Viktors Ņikiforovs

google netcore galerts googlealerts