Project Insights
Know your codebase health
Production-Ready Code
Generated in minutes, not hours
namespace App\Livewire;
class SocialLogin extends Component
{
public string $provider = 'github';
public function redirect()
{
return Socialite::driver($this->provider)
->redirect();
}
}
use App\Livewire\SocialLogin;
use Livewire\Livewire;
test('redirects to provider', function () {
Livewire::test(SocialLogin::class)
->set('provider', 'github')
->call('redirect')
->assertRedirect();
});
// ✓ 1 test, 3 assertions
// PASS
Human Verified
Human review when you need it
Adam Developer
Senior Laravel Engineer • 20+ yrs
Start Building
It's Free
Free AI Generation
Unlimited code generation
Expert Review
Pay only when you need it
Same-Day Delivery
Fast turnaround times
No credit card required