leapt/core-bundle

Symfony LeaptCoreBundle

Installs: 16 909

Dependents: 3

Suggesters: 1

Security: 0

Stars: 17

Watchers: 2

Forks: 6

Open Issues: 12

Type:symfony-bundle

v4.6.2 2022-10-26 10:01 UTC

README

Package version Build Status PHP Version License Code coverage

Introduction

The bundle aims to help with some repetitive tasks, including (but not limited to):

  • Data lists with search
  • File and image uploads
  • Form types
  • Navigation helper
  • Paginator
  • RSS feed generation
  • SEO-related tasks (sitemaps, etc)
  • Twig extensions
  • Utilities
  • Validators: PasswordStrength, Recaptcha, Slug

Examples

Grid layout example Tiled layout example
Example of grid datalist layout Example of tiled datalist layout
Paginator example Form types example
Example of paginator Example of form types

Available demo

If you want to try the bundle before installing it in your own projects, you can run this demo project locally: https://github.com/leapt/demo

Installation & usage

You can check docs there: https://core-bundle.leapt.dev/

Versions & dependencies

The current version (4.x) of the bundle works with Symfony 5.4 & Symfony 6.0+. The project follows SemVer.

You can check the changelog for version 4 and the upgrade document when upgrading from 3.x bundle version.

CoreBundle version Symfony version PHP version
4.x ^5.4 || ^6.0 ^8.0
3.1+ ^4.4 || ^5.0 ^7.4 || ^8.0
3.0 ^4.4 || ^5.0 ^7.2

Contributing

Feel free to contribute, like sending pull requests to add features/tests or creating issues :)

Note there are a few helpers to maintain code quality, that you can run using these commands:

composer cs:dry # Code style check
composer phpstan # Static analysis
vendor/bin/phpunit # Run tests

Docs are built using mkdocs. To launch the docs server locally, run make docs-start & open http://127.0.0.1:8000/.

History

This bundle is a maintained fork of the SnowcapCore Bundle: https://github.com/snowcap/SnowcapCoreBundle