Download the PHP package ceedcv-maya/shared-profile-laravel without Composer
On this page you can find all versions of the php package ceedcv-maya/shared-profile-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ceedcv-maya/shared-profile-laravel
More information about ceedcv-maya/shared-profile-laravel
Files in ceedcv-maya/shared-profile-laravel
Package shared-profile-laravel
Short Description User profile endpoints for Laravel + Keycloak: GET /me, PUT /me/locale, configurable resolvers, FormRequest validation.
License MIT
Homepage https://github.com/Maya-AQSS/shared-profile-laravel
Informations about the package shared-profile-laravel
ceedcv-maya/shared-profile-laravel
User profile endpoints for Laravel + Keycloak: GET /me, PUT /me/locale, configurable resolvers, FormRequest validation.
Part of the ceedcv-maya/maya_platform mono-repo. Distributed independently for reuse outside the Maya ecosystem.
Installation
Adds GET /me and PUT /me/locale endpoints to your Laravel app. Resolver is configurable to bind to your user model.
Keycloak ↔ Odoo user link
The Keycloak user id (the JWT sub) is stored in Odoo as res_users.oauth_uid (set by Odoo's Keycloak login and by user-worker). It is the only link key, in every environment. The old res_users.keycloak_user_id column only existed in development databases and is no longer read.
Migrations::academicAssignments():user_study_types,user_studiesanduser_course_modules(user_id=sub). Since2026_10_15_000001_read_academic_assignments_from_maya_appsthey read the viewsmaya_apps.v_app_user_*, which already resolve the user byoauth_uidon Odoo's side; the older foreign tables on Odoo tables (res_users_kc_fdw…) are dropped. Apps only needphp artisan migrate.Migrations::users(): the localusersview readsmaya_apps.v_app_users(id=res_users.oauth_uid).
Odoo is read through maya_apps views only (D17)
Every foreign table towards Odoo (odoo_server) reads a view of the maya_apps schema in maya_erp, never an Odoo table: the FDW user (maya_fdw_reader) can only read that schema. The common views live in ceedcv-maya/shared-platform-laravel (database/views) and each app's deployment creates them with php artisan maya:views (see its README). The 2026_10_15_000001_* migrations of each group repoint the foreign tables (users, teams, academic-catalogs, languages: ALTER FOREIGN TABLE … OPTIONS (SET schema_name 'maya_apps', SET table_name …) with the same columns; academic-assignments: new foreign tables). Deploy them together with the views job (maya-common ≥ 0.3.0, views.enabled: true): without the views, the foreign tables fail when queried.
TypeScript / build notes
PSR-4 autoload from src/. Service providers are registered via Laravel package discovery (no manual provider registration needed).
License
MIT — see LICENSE.
Reporting issues
The canonical source lives in Maya-AQSS/maya_platform. File issues there; this read-only split repo is only the published artifact.
All versions of shared-profile-laravel with dependencies
illuminate/contracts Version ^11.0 || ^12.0 || ^13.0
illuminate/database Version ^11.0 || ^12.0 || ^13.0
illuminate/http Version ^11.0 || ^12.0 || ^13.0
illuminate/routing Version ^11.0 || ^12.0 || ^13.0
illuminate/support Version ^11.0 || ^12.0 || ^13.0
illuminate/validation Version ^11.0 || ^12.0 || ^13.0