badger / badger-cms
PHP CMS boilerplate for symfony developers
This package's canonical repository appears to be gone and the package has been frozen as a result.
dev-master
2020-05-08 08:48 UTC
Requires
- php: ^7.3
- ext-ctype: *
- ext-iconv: *
- ext-json: *
- ext-openssl: *
- ext-pdo: *
- beberlei/assert: ^3.2
- doctrine/doctrine-bundle: ^1.9
- doctrine/doctrine-migrations-bundle: ^1.3
- doctrine/orm: ^2.6
- friendsofsymfony/jsrouting-bundle: ^2.3
- guzzlehttp/guzzle: ^6.3
- knplabs/knp-menu-bundle: ^2.2
- league/tactician-bundle: ^1.1
- league/tactician-command-events: ^0.6.0
- liip/imagine-bundle: ^2.1
- php-http/guzzle6-adapter: 1.1.1
- php-http/httplug-bundle: ^1.15
- ramsey/uuid: ^3.7
- ramsey/uuid-doctrine: ^1.4
- sensiolabs/security-checker: ^5.0
- stof/doctrine-extensions-bundle: ^1.3
- symfony/asset: ^4.1
- symfony/console: ^4.1
- symfony/debug-pack: ^1.0
- symfony/flex: ^1.0
- symfony/form: ^4.1
- symfony/framework-bundle: ^4.3
- symfony/options-resolver: ^4.1
- symfony/security-bundle: ^4.1
- symfony/swiftmailer-bundle: ^3.2
- symfony/templating: ^4.1
- symfony/translation: ^4.1
- symfony/validator: ^4.1
- symfony/yaml: ^4.1
- tetranz/select2entity-bundle: ^2.9
- twig/extensions: ^1.5
- white-october/pagerfanta-bundle: ^1.2
Requires (Dev)
- ext-apcu: *
- dama/doctrine-test-bundle: ^5.0
- doctrine/doctrine-fixtures-bundle: ^3.0
- symfony/browser-kit: ^4.1
- symfony/css-selector: ^4.1
- symfony/dotenv: ^4.1
- symfony/phpunit-bridge: ^4.1
Conflicts
This package is not auto-updated.
Last update: 2024-03-05 01:45:35 UTC
README
Install on dev
`git clone
`- run:
`
docker-compose up -d`
and set vhost based on docker-compose.yml and docker network info - or use dc tool:
`
dc up`
- run:
go to docker bash
`
dc bashand run
sh setup.sh`
(before setup it's good to customize paths and names described in Customize project section)/admin/lgoowanie use login: admin password: admin
Profiler
Profile the app with tideways_xhprof + xhgui
- clone xhgui to src/Utils/xhgui
`
https://github.com/perftools/xhgui.git``` - go to src/Utils/xhgui and run
`
php install.php`
- copy etc/xhgui/config/config.default.php to src/Utils/xhgui/config/config.default.php
- rebuild docker containers
- change .env variable PROFILER_ENABLED set 0 or 1 (enable/disable profiling)
- run scripts what you want to profile and go to cms-xhgui.loc
Customize project
- customize paths and names in following files:
- docker-compose.yml
- .env.dist
- phunit.xml.dist
- config/packages/test/framework.yaml
Deploy to in production
- simply run
`
sh deploy_prod.sh`
and follow it