Download the PHP package creative/symfony-db-i18n-bundle without Composer

On this page you can find all versions of the php package creative/symfony-db-i18n-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package symfony-db-i18n-bundle

Sometimes You have to give the visual interface of i18n message CRUD for a customer. To do this, You need to have storage, which is not under version control and allowed from a form.

I18n messages stored in database

With this bundle i18n messages stored in a database instead of files, then, you can implement web-interface to manage it.

Installation

Bundle has not (yet) a flex auto-configurator. Add

to you config/bundles.php file, and (optional) place the db_i18n.yaml with configuration (see below) file to your config directory.

Some rules:

So, now you can load messages from old translation files to the database. Command

will import all messages from [project root]/translations/messages.en.yaml. You can set absolute path instead, nevermind, but file name must be compatible with Symfony localization files agreement — <domain>.<locale>.<format>.

After (or instead of) that, make your forms/interfaces and add, change and so on with your messages.

Defaults

Default config is

Copy this wherever you want and modify.

As you can see, the default messages domain is db_messages. If you want to override this and store default Symfony domain messages in a database, don't forget to remove (or rename) you translations/messages.<locale>.[yaml|csv|xlf] file.


All versions of symfony-db-i18n-bundle with dependencies

PHP Build Version
Package Version
Requires php Version ^7.2||>=8.0
doctrine/common Version ^2.12|^3.1
doctrine/doctrine-bundle Version ^1.8|^2.0
doctrine/orm Version ^2.7
doctrine/persistence Version ^2
ramsey/uuid Version ^3.8|^4
ramsey/uuid-doctrine Version ^1.5
symfony/config Version ^4.1|^5
symfony/dependency-injection Version ^4.1|^5
symfony/doctrine-bridge Version ^4.1|^5
symfony/finder Version ^4.1|^5
symfony/framework-bundle Version ^4.1|^5
symfony/polyfill-mbstring Version *
symfony/translation Version ^4.1|^5
symfony/twig-bridge Version ^4.1|^5
symfony/twig-bundle Version ^4.1|^5
twig/twig Version ^2.4|^3
symfony/yaml Version ^4.1|^5
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package creative/symfony-db-i18n-bundle contains the following files

Loading the files please wait ....