Download the PHP package sedona/sbo without Composer
On this page you can find all versions of the php package sedona/sbo. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package sbo
Sedona Back Office
Installation
Requirements
- Symfony 2.7 mini, compatible with Symfony 3
Step 1: Download the Bundles
Open a command console, enter your project directory and execute the following command to download the latest version of this bundle:
This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.
Step 2: Enable the Bundles
Then, enable the bundle by adding it to the list of registered bundles
in the app/AppKernel.php
file of your project, if you don't use them
already, you also need to add a few more bundles:
Step 3: Create a base layout
Create a template app/Resources/views/layout_admin.html.twig
Step 4: Add some basic configuration
Add in routing.yml
admin:
resource: "@AppBundle/Controller/Admin"
type: annotation
prefix: /admin
fos_js_routing:
resource: "@FOSJsRoutingBundle/Resources/config/routing/routing.xml"
Add in config.yml
jms_di_extra:
locations:
all_bundles: false
bundles: [SedonaSBOTestBundle]
directories: ["%kernel.root_dir%/../src"]
And activate translation in it by uncommenting
translator: { fallback: "%locale%" }
Generator usage
php app/console sbo:generate:crud --entity SedonaSBOTestBundle:Track --with-write --overwrite
To be working, each Entity should have its __toString() method declared.
Association fields OneToMany are created but commented by default:
- in datatable: before uncommenting, the column name should be changed (entity.name by default)
- in form: only entities with few lines should be uncommented, for long datas, should be replaced by a select2
Credits
Sedona Back Office is created and maintained by Sedona http://www.sedona.fr
It is available under the MIT Licence, more details in the LICENCE file.
We would like to thanks the authors of the different libraries and bundle used in this solution.
- SBOGeneratorBundle is based on SensioGeneratorBundle from SensioLabs https://github.com/sensiolabs/SensioGeneratorBundle
- SBORuntimeBundle extends AvanzuAdminThemeBundle from Avanzu https://github.com/avanzu/AdminThemeBundle which is a Symfony implementation of the AdminLTE template from Almsaeed Studio https://github.com/almasaeed2010/AdminLTE
- Genererated Datatable use SgDatatablesBundle from Stwe https://github.com/stwe/DatatablesBundle which implements JQuery Datatable https://datatables.net/
All versions of sbo with dependencies
doctrine/orm Version ^2.4.8
doctrine/doctrine-bundle Version ~1.4
twig/extensions Version ^1.3
symfony/symfony Version ~2.7|~3.0
symfony/assetic-bundle Version ~2.3|~3.0
symfony/monolog-bundle Version ~2.4|~3.0
friendsofsymfony/jsrouting-bundle Version ^1.5
jms/di-extra-bundle Version ~1.5
trsteel/ckeditor-bundle Version ~1.8
helios-ag/fm-elfinder-bundle Version ~6.0
datatables/datatables Version ^1.10
knplabs/knp-menu-bundle Version ~2.0
knplabs/knp-paginator-bundle Version ~2.4
avanzu/admin-theme-bundle Version ~1.3
sg/datatablesbundle Version ^0.10.0
moment/moment Version ^2.10
eonasdan/bootstrap-datetimepicker Version ~4.0
select2/select2 Version ~3.5.4
exercise/htmlpurifier-bundle Version ^0.2.3
jquery-form/form Version ^4.2