leapt/core-bundle

Symfony LeaptCoreBundle

Installs: 21 170

Dependents: 3

Suggesters: 1

Security: 0

Stars: 22

Watchers: 3

Forks: 6

Open Issues: 11

Type:symfony-bundle

v5.1.0 2024-02-08 07:43 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 (5.x) of the bundle works with Symfony 6.4 & Symfony 7.0+. The project follows SemVer.

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

CoreBundle version Symfony version PHP version
5.x ^6.4 || ^7.0 ^8.2
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 cs:fix # Fix code style
composer phpstan # Static analysis
composer phpunit # Run tests

# Or run all cs:dry, phpstan & phpunit scripts using the following:
composer ci

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