Download the PHP package arietimmerman/laravel-scim-server without Composer
On this page you can find all versions of the php package arietimmerman/laravel-scim-server. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download arietimmerman/laravel-scim-server
More information about arietimmerman/laravel-scim-server
Files in arietimmerman/laravel-scim-server
Package laravel-scim-server
Short Description Laravel Package for creating a SCIM server
License MIT
Informations about the package laravel-scim-server
SCIM 2.0 Server implementation for Laravel
Add SCIM 2.0 Server capabilities to your Laravel application with ease. This package requires minimal configuration to get started with basic functionalities.
This implementation is used by The SCIM Playground and is therefore one of the most widely tested SCIM servers available.
Installation
Simply run:
composer require arietimmerman/laravel-scim-server
And optionally
php artisan vendor:publish --tag=laravel-scim
Routes
Method | Path |
---|---|
GET|HEAD | / |
GET|HEAD | scim/v1 |
GET|HEAD | scim/v1/{fallbackPlaceholder} |
POST | scim/v2/.search |
POST | scim/v2/Bulk |
GET|HEAD | scim/v2/ResourceTypes |
GET|HEAD | scim/v2/ResourceTypes/{id} |
GET|HEAD | scim/v2/Schemas |
GET|HEAD | scim/v2/Schemas/{id} |
GET|HEAD | scim/v2/ServiceProviderConfig |
GET|HEAD | scim/v2/{fallbackPlaceholder} |
GET|HEAD | scim/v2/{resourceType} |
POST | scim/v2/{resourceType} |
POST | scim/v2/{resourceType}/.search |
GET|HEAD | scim/v2/{resourceType}/{resourceObject} |
PUT | scim/v2/{resourceType}/{resourceObject} |
PATCH | scim/v2/{resourceType}/{resourceObject} |
DELETE | scim/v2/{resourceType}/{resourceObject} |
Configuration
The configuration is retrieved from SCIMConfig::class
.
Extend this class and register your extension in app/Providers/AppServiceProvider.php
like this.
~~~.php $this->app->singleton('ArieTimmerman\Laravel\SCIMServer\SCIMConfig', YourCustomSCIMConfig::class);
## An example override
Here's one way to override the default configuration without copying too much of the SCIMConfig file into your app.
~~~.php
Security & App Integration
By default, this package does no security checks on its own. This can be dangerous, in that a functioning SCIM Server can view, add, update, delete, or list users. You are welcome to implement your own security checks at the middleware layer, or somehow/somewhere else that makes sense for your application. But make sure to do something.
If you want to integrate into already existing middleware, you'll want to take the following steps -
Turn off automatic publishing of routes
Modify config/scim.php
like this:
Next, explicitly publish your routes with your choice of middleware
In either your RouteServiceProvider, or in a particular route file, add the following:
Test server
docker-compose up
Now visit http://localhost:18123/scim/v2/Users
.
All versions of laravel-scim-server with dependencies
illuminate/database Version ^8.0|^9.0|^10.0|^11.0|^12.0
illuminate/support Version ^8.0|^9.0|^10.0|^11.0|^12.0
illuminate/console Version ^8.0|^9.0|^10.0|^11.0|^12.0
tmilos/scim-schema Version ^0.1.0
tmilos/scim-filter-parser Version ^1.3