This commit is contained in:
2025-08-02 22:07:57 +02:00
parent 7547e11d39
commit d7a36aca4c
7 changed files with 84 additions and 8 deletions

View File

@ -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

View File

@ -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",

72
composer.lock generated
View File

@ -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",

View File

@ -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],
];

View File

@ -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

View File

@ -6,4 +6,8 @@ controllers:
bninefilesbundle:
resource: '@BnineFilesBundle/config/routes.yaml'
prefix: '/bninefiles'
prefix: '/bninefiles'
bninemdeditorbundle:
resource: '@BnineMdEditorBundle/config/routes.yaml'
prefix: '/bninemdeditor'

View File

@ -5,6 +5,9 @@
"bnine/filesbundle": {
"version": "v1.0.4"
},
"bnine/mdeditorbundle": {
"version": "v0.1.1"
},
"doctrine/deprecations": {
"version": "1.1",
"recipe": {