userfrosting / sprinkle-core
Core module for UserFrosting.
Installs: 16 112
Dependents: 10
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 2
Open Issues: 1
Type:userfrosting-sprinkle
Requires
- php: ^8.1
- composer/semver: ^3.2.4
- doctrine/dbal: ^3.5
- filp/whoops: ^2.14
- illuminate/cache: ^10.0
- illuminate/database: ^10.0
- illuminate/events: ^10.0
- illuminate/filesystem: ^10.0
- lcharette/webpack-encore-twig: ^1.1
- league/csv: ^9.2.1
- league/flysystem: ^3.22
- monolog/monolog: ^3.5
- phpmailer/phpmailer: ^6.0.7
- slim/csrf: ^1.3
- slim/twig-view: ^3.0
- userfrosting/framework: ~5.1.0
- vlucas/phpdotenv: ^5.3
Requires (Dev)
- fakerphp/faker: ^1.17
- friendsofphp/php-cs-fixer: ^3.0
- mockery/mockery: ^1.2
- php-mock/php-mock-mockery: ^1.3
- phpstan/phpstan: ^1.1
- phpstan/phpstan-deprecation-rules: ^1.0
- phpstan/phpstan-mockery: ^1.0
- phpstan/phpstan-phpunit: ^1.0
- phpstan/phpstan-strict-rules: ^1.0
- phpunit/phpunit: ^10.5
- slam/phpstan-extensions: ^6.0
- 6.0.x-dev
- 5.2.x-dev
- 5.1.x-dev
- 5.1.4
- 5.1.3
- 5.1.2
- 5.1.1
- 5.1.0
- 5.0.x-dev
- 5.0.1
- 5.0.0
- 5.0.0-rc3
- 5.0.0-rc2
- 5.0.0-rc1
- 5.0.0-beta7
- 5.0.0-beta6
- 5.0.0-beta5
- 5.0.0-beta4
- 5.0.0-beta3
- 5.0.0-beta2
- 5.0.0-beta1
- 5.0.0-alpha10
- 5.0.0-alpha9
- 5.0.0-alpha8
- 5.0.0-alpha7
- 5.0.0-alpha6
- 5.0.0-alpha5
- 5.0.0-alpha4
- 5.0.0-alpha3
- 5.0.0-alpha2
- 5.0.0-alpha1
- dev-5.0-mssql
This package is auto-updated.
Last update: 2024-10-29 23:53:41 UTC
README
By Alex Weissman and Louis Charette
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.
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).
-
Require in your UserFrosting project :
composer require userfrosting/sprinkle-core
-
Add the Sprinkle to your Sprinkle Recipe :
public function getSprinkles(): array { return [ \UserFrosting\Sprinkle\Core\Core::class, ]; }
-
Bake
php bakery bake
Install locally and run tests
You can also install this sprinkle locally. This can be useful to debug or contribute to this sprinkle.
- Clone repo :
git clone https://github.com/userfrosting/sprinkle-core.git
- Change directory
cd sprinkle-core
- Install dependencies :
composer install
- 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
See main UserFrosting Documentation for more information.
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 as well as our style guidelines.