irazasyed / gsuite-checker
Google Suite (GSuite) formerly known as Google Apps Multi-Domains Checker.
Requires
- php: ~5.6||~7.0
- guzzlehttp/guzzle: ^6.2
Requires (Dev)
- phpunit/phpunit: ~4.0||~5.0
- squizlabs/php_codesniffer: ^2.3
This package is auto-updated.
Last update: 2024-10-26 23:47:50 UTC
README
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.