PHPackages                             sf4/api-user - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. sf4/api-user

ActiveLibrary

sf4/api-user
============

User module

v1.4.5(7y ago)0911MITPHPPHP ~7.1

Since Jan 21Pushed 6y ago1 watchersCompare

[ Source](https://github.com/Sf4/api-user)[ Packagist](https://packagist.org/packages/sf4/api-user)[ Docs](https://github.com/sf4/api-user)[ RSS](/packages/sf4-api-user/feed)WikiDiscussions master Synced 4d ago

READMEChangelog (10)Dependencies (4)Versions (27)Used By (1)

api-user
========

[](#api-user)

[![Latest Version on Packagist](https://camo.githubusercontent.com/e8fa008bd518c1ab832348f8d743c5e6d05c64b632e5a48a6e71e4cd86b5a53a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7366342f6170692d757365722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/sf4/api-user)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/5592cefab23c09b641d8a54320c0e8abc1f168a8c07e4c4f8afc6769d95a9381/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f7366342f6170692d757365722f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/sf4/api-user)[![Coverage Status](https://camo.githubusercontent.com/2c903cf4ba94ba0c64c69086ebc288d786333b759c4671e82d8a4ced1adbb103/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f7366342f6170692d757365722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/sf4/api-user/code-structure)[![Quality Score](https://camo.githubusercontent.com/086bf5bc3b7fb6d54e1dd2a3095f9f8627fc6ccfcac973a2078420e70ce2cb50/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f7366342f6170692d757365722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/sf4/api-user)[![Total Downloads](https://camo.githubusercontent.com/31d60b243df0395887f6d86cd95f4820e5b94af8c47d1acc2a3c8702bd8c5d76/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7366342f6170692d757365722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/sf4/api-user)

Structure
---------

[](#structure)

If any of the following are applicable to your project, then the directory structure should follow industry best practices by being named the following.

```
bin/
config/
src/
tests/
vendor/

```

Install
-------

[](#install)

Via Composer

```
$ composer require sf4/api-user
```

Usage
-----

[](#usage)

config/packages/doctrine.yaml

```
doctrine:
    # ...
    orm:
        # ...
        mappings:
            # ...
            Sf4\ApiUser:
                is_bundle: false
                type: annotation
                dir: '%kernel.project_dir%/vendor/sf4/api-user/src/Entity'
                prefix: 'Sf4\ApiUser\Entity'
                alias: Sf4\ApiUser
```

config/routes.yaml

```
# ...
api_user:
    resource: '../vendor/sf4/api-user/src/Routes/api-user.yaml'
    prefix: /user
```

config/services.yaml

```
services:
    # ...

    Sf4\Api\Repository\RepositoryFactory:
        class: Sf4\Api\Repository\RepositoryFactory
        arguments:
            $entityManager: '@Doctrine\ORM\EntityManagerInterface'
            $entities:
                user: Sf4\ApiUser\Entity\User
                user_detail: Sf4\ApiUser\Entity\UserDetail

    # ...
    Sf4\Api\RequestHandler\RequestHandlerInterface:
        # ...
        -   method: setAvailableRoutes
            arguments:
                -   api_default: 'Sf4\Api\Request\DefaultRequest'
                    # ...
                    api_user_list: 'Sf4\ApiUser\Request\ListRequest'
                    api_user_detail: 'Sf4\ApiUser\Request\DetailRequest'
                    api_user_save_detail: 'Sf4\ApiUser\Request\SaveDetailRequest'
```

config/packages/translation.yaml

```
framework:
    # ...
    translator:
        # ...
        paths:
            # ...
            - '%kernel.project_dir%/vendor/sf4/api-user/src/translations'

```

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CODE\_OF\_CONDUCT](CODE_OF_CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Siim Liimand](https://github.com/siimliimand)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 94.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~3 days

Recently: every ~10 days

Total

25

Last Release

2594d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2471d28ff80a5a5742aafa5fd075002dba1de6e0bd668115b49158ec39f4830b?d=identicon)[siimliimand](/maintainers/siimliimand)

---

Top Contributors

[![siimliimand](https://avatars.githubusercontent.com/u/7560943?v=4)](https://github.com/siimliimand "siimliimand (33 commits)")[![siimdolmit](https://avatars.githubusercontent.com/u/247117543?v=4)](https://github.com/siimdolmit "siimdolmit (2 commits)")

---

Tags

sf4api-user

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/sf4-api-user/health.svg)

```
[![Health](https://phpackages.com/badges/sf4-api-user/health.svg)](https://phpackages.com/packages/sf4-api-user)
```

###  Alternatives

[scheb/2fa

Two-factor authentication for Symfony applications (please use scheb/2fa-bundle to install)

578630.7k1](/packages/scheb-2fa)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[rikudou/psr6-dynamo-db-bundle

PSR-6 and PSR-16 cache implementation using AWS DynamoDB for Symfony

2077.8k](/packages/rikudou-psr6-dynamo-db-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
