Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/irazasyed/gsuite-checker
Google Suite (GSuite) formerly known as Google Apps - Multi-Domains Checker.
https://github.com/irazasyed/gsuite-checker
composer composer-packages domain-checker google-apps google-suite gsuite gsuite-checker php
Last synced: 23 days ago
JSON representation
Google Suite (GSuite) formerly known as Google Apps - Multi-Domains Checker.
- Host: GitHub
- URL: https://github.com/irazasyed/gsuite-checker
- Owner: irazasyed
- License: mit
- Created: 2017-01-04T00:28:15.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2020-11-26T15:12:10.000Z (almost 4 years ago)
- Last Synced: 2024-04-06T14:44:33.528Z (7 months ago)
- Topics: composer, composer-packages, domain-checker, google-apps, google-suite, gsuite, gsuite-checker, php
- Language: PHP
- Homepage:
- Size: 12.7 KB
- Stars: 12
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# GSuite Checker
[![Join PHP Chat][ico-phpchat]][link-phpchat]
[![Chat on Telegram][ico-telegram]][link-telegram]
[![Latest Version on Packagist][ico-version]][link-packagist]
[![Software License][ico-license]](LICENSE.md)
[![Total Downloads][ico-downloads]][link-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
``` bash
$ composer require irazasyed/gsuite-checker
```## Usage
``` php
$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](CHANGELOG.md) for more information on what has changed recently.
## Contributing
Please see [CONTRIBUTING](.github/CONTRIBUTING.md) and [CONDUCT](CONDUCT.md) for details.
## Security
If you discover any security related issues, please email syed at lukonet.com instead of using the issue tracker.
## Credits
- [Syed Irfaq R.][link-author]
- [All Contributors][link-contributors]## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.
[ico-phpchat]: https://img.shields.io/badge/Slack-PHP%20Chat-5c6aaa.svg?style=flat-square&logo=slack&labelColor=4A154B
[ico-telegram]: https://img.shields.io/badge/@PHPChatCo-2CA5E0.svg?style=flat-square&logo=telegram&label=Telegram
[ico-version]: https://img.shields.io/packagist/v/irazasyed/gsuite-checker.svg?style=flat-square
[ico-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square
[ico-travis]: https://img.shields.io/travis/irazasyed/gsuite-checker/master.svg?style=flat-square
[ico-scrutinizer]: https://img.shields.io/scrutinizer/coverage/g/irazasyed/gsuite-checker.svg?style=flat-square
[ico-code-quality]: https://img.shields.io/scrutinizer/g/irazasyed/gsuite-checker.svg?style=flat-square
[ico-downloads]: https://img.shields.io/packagist/dt/irazasyed/gsuite-checker.svg?style=flat-square[link-phpchat]: https://phpchat.co/?ref=gsuite-checker
[link-telegram]: https://t.me/PHPChatCo
[link-packagist]: https://packagist.org/packages/irazasyed/gsuite-checker
[link-travis]: https://travis-ci.org/irazasyed/gsuite-checker
[link-scrutinizer]: https://scrutinizer-ci.com/g/irazasyed/gsuite-checker/code-structure
[link-code-quality]: https://scrutinizer-ci.com/g/irazasyed/gsuite-checker
[link-downloads]: https://packagist.org/packages/irazasyed/gsuite-checker
[link-author]: https://github.com/irazasyed
[link-contributors]: ../../contributors