getsno/relesys-users
Laravel 10 / PHP 8.1 client for the Relesys User Management API. Authenticate via client ID/secret and access endpoints for users, departments, user groups, custom fields, and communication, with support for filtering, sorting, and pagination.
Relesys::users()->...) aligns with Laravel’s service layer conventions, reducing learning curves for developers familiar with Laravel’s ecosystem.User, UserPatch, and ApiQueryParams entities enforces type safety and validation, reducing runtime errors from malformed API requests. This is particularly valuable for teams managing complex user schemas (e.g., custom fields, departments, user groups).UserCreated, UserUpdated) for triggering workflows (e.g., notifications, analytics). This would require minimal additional work.testbench-based tests (with isolation and real-API modes) demonstrates a commitment to reliability, though the lack of community adoption (0 stars) raises questions about long-term stability..env configuration), requiring only API credentials and no database migrations or schema changes. This lowers the barrier to adoption for teams prioritizing speed..env variables for credentials, which is a secure and Laravel-idiomatic approach. However, teams using secrets managers (e.g., AWS Secrets Manager, HashiCorp Vault) may need additional abstraction.ApiQueryParams class simplifies complex API queries (e.g., filtering by status, sorting by name), reducing the need for manual query string construction. This is particularly useful for dashboards or admin panels requiring dynamic data fetching.RelesysHttpClientException, the README does not detail how to handle or log these errors in a Laravel context (e.g., integrating with Laravel’s exception handler or logging systems).testbench and phpunit dependencies may introduce compatibility issues with existing test suites or CI/CD pipelines, particularly for teams using older versions of these tools.testbench and phpunit dependencies suggest better alignment with modern Laravel testing workflows, though teams may need to update their testing environments..env with Relesys credentials.User models, controllers) with the package’s API calls. Use Laravel’s service container to bind the package’s client to interfaces for easier testing/mocking.createUser method.relesys.api.users scope, which may not be available to all Relesys users. Teams must verify their API credentials include this scope before integration.relesys.api.users scope..env with RELESYS_CLIENT_ID and RELESYS_CLIENT_SECRET.How can I help you explore Laravel packages today?