cooptilleuls / cooptilleulsckeditorsonatamediabundle Goto Github PK
View Code? Open in Web Editor NEWIntegrates SonataMediaBundle for Symfony with CKEditor
Home Page: http://les-tilleuls.coop
License: MIT License
Integrates SonataMediaBundle for Symfony with CKEditor
Home Page: http://les-tilleuls.coop
License: MIT License
after click on browse server button i am getting this error :
An exception has been thrown during the rendering of a template ("unable to find the route sonata.media.admin.media.browser
") in CoopTilleulsCKEditorSonataMediaBundle:MediaAdmin:browser.html.twig at line 32.
and i am using these bundles
"sonata-project/media-bundle": "dev-master",
"tilleuls/ckeditor-sonata-media-bundle": "dev-master",
"egeloen/ckeditor-bundle": "2.*"
Does the bundle support Symfony 3.*?
I just tried it with SF 3.2 and I get the following error at the Controller/MediaAdminController.php at, browerAction line 67
The "form" extension is not enabled.
I quickly modified the line
$this->get('twig')->getExtension('form')->renderer->setTheme($formView, $this->admin->getFilterTheme());
to
$this->get('twig')->getExtension('Symfony\Bridge\Twig\Extension\FormExtension')->renderer->setTheme($formView, $this->admin->getFilterTheme());
but then I got another error at Resources/views/layout.html.twig at line 12 saying:
Block "form" on template "CoopTilleulsCKEditorSonataMediaBundle::layout.html.twig" does not exist.
I commented out the blocks (form, show, side_menu, content, title, breadcrumb) that were throwing the error, commented out some of the HTML and it kind of worked. I am able to select an image that is successfully added to the CKEditor.
Any idea why those blocks are not available from the Twig?
UPDATE
Modifying the Resources/views/layout.html.twig, I managed to make it work. So it seems that this issue is also related with a version of Sonata Admin bundle that is not compatible with the CoopTilleulsCKEditorSonataMediaBundle.
For reference, I use:
Symfony version 3.4
Bundle version : 1.0.9
When i uploaded file, i have one error "Response of server is incorrect".
@dunglas Can you please tag a new release, as latest PR merged fixes some issues with latest versions of Sonata?
Thanks
Why not adding this code into SonataMediaBundle ?
The behat code can be also added to the sandbox like other functional tests
User Deprecated: The CoopTilleuls\Bundle\CKEditorSonataMediaBundle\Admin\MediaAdminExtension class extends Sonata\AdminBundle\Admin\AdminExtension that is deprecated since version 3.1, to be removed in 4.0. Use Sonata\AdminBundle\AbstractAdminExtension instead
Hi,
recently sonata admin changed the theme, and unfortunately now the media browser is no longer working....
When attempting to use this bundle (v2.0.0) with sonata-project/admin-bundle:4.29
- we receive an error:
In MediaAdminExtension.php line 27:
!!
!! Compile Error: Declaration of CoopTilleuls\Bundle\CKEditorSonataMediaBundle
!! \Admin\MediaAdminExtension::configureRoutes(Sonata\AdminBundle\Admin\AdminI
!! nterface $admin, Sonata\AdminBundle\Route\RouteCollection $collection) must
!! be compatible with Sonata\AdminBundle\Admin\AbstractAdminExtension::config
!! ureRoutes(Sonata\AdminBundle\Admin\AdminInterface $admin, Sonata\AdminBundl
!! e\Route\RouteCollectionInterface $collection): void
!!
due to incompatibility between method signatures. The method should use RouteCollectionInterface
instead of RouteCollection
and also should have a : void
return type.
Hi,
I'am trying to get CoopTilleulsCKEditorSonataMediaBundle with command
composer require tilleuls/ckeditor-sonata-media-bundle egeloen/ckeditor-bundle
,
during installattion logs tells:
- Installing egeloen/json-builder (3.0.0)
Loading from cache
- Installing egeloen/ckeditor-bundle (6.0.1)
Loading from cache
- Installing tilleuls/ckeditor-sonata-media-bundle (v1.0.6)
Loading from cache
but I dont get the latest version.
The code in browserAction() in MediaAdminController.php:
$this->get('twig')->getExtension('form')->renderer->setTheme($formView, $this->admin->getFilterTheme());
instead of:
$this->setFormTheme($formView, $this->admin->getFilterTheme());
I tried to get this package on another machine. Result was the same.
So, how can I get the lates version with composer?
I got an issue: An exception has been thrown during the rendering of a template ("unable to find the route sonata.media.admin.media.browser") in CoopTilleulsCKEditorSonataMediaBundle:MediaAdmin:browser.html.twig at line 32.
My composer show -i:
cocur/slugify dev-master cdd2426 Converts a string into a slug.
doctrine/annotations v1.2.6 Docblock Annotations Parser
doctrine/cache v1.4.1 Caching library offering an object-oriented API for many cache backends
doctrine/collections v1.3.0 Collections Abstraction library
doctrine/common v2.5.0 Common Library for Doctrine projects
doctrine/data-fixtures v1.1.1 Data Fixtures for all Doctrine Object Managers
doctrine/dbal v2.4.4 Database Abstraction Layer
doctrine/doctrine-bundle v1.5.0 Symfony DoctrineBundle
doctrine/doctrine-cache-bundle v1.0.1 Symfony2 Bundle for Doctrine Cache
doctrine/doctrine-fixtures-bundle dev-master c5ff054 Symfony DoctrineFixturesBundle
doctrine/inflector v1.0.1 Common String Manipulations with regard to casing and singular/plural rules.
doctrine/lexer v1.0.1 Base library for a lexer that can be used in Top-Down, Recursive Descent Parsers.
doctrine/orm v2.4.7 Object-Relational-Mapper for PHP
egeloen/ckeditor-bundle 2.5.2 Provides a CKEditor integration for your Symfony2 Project.
egeloen/json-builder 1.0.3 JSON builder with escaping control for PHP 5.3+
friendsofsymfony/jsrouting-bundle dev-master fbc7c38 A pretty nice way to expose your Symfony2 routing to client applications.
friendsofsymfony/rest-bundle 1.7.1 This Bundle provides various tools to rapidly develop RESTful API's with Symfony2
friendsofsymfony/user-bundle dev-master 3efbc08 Symfony FOSUserBundle
imagine/imagine 0.6.2 Image processing for PHP 5.3
incenteev/composer-parameter-handler v2.1.1 Composer script handling your ignored parameter file
jdorn/sql-formatter v1.2.17 a PHP SQL highlighting library
jms/metadata 1.5.1 Class/method/property metadata management in PHP
jms/parser-lib 1.0.0 A library for easily creating recursive-descent parsers.
jms/serializer 0.16.0 Library for (de-)serializing data of any complexity; supports XML, JSON, and YAML.
jms/serializer-bundle 0.13.0 Allows you to easily serialize, and deserialize data of any complexity
knplabs/gaufrette v0.1.9 PHP5 library that provides a filesystem abstraction layer
knplabs/knp-menu v2.0.1 An object oriented menu library
knplabs/knp-menu-bundle v2.0.0 This bundle provides an integration of the KnpMenu library
kriswallsmith/assetic v1.2.1 Asset Management for PHP
kriswallsmith/buzz v0.14 Lightweight HTTP client
liip/imagine-bundle dev-master 64c1c43 This Bundle assists in imagine manipulation using the imagine library
michelf/php-markdown 1.5.0 PHP Markdown
monolog/monolog 1.13.1 Sends your logs to files, sockets, inboxes, databases and various web services
nelmio/api-doc-bundle 2.9.0 Generates documentation for your REST API from annotations
phpcollection/phpcollection 0.4.0 General-Purpose Collection Library for PHP
phpoption/phpoption 1.4.0 Option Type for PHP
psr/log 1.0.0 Common interface for logging libraries
sensio/distribution-bundle v3.0.30 Base bundle for Symfony Distributions
sensio/framework-extra-bundle v3.0.9 This bundle provides a way to configure your controllers with annotations
sensio/generator-bundle v2.5.3 This bundle generates code for you
sensiolabs/security-checker v2.0.5 A security checker for your composer.lock
sonata-project/admin-bundle 2.3.3 Symfony SonataAdminBundle
sonata-project/block-bundle 2.2.13 Symfony SonataBlockBundle
sonata-project/cache 1.0.6 Cache library
sonata-project/core-bundle 2.3.4 Symfony SonataCoreBundle
sonata-project/doctrine-extensions 1.0.2 Doctrine2 behavioral extensions
sonata-project/doctrine-orm-admin-bundle 2.3.2 Symfony Sonata / Integrate Doctrine ORM into the SonataAdminBundle
sonata-project/easy-extends-bundle 2.1.9 Symfony SonataEasyExtendsBundle
sonata-project/exporter 1.3.4 Lightweight Exporter library
sonata-project/intl-bundle 2.2.2 Symfony SonataIntlBundle
sonata-project/media-bundle 2.3.1 Symfony SonataMediaBundle
sonata-project/notification-bundle 2.3.0 Symfony SonataNotificationBundle
swiftmailer/swiftmailer v5.4.1 Swiftmailer, free feature-rich PHP mailer
symfony/assetic-bundle v2.6.1 Integrates Assetic into Symfony2
symfony/monolog-bundle v2.7.1 Symfony MonologBundle
symfony/swiftmailer-bundle v2.3.8 Symfony SwiftmailerBundle
symfony/symfony v2.6.9 The Symfony PHP framework
tilleuls/ckeditor-sonata-media-bundle dev-master 2b7d5ef Integrates SonataMediaBundle with CKEditor
twig/extensions v1.2.0 Common additional features for Twig that do not directly belong in core
twig/twig v1.18.2 Twig, the flexible, fast, and secure template language for PHP
willdurand/jsonp-callback-validator v1.1.0 JSONP callback validator.
willdurand/negotiation 1.3.4 Content Negotiation tools for PHP provided as a standalone library.
My routing.yml:
admin:
resource: '@SonataAdminBundle/Resources/config/routing/sonata_admin.xml'
prefix: /admin
_sonata_admin:
resource: .
type: sonata_admin
prefix: /admin
I try to install this bundle but it fails when trying to generate the application bundle with easy extends :
php app/console sonata:easy-extends:generate CoopTilleulsCKEditorSonataMediaBundle --dest=src
CoopTilleuls\Bundle\CKEditorSonataMediaBundle\CoopTilleulsCKEditorSonataMediaBundle : wrong folder structure
done!
This error is triggered byt Easyextends : GenerateCommand L106
The problems comes from your namespace :
CoopTilleuls/Bundle/CKEditorSonataMediaBundle
should be CoopTilleuls/CKEditorSonataMediaBundle
have a look at Sonata\EasyExtendsBundle\Bundle\BundleMetadata::buildInformation()
When I paste the full configuration options, an exception is thrown when I want to browse media.
Template reference "CoopTilleulsCKEditorSonataMediaBundle:MediaAdmin:browser.html.twig" not found, did you mean "@CoopTilleulsCKEditorSonataMedia/MediaAdmin/browser.html.twig"?
As it was merged into SonataFormatterBundle 2.3.1 by sonata-project/SonataFormatterBundle#46, we need to had a disclaimer about that.
Would it be possible to remove bundle inheritance so it can be compatible with symfony 4?
Hi,
Is it possible to use a specified format automatically when uploading images? For example, I upload high res images, which aren't suitable for displaying inline in a web page, and Sonata Media Bundle resizes them to small, medium, and large. Is it possible to have it use the medium size as soon as the image is uploaded?
Cheers
Still getting this route error none of the solutions in #13 fixes it
config.yml
sonata_media:
class:
media: CmsBundle\Document\Media
gallery: CmsBundle\Document\Gallery
default_context: default
db_driver: doctrine_mongodb
contexts:
default:
providers:
- sonata.media.provider.dailymotion
- sonata.media.provider.youtube
- sonata.media.provider.image
- sonata.media.provider.file
formats:
small: { width: 100 , quality: 70}
big: { width: 500 , quality: 70}
cdn:
server:
path: /uploads/media
filesystem:
local:
directory: %kernel.root_dir%/../web/uploads/media
create: false
route.yml
# Admin
admin:
resource: '@SonataAdminBundle/Resources/config/routing/sonata_admin.xml'
prefix: /admin
_sonata_admin:
resource: .
type: sonata_admin
prefix: /admin
gallery:
resource: '@SonataMediaBundle/Resources/config/routing/gallery.xml'
prefix: /media/gallery
media:
resource: '@SonataMediaBundle/Resources/config/routing/media.xml'
prefix: /media
php app/console debug:router
[router] Current routes
Name Method Scheme Host Path
sonata_admin_redirect ANY ANY ANY /admin/
sonata_admin_dashboard ANY ANY ANY /admin/dashboard
sonata_admin_retrieve_form_element ANY ANY ANY /admin/core/get-form-field-element
sonata_admin_append_form_element ANY ANY ANY /admin/core/append-form-field-element
sonata_admin_short_object_information ANY ANY ANY /admin/core/get-short-object-description.{_format}
sonata_admin_set_object_field_value ANY ANY ANY /admin/core/set-object-field-value
sonata_admin_search ANY ANY ANY /admin/search
sonata_admin_retrieve_autocomplete_items ANY ANY ANY /admin/core/get-autocomplete-items
admin_cms_media_list ANY ANY ANY /admin/cms/media/list
admin_cms_media_create ANY ANY ANY /admin/cms/media/create
admin_cms_media_batch ANY ANY ANY /admin/cms/media/batch
admin_cms_media_edit ANY ANY ANY /admin/cms/media/{id}/edit
admin_cms_media_delete ANY ANY ANY /admin/cms/media/{id}/delete
admin_cms_media_show ANY ANY ANY /admin/cms/media/{id}/show
admin_cms_media_export ANY ANY ANY /admin/cms/media/export
admin_cms_media_browser ANY ANY ANY /admin/cms/media/browser
admin_cms_media_upload ANY ANY ANY /admin/cms/media/upload
admin_cms_media_ckeditor_browser ANY ANY ANY /admin/cms/media/ckeditor_browser
admin_cms_media_ckeditor_upload ANY ANY ANY /admin/cms/media/ckeditor_upload
admin_cms_gallery_list ANY ANY ANY /admin/cms/gallery/list
admin_cms_gallery_create ANY ANY ANY /admin/cms/gallery/create
admin_cms_gallery_batch ANY ANY ANY /admin/cms/gallery/batch
admin_cms_gallery_edit ANY ANY ANY /admin/cms/gallery/{id}/edit
admin_cms_gallery_delete ANY ANY ANY /admin/cms/gallery/{id}/delete
admin_cms_gallery_show ANY ANY ANY /admin/cms/gallery/{id}/show
admin_cms_gallery_export ANY ANY ANY /admin/cms/gallery/export
admin_sonata_media_galleryhasmedia_list ANY ANY ANY /admin/sonata/media/galleryhasmedia/list
admin_sonata_media_galleryhasmedia_create ANY ANY ANY /admin/sonata/media/galleryhasmedia/create
admin_sonata_media_galleryhasmedia_batch ANY ANY ANY /admin/sonata/media/galleryhasmedia/batch
admin_sonata_media_galleryhasmedia_edit ANY ANY ANY /admin/sonata/media/galleryhasmedia/{id}/edit
admin_sonata_media_galleryhasmedia_delete ANY ANY ANY /admin/sonata/media/galleryhasmedia/{id}/delete
admin_sonata_media_galleryhasmedia_show ANY ANY ANY /admin/sonata/media/galleryhasmedia/{id}/show
admin_sonata_media_galleryhasmedia_export ANY ANY ANY /admin/sonata/media/galleryhasmedia/export
AppKernel.php
<?php
use Symfony\Component\HttpKernel\Kernel;
use Symfony\Component\Config\Loader\LoaderInterface;
class AppKernel extends Kernel
{
public function registerBundles()
{
$bundles = array(
new Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
new Symfony\Bundle\SecurityBundle\SecurityBundle(),
new Symfony\Bundle\TwigBundle\TwigBundle(),
new Symfony\Bundle\MonologBundle\MonologBundle(),
new Symfony\Bundle\SwiftmailerBundle\SwiftmailerBundle(),
new Symfony\Bundle\AsseticBundle\AsseticBundle(),
new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(),
new Doctrine\Bundle\MongoDBBundle\DoctrineMongoDBBundle(),
new Stof\DoctrineExtensionsBundle\StofDoctrineExtensionsBundle(),
new FOS\UserBundle\FOSUserBundle(),
new HWI\Bundle\OAuthBundle\HWIOAuthBundle(),
# Admin bundles
new Sonata\CoreBundle\SonataCoreBundle(),
new Sonata\MediaBundle\SonataMediaBundle(),
new Sonata\BlockBundle\SonataBlockBundle(),
new Knp\Bundle\MenuBundle\KnpMenuBundle(),
new JMS\SerializerBundle\JMSSerializerBundle(),
new Sonata\DoctrineMongoDBAdminBundle\SonataDoctrineMongoDBAdminBundle(),
new Sonata\AdminBundle\SonataAdminBundle(),
new Knp\Bundle\MarkdownBundle\KnpMarkdownBundle(),
new CoopTilleuls\Bundle\CKEditorSonataMediaBundle\CoopTilleulsCKEditorSonataMediaBundle(),
new Ivory\CKEditorBundle\IvoryCKEditorBundle(),
new Sonata\FormatterBundle\SonataFormatterBundle(),
new Sonata\IntlBundle\SonataIntlBundle(),
);
if (in_array($this->getEnvironment(), array('dev', 'test'))) {
$bundles[] = new JMS\DiExtraBundle\JMSDiExtraBundle($this);
$bundles[] = new JMS\AopBundle\JMSAopBundle();
$bundles[] = new Symfony\Bundle\DebugBundle\DebugBundle();
$bundles[] = new Symfony\Bundle\WebProfilerBundle\WebProfilerBundle();
$bundles[] = new Sensio\Bundle\DistributionBundle\SensioDistributionBundle();
$bundles[] = new Sensio\Bundle\GeneratorBundle\SensioGeneratorBundle();
$bundles[] = new IsmaAmbrosi\Bundle\GeneratorBundle\IsmaAmbrosiGeneratorBundle();
$bundles[] = new Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle();
$bundles[] = new JMS\TranslationBundle\JMSTranslationBundle();
}
return $bundles;
}
public function registerContainerConfiguration(LoaderInterface $loader)
{
$loader->load($this->getRootDir().'/config/config_'.$this->getEnvironment().'.yml');
}
}
We are trying to integrate this with Sonata Media Bundle and CKEditor 4. Is this project still active? Once Sonata Media Bundle is compatible with Symfony 5, is there going to be an update?
Hi Dunglas
First of all thanx for this integration of CKeditor in Sonata media.
I m tring to install CoopTilleulsCKEditorSonataMediaBundle with already existent ApplicationSonataMediaBundle in src/ folder (from a similar installation of Sonata sandbox verion).
And as Explained in your guide I extends ApplicationSonataMediaBundle with
getParent(){ return 'CoopTilleulsCKEditorSonataMediaBundle';}
Now I m using the existent Formatter block in sonata-blocks that use CKEditor with the "Explorer le serveur" button to integrate Sonata Media library. But this button is not present.
Should I miss something?
Can you please explain me your installation?
Thanx in advance
Not sure if this is a bug, but we can't seem to get the images to reorder by creation date. Is there some way of getting this field into the grid at least?
I've integrated the latest versions of the following bundles:
"sonata-project/media-bundle": "dev-master",
"egeloen/ckeditor-bundle": "dev-master",
"tilleuls/ckeditor-sonata-media-bundle": "dev-master
and I get the following error when trying to browse the media files within the CKEditor:
Key "provider" for array with keys "context, category, hide_context" does not exist in CoopTilleulsCKEditorSonataMediaBundle:MediaAdmin:browser.html.twig at line 47
This seems to be related to a change of the MediaBundle introduced with this commit where the provider entry got removed from the parameters array.
I am trying to use this bundle with Symfony 2.4.2 but the composer file specifies "symfony/symfony": ">=2.2,<2.4-dev",
Can this be changed to work with the current release of Symfony?
From documentation i can't understand how use this bundle.
I have configured it (using information from issues).
But it has a lot of dependencies to Sonata.
Can i use this bundle without Sonata Admin? How i can do this?
Hi,
On open window to insert image in CKEditor
http://127.0.0.1:8000/admin/sonata/media/media/browser?provider=sonata.media.provider.image&context=editor&CKEditor=question_data_text&CKEditorFuncNum=89&langCode=pt-br
$ composer show --latest 'tilleuls/*'
tilleuls/ckeditor-sonata-media-bundle v1.0.8 v1.0.8 Integrates SonataMediaBundle with CKEditor
$ php -v
PHP 7.2.7 (cli) (built: Jun 24 2018 18:52:09) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
with Xdebug v2.6.0, Copyright (c) 2002-2018, by Derick Rethans
$ composer show --latest 'sonata-project/*'
sonata-project/admin-bundle 3.35.2 3.35.2 The missing Symfony Admin Generator
sonata-project/block-bundle 3.12.1 3.12.1 Symfony SonataBlockBundle
sonata-project/cache 2.0.1 2.0.1 Cache library
sonata-project/core-bundle 3.10.0 3.10.0 Symfony SonataCoreBundle
sonata-project/datagrid-bundle 2.3.1 2.3.1 Symfony SonataDatagridBundle
sonata-project/doctrine-extensions 1.0.2 1.0.2 Doctrine2 behavioral extensions
sonata-project/doctrine-orm-admin-bundle 3.6.1 3.6.1 Symfony Sonata / Integrate Doctrine ORM into the SonataAdminBundle
sonata-project/easy-extends-bundle 2.5.0 2.5.0 Symfony SonataEasyExtendsBundle
sonata-project/exporter 1.9.0 1.9.0 Lightweight Exporter library
sonata-project/media-bundle 3.13.1 3.13.1 Symfony SonataMediaBundle
sonata-project/user-bundle 4.2.2 4.2.2 Symfony SonataUserBundle
$ composer show --latest 'symfony/*'
symfony/asset v4.1.0 v4.1.1 Symfony Asset Component
symfony/browser-kit v4.1.0 v4.1.1 Symfony BrowserKit Component
symfony/cache v4.1.0 v4.1.1 Symfony Cache component with PSR-6, PSR-16, and tags
symfony/class-loader v3.4.11 v3.4.12 Symfony ClassLoader Component
symfony/config v4.1.0 v4.1.1 Symfony Config Component
symfony/console v4.1.0 v4.1.1 Symfony Console Component
symfony/css-selector v4.1.0 v4.1.1 Symfony CssSelector Component
symfony/debug v4.1.0 v4.1.1 Symfony Debug Component
symfony/debug-bundle v4.1.0 v4.1.1 Symfony DebugBundle
symfony/debug-pack v1.0.5 v1.0.5 A debug pack for Symfony projects
symfony/dependency-injection v4.1.0 v4.1.1 Symfony DependencyInjection Component
symfony/doctrine-bridge v4.1.0 v4.1.1 Symfony Doctrine Bridge
symfony/dom-crawler v4.1.0 v4.1.1 Symfony DomCrawler Component
symfony/dotenv v4.1.0 v4.1.1 Registers environment variables from a .env file
symfony/event-dispatcher v4.1.0 v4.1.1 Symfony EventDispatcher Component
symfony/expression-language v4.1.0 v4.1.1 Symfony ExpressionLanguage Component
symfony/filesystem v4.1.0 v4.1.1 Symfony Filesystem Component
symfony/finder v4.1.0 v4.1.1 Symfony Finder Component
symfony/flex v1.0.80 v1.0.80
symfony/form v4.1.0 v4.1.1 Symfony Form Component
symfony/framework-bundle v4.1.0 v4.1.1 Symfony FrameworkBundle
symfony/http-foundation v4.1.0 v4.1.1 Symfony HttpFoundation Component
symfony/http-kernel v4.1.0 v4.1.1 Symfony HttpKernel Component
symfony/inflector v4.1.0 v4.1.1 Symfony Inflector Component
symfony/intl v4.1.0 v4.1.1 A PHP replacement layer for the C intl extension that includes addi...
symfony/lts dev-master 6de50b2 dev-master 6de50b2 Enforces Long Term Supported versions of Symfony components
symfony/maker-bundle v1.5.0 v1.5.0 Symfony Maker helps you create empty commands, controllers, form cl...
symfony/monolog-bridge v4.1.0 v4.1.1 Symfony Monolog Bridge
symfony/monolog-bundle v3.3.0 v3.3.0 Symfony MonologBundle
symfony/options-resolver v4.1.0 v4.1.1 Symfony OptionsResolver Component
symfony/orm-pack v1.0.5 v1.0.5 A pack for the Doctrine ORM
symfony/phpunit-bridge v4.1.0 v4.1.1 Symfony PHPUnit Bridge
symfony/polyfill-ctype v1.8.0 v1.8.0 Symfony polyfill for ctype functions
symfony/polyfill-intl-icu v1.8.0 v1.8.0 Symfony polyfill for intl's ICU-related data and classes
symfony/polyfill-mbstring v1.8.0 v1.8.0 Symfony polyfill for the Mbstring extension
symfony/polyfill-php72 v1.8.0 v1.8.0 Symfony polyfill backporting some PHP 7.2+ features to lower PHP ve...
symfony/process v4.1.0 v4.1.1 Symfony Process Component
symfony/profiler-pack v1.0.3 v1.0.3 A pack for the Symfony web profiler
symfony/property-access v4.1.0 v4.1.1 Symfony PropertyAccess Component
symfony/property-info v4.1.0 v4.1.1 Symfony Property Info Component
symfony/routing v4.1.0 v4.1.1 Symfony Routing Component
symfony/security v4.1.0 v4.1.1 Symfony Security Component
symfony/security-acl v3.0.1 v3.0.1 Symfony Security Component - ACL (Access Control List)
symfony/security-bundle v4.1.0 v4.1.1 Symfony SecurityBundle
symfony/serializer v4.1.0 v4.1.1 Symfony Serializer Component
symfony/serializer-pack v1.0.1 v1.0.1 A pack for the Symfony serializer
symfony/stopwatch v4.1.0 v4.1.1 Symfony Stopwatch Component
symfony/swiftmailer-bundle v3.2.2 v3.2.2 Symfony SwiftmailerBundle
symfony/templating v4.1.0 v4.1.1 Symfony Templating Component
symfony/translation v4.1.0 v4.1.1 Symfony Translation Component
symfony/twig-bridge v4.1.0 v4.1.1 Symfony Twig Bridge
symfony/twig-bundle v4.1.0 v4.1.1 Symfony TwigBundle
symfony/validator v4.1.0 v4.1.1 Symfony Validator Component
symfony/var-dumper v4.1.0 v4.1.1 Symfony mechanism for exploring and dumping PHP variables
symfony/web-link v4.1.0 v4.1.1 Symfony WebLink Component
symfony/web-profiler-bundle v4.1.0 v4.1.1 Symfony WebProfilerBundle
symfony/web-server-bundle v4.1.0 v4.1.1 Symfony WebServerBundle
symfony/webpack-encore-pack v1.0.2 v1.0.2 A pack for Symfony Encore
symfony/yaml v4.1.0 v4.1.1 Symfony Yaml Component
Name Method Scheme Host Path
sonata_admin_redirect ANY ANY ANY /admin/
sonata_admin_dashboard ANY ANY ANY /admin/dashboard
sonata_admin_retrieve_form_element ANY ANY ANY /admin/core/get-form-field-element
sonata_admin_append_form_element ANY ANY ANY /admin/core/append-form-field-element
sonata_admin_short_object_information ANY ANY ANY /admin/core/get-short-object-description.{_format}
sonata_admin_set_object_field_value ANY ANY ANY /admin/core/set-object-field-value
sonata_admin_search ANY ANY ANY /admin/search
sonata_admin_retrieve_autocomplete_items ANY ANY ANY /admin/core/get-autocomplete-items
admin_app_goods_list ANY ANY ANY /admin/app/goods/list
admin_app_goods_create ANY ANY ANY /admin/app/goods/create
admin_app_goods_batch ANY ANY ANY /admin/app/goods/batch
admin_app_goods_edit ANY ANY ANY /admin/app/goods/{id}/edit
admin_app_goods_delete ANY ANY ANY /admin/app/goods/{id}/delete
admin_app_goods_show ANY ANY ANY /admin/app/goods/{id}/show
admin_app_goods_export ANY ANY ANY /admin/app/goods/export
admin_app_category_list ANY ANY ANY /admin/app/category/list
admin_app_category_create ANY ANY ANY /admin/app/category/create
admin_app_category_batch ANY ANY ANY /admin/app/category/batch
admin_app_category_edit ANY ANY ANY /admin/app/category/{id}/edit
admin_app_category_delete ANY ANY ANY /admin/app/category/{id}/delete
admin_app_category_show ANY ANY ANY /admin/app/category/{id}/show
admin_app_category_export ANY ANY ANY /admin/app/category/export
admin_app_cash_list ANY ANY ANY /admin/app/cash/list
admin_app_cash_create ANY ANY ANY /admin/app/cash/create
admin_app_cash_batch ANY ANY ANY /admin/app/cash/batch
admin_app_cash_edit ANY ANY ANY /admin/app/cash/{id}/edit
admin_app_cash_delete ANY ANY ANY /admin/app/cash/{id}/delete
admin_app_cash_show ANY ANY ANY /admin/app/cash/{id}/show
admin_app_cash_export ANY ANY ANY /admin/app/cash/export
admin_app_exchange_list ANY ANY ANY /admin/app/exchange/list
admin_app_exchange_create ANY ANY ANY /admin/app/exchange/create
admin_app_exchange_batch ANY ANY ANY /admin/app/exchange/batch
admin_app_exchange_edit ANY ANY ANY /admin/app/exchange/{id}/edit
admin_app_exchange_delete ANY ANY ANY /admin/app/exchange/{id}/delete
admin_app_exchange_show ANY ANY ANY /admin/app/exchange/{id}/show
admin_app_exchange_export ANY ANY ANY /admin/app/exchange/export
admin_app_member_list ANY ANY ANY /admin/app/member/list
admin_app_member_create ANY ANY ANY /admin/app/member/create
admin_app_member_batch ANY ANY ANY /admin/app/member/batch
admin_app_member_edit ANY ANY ANY /admin/app/member/{id}/edit
admin_app_member_delete ANY ANY ANY /admin/app/member/{id}/delete
admin_app_member_show ANY ANY ANY /admin/app/member/{id}/show
admin_app_member_export ANY ANY ANY /admin/app/member/export
admin_app_trade_list ANY ANY ANY /admin/app/trade/list
admin_app_trade_create ANY ANY ANY /admin/app/trade/create
admin_app_trade_batch ANY ANY ANY /admin/app/trade/batch
admin_app_trade_edit ANY ANY ANY /admin/app/trade/{id}/edit
admin_app_trade_delete ANY ANY ANY /admin/app/trade/{id}/delete
admin_app_trade_show ANY ANY ANY /admin/app/trade/{id}/show
admin_app_trade_export ANY ANY ANY /admin/app/trade/export
admin_app_wechatconfig_list ANY ANY ANY /admin/app/wechatconfig/list
admin_app_wechatconfig_create ANY ANY ANY /admin/app/wechatconfig/create
admin_app_wechatconfig_batch ANY ANY ANY /admin/app/wechatconfig/batch
admin_app_wechatconfig_edit ANY ANY ANY /admin/app/wechatconfig/{id}/edit
admin_app_wechatconfig_delete ANY ANY ANY /admin/app/wechatconfig/{id}/delete
admin_app_wechatconfig_show ANY ANY ANY /admin/app/wechatconfig/{id}/show
admin_app_wechatconfig_export ANY ANY ANY /admin/app/wechatconfig/export
admin_app_pointsconfig_list ANY ANY ANY /admin/app/pointsconfig/list
admin_app_pointsconfig_create ANY ANY ANY /admin/app/pointsconfig/create
admin_app_pointsconfig_batch ANY ANY ANY /admin/app/pointsconfig/batch
admin_app_pointsconfig_edit ANY ANY ANY /admin/app/pointsconfig/{id}/edit
admin_app_pointsconfig_delete ANY ANY ANY /admin/app/pointsconfig/{id}/delete
admin_app_pointsconfig_show ANY ANY ANY /admin/app/pointsconfig/{id}/show
admin_app_pointsconfig_export ANY ANY ANY /admin/app/pointsconfig/export
admin_sonata_media_media_list ANY ANY ANY /admin/sonata/media/media/list
admin_sonata_media_media_create ANY ANY ANY /admin/sonata/media/media/create
admin_sonata_media_media_batch ANY ANY ANY /admin/sonata/media/media/batch
admin_sonata_media_media_edit ANY ANY ANY /admin/sonata/media/media/{id}/edit
admin_sonata_media_media_delete ANY ANY ANY /admin/sonata/media/media/{id}/delete
admin_sonata_media_media_show ANY ANY ANY /admin/sonata/media/media/{id}/show
admin_sonata_media_media_export ANY ANY ANY /admin/sonata/media/media/export
admin_sonata_media_media_browser ANY ANY ANY /admin/sonata/media/media/browser
admin_sonata_media_media_upload ANY ANY ANY /admin/sonata/media/media/upload
admin_sonata_media_gallery_list ANY ANY ANY /admin/sonata/media/gallery/list
admin_sonata_media_gallery_create ANY ANY ANY /admin/sonata/media/gallery/create
admin_sonata_media_gallery_batch ANY ANY ANY /admin/sonata/media/gallery/batch
admin_sonata_media_gallery_edit ANY ANY ANY /admin/sonata/media/gallery/{id}/edit
admin_sonata_media_gallery_delete ANY ANY ANY /admin/sonata/media/gallery/{id}/delete
admin_sonata_media_gallery_show ANY ANY ANY /admin/sonata/media/gallery/{id}/show
admin_sonata_media_gallery_export ANY ANY ANY /admin/sonata/media/gallery/export
admin_sonata_media_galleryhasmedia_list ANY ANY ANY /admin/sonata/media/galleryhasmedia/list
admin_sonata_media_galleryhasmedia_create ANY ANY ANY /admin/sonata/media/galleryhasmedia/create
admin_sonata_media_galleryhasmedia_batch ANY ANY ANY /admin/sonata/media/galleryhasmedia/batch
admin_sonata_media_galleryhasmedia_edit ANY ANY ANY /admin/sonata/media/galleryhasmedia/{id}/edit
admin_sonata_media_galleryhasmedia_delete ANY ANY ANY /admin/sonata/media/galleryhasmedia/{id}/delete
admin_sonata_media_galleryhasmedia_show ANY ANY ANY /admin/sonata/media/galleryhasmedia/{id}/show
admin_sonata_media_galleryhasmedia_export ANY ANY ANY /admin/sonata/media/galleryhasmedia/export
_twig_error_test ANY ANY ANY /_error/{code}.{_format}
_wdt ANY ANY ANY /_wdt/{token}
_profiler_home ANY ANY ANY /_profiler/
_profiler_search ANY ANY ANY /_profiler/search
_profiler_search_bar ANY ANY ANY /_profiler/search_bar
_profiler_phpinfo ANY ANY ANY /_profiler/phpinfo
_profiler_search_results ANY ANY ANY /_profiler/{token}/search/results
_profiler_open_file ANY ANY ANY /_profiler/open
_profiler ANY ANY ANY /_profiler/{token}
_profiler_router ANY ANY ANY /_profiler/{token}/router
_profiler_exception ANY ANY ANY /_profiler/{token}/exception
_profiler_exception_css ANY ANY ANY /_profiler/{token}/exception.css
sonata_media_gallery_index ANY ANY ANY /media/gallery/
sonata_media_gallery_view ANY ANY ANY /media/gallery/view/{id}
sonata_media_view ANY ANY ANY /media/view/{id}/{format}
sonata_media_download ANY ANY ANY /media/download/{id}/{format}
have the route admin_sonata_media_media_browser but in use this get a problem show: Method browserAction does not exist.
config in fos_editor.yaml
twig:
form_themes:
- '@FOSCKEditor/Form/ckeditor_widget.html.twig'
fos_ck_editor:
default_config: my_config
base_path: "build/ckeditor"
js_path: "build/ckeditor/ckeditor.js"
configs:
my_config:
language: zh_CN
toolbar: full
filebrowserBrowseRoute: admin_sonata_media_media_browser
filebrowserImageBrowseRoute: admin_sonata_media_media_browser
# Display images by default when clicking the image dialog browse button
filebrowserImageBrowseRouteParameters:
provider: sonata.media.provider.image
filebrowserUploadRoute: admin_sonata_media_media_upload
filebrowserUploadRouteParameters:
provider: sonata.media.provider.file
# Upload file as image when sending a file from the image dialog
filebrowserImageUploadRoute: admin_sonata_media_media_upload
filebrowserImageUploadRouteParameters:
provider: sonata.media.provider.image
context: default # Optional, to upload in a custom context
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.