PHPackages                             userfrosting/sprinkle-core - 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. [Framework](/categories/framework)
4. /
5. userfrosting/sprinkle-core

ActiveUserfrosting-sprinkle[Framework](/categories/framework)

userfrosting/sprinkle-core
==========================

Core module for UserFrosting.

5.1.6(1y ago)034.1k↑90%4[1 issues](https://github.com/userfrosting/sprinkle-core/issues)12MITPHPPHP ^8.1CI passing

Since Mar 23Pushed 1mo ago2 watchersCompare

[ Source](https://github.com/userfrosting/sprinkle-core)[ Packagist](https://packagist.org/packages/userfrosting/sprinkle-core)[ Docs](https://github.com/userfrosting/UserFrosting)[ RSS](/packages/userfrosting-sprinkle-core/feed)WikiDiscussions 5.1 Synced 1mo ago

READMEChangelog (10)Dependencies (27)Versions (48)Used By (12)

UserFrosting 5.1 Core Sprinkle
==============================

[](#userfrosting-51-core-sprinkle)

[![Version](https://camo.githubusercontent.com/66f18c3ef2870701cb984460e2c9cb79edf215e72a888150ce9920503a527ecc/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f7573657266726f7374696e672f737072696e6b6c652d636f72653f696e636c7564655f70726572656c6561736573)](https://github.com/userfrosting/sprinkle-core/releases)[![PHP Version](https://camo.githubusercontent.com/67b59877746aa7768c6ccb01287c1b64b99dc5a9e392c212acd56cc4edff148a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253545382e312d627269676874677265656e)](https://camo.githubusercontent.com/67b59877746aa7768c6ccb01287c1b64b99dc5a9e392c212acd56cc4edff148a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253545382e312d627269676874677265656e)[![License](https://camo.githubusercontent.com/074b89bca64d3edc93a1db6c7e3b1636b874540ba91d66367c0e5e354c56d0ea/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e737667)](LICENSE.md)[![Build](https://camo.githubusercontent.com/c16984575612eeb0dcc60495dadca30351e7f95b1b8aa9ddfe209c662153ed44/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f7573657266726f7374696e672f737072696e6b6c652d636f72652f4275696c642e796d6c3f6272616e63683d352e31266c6f676f3d676974687562)](https://github.com/userfrosting/sprinkle-core/actions)[![Codecov](https://camo.githubusercontent.com/e7c11360fe2bd408c4a8070bbd667e03a9cc98d4105bd5ca7b787334412d6726/68747470733a2f2f636f6465636f762e696f2f67682f7573657266726f7374696e672f737072696e6b6c652d636f72652f6272616e63682f352e312f67726170682f62616467652e737667)](https://app.codecov.io/gh/userfrosting/sprinkle-core/branch/5.1)[![StyleCI](https://camo.githubusercontent.com/885a55dcbdc81193c60d7cb181f81ca16d5f0e33405196a100205d7afc1683bf/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3337323335393338332f736869656c643f6272616e63683d352e31267374796c653d666c6174)](https://github.styleci.io/repos/372359383)[![PHPStan](https://camo.githubusercontent.com/04af1af868a318f6bed2b43cb70657eb9d543712052dfd3bddde60e015aca2bf/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f7573657266726f7374696e672f737072696e6b6c652d636f72652f5048505374616e2e796d6c3f6272616e63683d352e31266c6162656c3d5048505374616e)](https://github.com/userfrosting/sprinkle-core/actions/workflows/PHPStan.yml)[![Join the chat](https://camo.githubusercontent.com/162460efef40b0a23ac2179e20c5bbd0e9d44b333eb9801f4d45fe858adced67/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f436861742d5573657246726f7374696e672d627269676874677265656e3f6c6f676f3d526f636b65742e43686174)](https://chat.userfrosting.com)[![Donate](https://camo.githubusercontent.com/7cadda29748714306c1f13ae6ff9c243ee3c3be11d9bcea55af6b8b015c7e356/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4f70656e5f436f6c6c6563746976652d446f6e6174652d626c75653f6c6f676f3d4f70656e253230436f6c6c656374697665)](https://opencollective.com/userfrosting#backer)[![Donate](https://camo.githubusercontent.com/3a4850d1e9c402cd76626f6dc48d1764f103884839568b7db4ebc2e4ca75b51b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4b6f2d2d66692d446f6e6174652d626c75653f6c6f676f3d6b6f2d6669266c6f676f436f6c6f723d7768697465)](https://ko-fi.com/lcharette)

By [Alex Weissman](https://alexanderweissman.com) and [Louis Charette](https://bbqsoftwares.com)
------------------------------------------------------------------------------------------------

[](#by-alex-weissman-and-louis-charette)

Copyright (c) 2013-2024, free to use in personal and commercial software as per the [license](LICENSE.md).

UserFrosting is a secure, modern user management system written in PHP and built on top of the [Slim Microframework](http://www.slimframework.com/), [Twig](http://twig.sensiolabs.org/) templating engine, and [Eloquent](https://laravel.com/docs/10.x/eloquent#introduction) ORM.

This **Core Sprinkle** provides most of the "heavy lifting" PHP code. It provides all the necessary services for database, templating, error handling, mail support, request throttling, and more.

Installation in your UserFrosting project
-----------------------------------------

[](#installation-in-your-userfrosting-project)

To use this sprinkle in your UserFrosting project, follow theses instructions (*N.B.: This sprinkle is enabled by default when using the base app template*).

1. Require in your [UserFrosting](https://github.com/userfrosting/UserFrosting) project :

    ```
    composer require userfrosting/sprinkle-core

    ```
2. Add the Sprinkle to your Sprinkle Recipe :

    ```
    public function getSprinkles(): array
    {
        return [
            \UserFrosting\Sprinkle\Core\Core::class,
        ];
    }
    ```
3. Bake

    ```
    php bakery bake
    ```

Install locally and run tests
-----------------------------

[](#install-locally-and-run-tests)

You can also install this sprinkle locally. This can be useful to debug or contribute to this sprinkle.

1. Clone repo : ```
    git clone https://github.com/userfrosting/sprinkle-core.git

    ```
2. Change directory ```
    cd sprinkle-core

    ```
3. Install dependencies : ```
    composer install

    ```
4. Run bake command : ```
    php bakery bake

    ```

From this point, you can use the same command as with any other sprinkle.

Tests can be run using the bundled PHPUnit :

```
vendor/bin/phpunit

```

Same for PHPStan, for code quality :

```
vendor/bin/phpstan analyse app/src/

```

Documentation
-------------

[](#documentation)

See main [UserFrosting Documentation](https://learn.userfrosting.com) for more information.

- [Changelog](CHANGELOG.md)
- [Issues](https://github.com/userfrosting/UserFrosting/issues)
- [License](LICENSE.md)
- [Style Guide](https://github.com/userfrosting/.github/blob/main/.github/STYLE-GUIDE.md)

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

[](#contributing)

This project exists thanks to all the people who contribute. If you're interested in contributing to the UserFrosting codebase, please see our [contributing guidelines](https://github.com/userfrosting/.github/blob/main/.github/CONTRIBUTING.md) as well as our [style guidelines](https://github.com/userfrosting/.github/blob/main/.github/STYLE-GUIDE.md).

[![](https://camo.githubusercontent.com/69df552f14c7f3afa265fd25b82834db8a2f57ddbebffcac59ce94371aff1962/68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f7573657266726f7374696e672f636f6e7472696275746f72732e7376673f77696474683d38393026627574746f6e3d74727565)](https://github.com/userfrosting/sprinkle-core/graphs/contributors)

###  Health Score

52

—

FairBetter than 96% of packages

Maintenance68

Regular maintenance activity

Popularity31

Limited adoption so far

Community32

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 60.6% 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 ~29 days

Recently: every ~44 days

Total

46

Last Release

56d ago

Major Versions

5.1.x-dev → 6.0.0-alpha.22025-01-22

PHP version history (2 changes)5.0.0-alpha1PHP ^8.0

5.1.0PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/a58517f6c9aea65a660cb28e0fe5e3139696c6d5a7c96f91576aff0f0267c750?d=identicon)[lcharette](/maintainers/lcharette)

---

Top Contributors

[![lcharette](https://avatars.githubusercontent.com/u/2566513?v=4)](https://github.com/lcharette "lcharette (900 commits)")[![alexweissman](https://avatars.githubusercontent.com/u/5004534?v=4)](https://github.com/alexweissman "alexweissman (363 commits)")[![Silic0nS0ldier](https://avatars.githubusercontent.com/u/17376090?v=4)](https://github.com/Silic0nS0ldier "Silic0nS0ldier (72 commits)")[![amosfolz](https://avatars.githubusercontent.com/u/33728190?v=4)](https://github.com/amosfolz "amosfolz (67 commits)")[![StyleCIBot](https://avatars.githubusercontent.com/u/11048387?v=4)](https://github.com/StyleCIBot "StyleCIBot (32 commits)")[![X-Anonymous-Y](https://avatars.githubusercontent.com/u/2701528?v=4)](https://github.com/X-Anonymous-Y "X-Anonymous-Y (7 commits)")[![silvioq](https://avatars.githubusercontent.com/u/155036?v=4)](https://github.com/silvioq "silvioq (6 commits)")[![splitt3r](https://avatars.githubusercontent.com/u/1869584?v=4)](https://github.com/splitt3r "splitt3r (6 commits)")[![brunomnsilva](https://avatars.githubusercontent.com/u/16222114?v=4)](https://github.com/brunomnsilva "brunomnsilva (4 commits)")[![phillmac](https://avatars.githubusercontent.com/u/4534835?v=4)](https://github.com/phillmac "phillmac (3 commits)")[![ssnukala](https://avatars.githubusercontent.com/u/5246509?v=4)](https://github.com/ssnukala "ssnukala (3 commits)")[![abdullahseba](https://avatars.githubusercontent.com/u/25548754?v=4)](https://github.com/abdullahseba "abdullahseba (2 commits)")[![xrobau](https://avatars.githubusercontent.com/u/457798?v=4)](https://github.com/xrobau "xrobau (2 commits)")[![popiazaza](https://avatars.githubusercontent.com/u/10580759?v=4)](https://github.com/popiazaza "popiazaza (2 commits)")[![aazirani](https://avatars.githubusercontent.com/u/99014531?v=4)](https://github.com/aazirani "aazirani (1 commits)")[![zbigcheese](https://avatars.githubusercontent.com/u/34444792?v=4)](https://github.com/zbigcheese "zbigcheese (1 commits)")[![apple314159](https://avatars.githubusercontent.com/u/854164?v=4)](https://github.com/apple314159 "apple314159 (1 commits)")[![arminkhoshbin](https://avatars.githubusercontent.com/u/7564157?v=4)](https://github.com/arminkhoshbin "arminkhoshbin (1 commits)")[![Ekwav](https://avatars.githubusercontent.com/u/16632490?v=4)](https://github.com/Ekwav "Ekwav (1 commits)")[![jason-roett](https://avatars.githubusercontent.com/u/31496758?v=4)](https://github.com/jason-roett "jason-roett (1 commits)")

---

Tags

phpuserfrostinguserfrosting-sprinkleuserfrostingphp user managementSprinkle

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/userfrosting-sprinkle-core/health.svg)

```
[![Health](https://phpackages.com/badges/userfrosting-sprinkle-core/health.svg)](https://phpackages.com/packages/userfrosting-sprinkle-core)
```

###  Alternatives

[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[laravel-zero/framework

The Laravel Zero Framework.

3371.4M369](/packages/laravel-zero-framework)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)[flarum/core

Delightfully simple forum software.

211.3M1.9k](/packages/flarum-core)[getkirby/cms

The Kirby core

1.5k535.5k352](/packages/getkirby-cms)

PHPackages © 2026

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