SMARTBOOSTER - Sonata bundle
, (*1)
, (*2)
, (*3)
Installation
Add the bundle as dependency with Composer
``` bash
composer require smartbooster/sonata-bundle, (*4)
Put this configuration inside your config/packages/smart_sonata.yaml
``` yaml
smart_sonata:
sender:
address: 'project@example.com'
Check full configuration reference here, (*5)
Enable the bundle in the kernel
``` php
<?php
return [
Smart\SonataBundle\SmartSonataBundle::class => ['all' => true],
];, (*6)
### Add frontend dependencies
``` bash
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., (*7)
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., (*8)
Thanks to everyone who has contributed already., (*9)
This project is supported by SmartBooster, (*10)