irazasyed/gsuite-checker
A lightweight Laravel/PHP package for checking whether an email address or domain is associated with Google Workspace (G Suite), using DNS/MX lookups. It offers a simple, framework-friendly API for adding G Suite detection to your app.
^1.0) until the public API and configuration shape are proven in your app.Conceptual usage once the package’s real class/facade names are confirmed:
$checker = app(/* package checker service */::class);
$isAllowed = $checker
->forDomains(config('gsuite.domains'))
->isGSuite($email);
Do not copy class names blindly; verify the actual facade/service and method names from the v1.0 README.
@ characters..env, run php artisan config:clear (or config:cache in deployment) before debugging. Cached config is a common source of “it ignores my new domain” issues.php artisan tinker, inspect the package exception messages, and log the high-level response status. Avoid dumping full credential payloads or private keys.How can I help you explore Laravel packages today?