Core Sprinkle for UserFrosting
npm install @userfrosting/sprinkle-core
!PHP Version








Copyright (c) 2013-2024, free to use in personal and commercial software as per the license.
UserFrosting is a secure, modern user management system written in PHP and built on top of the Slim Microframework, Twig templating engine, and Eloquent 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.
1. Require in your UserFrosting project :
```
composer require userfrosting/sprinkle-core
2. Add the Sprinkle to your Sprinkle Recipe :
`php`
public function getSprinkles(): array
{
return [
\UserFrosting\Sprinkle\Core\Core::class,
];
}
3. Bake
`bash`
php bakery bake
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/
- Changelog
- Issues
- License
- Style Guide
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 as well as our style guidelines.
