singleloginsystem/app/Services/ConnectionProviderService.php
= c0086ddb6a feature: implement ConnectedApp management with creation and editing support
- Added `ConnectedAppData` DTO for structured data representation.
- Implemented Livewire components for ConnectedApp list (`index`) and edit (`edit`).
- Integrated `ConnectedAppService` with CRUD operations.
- Updated routing to include ConnectedApp management paths.
- Enhanced UI with reusable components and dynamic dropdowns for protocols, providers, and statuses.
2026-05-14 14:03:53 +00:00

23 lines
456 B
PHP

<?php
declare(strict_types=1);
namespace App\Services;
use App\Models\ConnectionProvider;
use Illuminate\Support\Collection;
class ConnectionProviderService
{
/**
* @return Collection<int, ConnectionProvider>
*/
public function search(string $value): Collection
{
return ConnectionProvider::query()
->whereLike('slug', "%{$value}%")
->orWhereLike('name', "%{$value}%")
->get();
}
}