2017 © Pedro Peláez
 

symfony-bundle sonata-bundle

SMART BOOSTER Sonata setup

image

smartbooster/sonata-bundle

SMART BOOSTER Sonata setup

  • Tuesday, April 10, 2018
  • by nicolas-bastien
  • Repository
  • 1 Watchers
  • 1 Stars
  • 208 Installations
  • CSS
  • 3 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 3 Versions
  • 60 % Grown

The README.md

SMARTBOOSTER - Sonata bundle

Latest Stable Version Latest Unstable Version Total Downloads License, (*1)

CI workflow Codacy Badge GitHub contributors, (*2)

SymfonyInsight, (*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)

The Versions