diff --git a/compose.yaml b/compose.yaml index 22ece37..4fa64e4 100644 --- a/compose.yaml +++ b/compose.yaml @@ -32,6 +32,8 @@ services: - ./public/lib:/app/public/lib:delegated - ./.env.local:/app/.env.local - ./vendor:/app/vendor:delegated + - ./public/bundles:/app/public/bundles:delegated + adminer: image: adminer diff --git a/composer.json b/composer.json index c201f41..419c0b0 100644 --- a/composer.json +++ b/composer.json @@ -3,12 +3,19 @@ "license": "proprietary", "minimum-stability": "stable", "prefer-stable": true, + "repositories": [ + { + "type": "vcs", + "url": "https://github.com/afornerot/bNine-MdEditorBundle" + } + ], "require": { "php": ">=8.2", "ext-ctype": "*", "ext-iconv": "*", "apereo/phpcas": "^1.6", "bnine/filesbundle": "^1.0", + "bnine/mdeditorbundle": "*", "doctrine/dbal": "^3", "doctrine/doctrine-bundle": "^2.13", "doctrine/doctrine-migrations-bundle": "^3.3", diff --git a/composer.lock b/composer.lock index 13bbc1e..f85fe90 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "c51420403fb7554473719338f24959d9", + "content-hash": "6f7395c5fc09ba0bc1a2325b862a69c7", "packages": [ { "name": "apereo/phpcas", @@ -79,16 +79,16 @@ }, { "name": "bnine/filesbundle", - "version": "v1.0.4", + "version": "v1.0.6", "source": { "type": "git", "url": "https://github.com/afornerot/bNine-FilesBundle.git", - "reference": "7854b91c128e51c24c8f3d3c9864909cfdf88216" + "reference": "add22ab4bd7c7342968e901294a2990b7efc8895" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/afornerot/bNine-FilesBundle/zipball/7854b91c128e51c24c8f3d3c9864909cfdf88216", - "reference": "7854b91c128e51c24c8f3d3c9864909cfdf88216", + "url": "https://api.github.com/repos/afornerot/bNine-FilesBundle/zipball/add22ab4bd7c7342968e901294a2990b7efc8895", + "reference": "add22ab4bd7c7342968e901294a2990b7efc8895", "shasum": "" }, "require": { @@ -134,9 +134,67 @@ ], "support": { "issues": "https://github.com/afornerot/bNine-FilesBundle/issues", - "source": "https://github.com/afornerot/bNine-FilesBundle/tree/v1.0.4" + "source": "https://github.com/afornerot/bNine-FilesBundle/tree/v1.0.6" }, - "time": "2025-08-02T09:25:01+00:00" + "time": "2025-08-02T11:06:27+00:00" + }, + { + "name": "bnine/mdeditorbundle", + "version": "v0.1.5", + "source": { + "type": "git", + "url": "https://github.com/afornerot/bNine-MdEditorBundle.git", + "reference": "b5897339b8aed8f32578b3ebdf1e9ffa4ef83fa0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/afornerot/bNine-MdEditorBundle/zipball/b5897339b8aed8f32578b3ebdf1e9ffa4ef83fa0", + "reference": "b5897339b8aed8f32578b3ebdf1e9ffa4ef83fa0", + "shasum": "" + }, + "require": { + "php": "^8.1", + "symfony/framework-bundle": "^7.1" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^3.85" + }, + "suggest": { + "oneup/uploader-bundle": "^4.0" + }, + "type": "symfony-bundle", + "extra": { + "branch-alias": { + "dev-main": "1.0-dev" + } + }, + "autoload": { + "psr-4": { + "Bnine\\MdEditorBundle\\": "src/" + } + }, + "license": [ + "MIT" + ], + "authors": [ + { + "name": "afornerot", + "email": "arno.nanor@gmail.com" + } + ], + "description": "Symfony bundle for entity-based file browser and management.", + "keywords": [ + "bundle", + "editor", + "entity", + "markdown", + "symfony" + ], + "support": { + "source": "https://github.com/afornerot/bNine-MdEditorBundle/tree/v0.1.5", + "issues": "https://github.com/afornerot/bNine-MdEditorBundle/issues" + }, + "time": "2025-08-02T20:06:19+00:00" }, { "name": "brick/math", diff --git a/config/bundles.php b/config/bundles.php index bdd8cf7..40fb709 100644 --- a/config/bundles.php +++ b/config/bundles.php @@ -16,4 +16,5 @@ return [ Oneup\UploaderBundle\OneupUploaderBundle::class => ['all' => true], FOS\RestBundle\FOSRestBundle::class => ['all' => true], Bnine\FilesBundle\BnineFilesBundle::class => ['all' => true], + Bnine\MdEditorBundle\BnineMdEditorBundle::class => ['all' => true], ]; diff --git a/config/packages/twig.yaml b/config/packages/twig.yaml index e145340..64c56f0 100644 --- a/config/packages/twig.yaml +++ b/config/packages/twig.yaml @@ -5,6 +5,7 @@ twig: appName: "%appName%" paths: '%kernel.project_dir%/vendor/bnine/filesbundle/templates': BnineFilesBundle + '%kernel.project_dir%/vendor/bnine/mdeditorbundle/templates': BnineMdEditorBundle when@test: twig: strict_variables: true diff --git a/config/routes.yaml b/config/routes.yaml index c4ecfd1..0fc5af5 100644 --- a/config/routes.yaml +++ b/config/routes.yaml @@ -6,4 +6,8 @@ controllers: bninefilesbundle: resource: '@BnineFilesBundle/config/routes.yaml' - prefix: '/bninefiles' \ No newline at end of file + prefix: '/bninefiles' + +bninemdeditorbundle: + resource: '@BnineMdEditorBundle/config/routes.yaml' + prefix: '/bninemdeditor' \ No newline at end of file diff --git a/symfony.lock b/symfony.lock index dca69d4..c102a36 100644 --- a/symfony.lock +++ b/symfony.lock @@ -5,6 +5,9 @@ "bnine/filesbundle": { "version": "v1.0.4" }, + "bnine/mdeditorbundle": { + "version": "v0.1.1" + }, "doctrine/deprecations": { "version": "1.1", "recipe": {