smartbooster / sonata-bundle
SMART BOOSTER Sonata setup
Installs: 9 614
Dependents: 4
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 2
Type:symfony-bundle
Requires
- php: ^8.1
- doctrine/doctrine-fixtures-bundle: ^3.4
- nelmio/security-bundle: ^2.8 || ^3.0
- sentry/sentry-symfony: ^4.1
- smartbooster/core-bundle: ^1.9.0
- sonata-project/doctrine-orm-admin-bundle: ^4.2
- sonata-project/intl-bundle: ^2.12 || ^3.0
- symfony/expression-language: ^4.4 || ^5.4 || ^6.0
- symfony/mailer: ^5.4 || ^6.4
- symfony/property-info: ^5.4 || ^6.4
- symfony/security-core: ^5.4 || ^6.4
- symfony/security-http: ^5.4 || ^6.4
- symfony/webpack-encore-bundle: ^1.15 || ^2.0
- theofidry/alice-data-fixtures: ^1.5
- vich/uploader-bundle: ^1.19 || ^2.3
- yokai/enum-bundle: ^4.1
- yokai/security-token-bundle: ^3.3
Requires (Dev)
- smartbooster/standard-bundle: ^1.0
- symfony/browser-kit: ^5.4|^6.2
- symfony/flex: ^2
- symfony/phpunit-bridge: ^5.4|^6.2
- symfony/runtime: ^5.4|^6.2
- symfony/twig-bundle: ^5.4|^6.2
- v2.8.1
- v2.8.0
- v2.7.0
- v2.6.0
- v2.5.0
- v2.4.0
- v2.3.0
- v2.2.0
- dev-master / 2.1.x-dev
- v2.1.1
- v2.1.0
- 2.0.x-dev
- v2.0.1
- v2.0.0
- v1.5.1
- v1.5.0
- v1.4.9
- v1.4.8
- v1.4.7
- v1.4.6
- v1.4.5
- v1.4.4
- v1.4.3
- v1.4.2
- v1.4.1
- v1.4.0
- v1.3.3
- v1.3.2
- v1.3.1
- v1.3.0
- v1.1.4
- v1.1.3
- v1.1.2
- v1.1.1
- v1.1.0
- 1.0.x-dev
- v1.0.0
- dev-refacto_documentation_controller
- dev-twig_into_doc
- dev-import
This package is auto-updated.
Last update: 2025-01-02 10:55:13 UTC
README
Installation
Add the bundle as dependency with Composer
composer require smartbooster/sonata-bundle
Put this configuration inside your config/packages/smart_sonata.yaml
smart_sonata: sender: address: 'project@example.com'
Check full configuration reference here
Enable the bundle in the kernel
<?php return [ Smart\SonataBundle\SmartSonataBundle::class => ['all' => true], ];
Add frontend dependencies
yarn add bootstrap-sass --dev
Include styles
# Copy and customize your colors
cp smartbooster/sonata-bundle/assets/styles/_variables.scss assets/admin/styles/_variables.scss
# Incluse smart sonata styles in your file (ex: assets/admin/styles/main.scss)
@import "variables";
@import 'smartbooster/sonata-bundle/assets/styles/main';
Tailwind
Check the Tailwind documentation to enable it and use our tailwind templates.
What's inside !
- Default styles for sonata admin
- Mailer component with an autogenerated documentation of all emails
- Basic security class to handle User model in your database and controller actions for
- login
- forgot and reset password
- a profile for the sonata admin interface
- subscriber to handle automatically last login date
- Provide an easy way to administrate your app parameters through each environment with the following tools :
- A configuration template to define all parameters that need to exist in your application with their default value
- A Command to use on CD to generate missing parameters
- A Parameter Entity to store your parameters in database
- An Admin to easily edit the value of your parameters and more data related to them
Contributing
Pull requests are welcome.
Thanks to everyone who has contributed already.
This project is supported by SmartBooster