irazasyed/gsuite-checker

Google Suite (GSuite) formerly known as Google Apps Multi-Domains Checker.

v1.0 2017-01-04 00:39 UTC

This package is auto-updated.

Last update: 2024-03-26 22:35:25 UTC


README

Join PHP Chat Chat on Telegram Latest Version on Packagist Software License Total Downloads

Google Suite AKA GSuite (Formerly known as Google Apps) Checker for Domains. It lets you determine if a domain has an active GSuite Account.

The checker can check up to 25 domains simultaneously in a pool of requests.

Install

Via Composer

$ composer require irazasyed/gsuite-checker

Usage

$domains = ['test.com', 'domain.com', 'example.com'];

$gsuite = Irazasyed\GsuiteChecker::make($domains)->check();

$result = $gsuite->all();

The result is an array of domain => status.

There are 3 status codes:

  • -1 - The request was rejected due to whatever issues and should be retried.
  • 0 - There is no GSuite Account associated with the domain.
  • 1 - There is a GSuite Account associated with the domain.

Change log

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING and CONDUCT for details.

Security

If you discover any security related issues, please email syed at lukonet.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.