Download the PHP package mremi/database-encoder without Composer
On this page you can find all versions of the php package mremi/database-encoder. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mremi/database-encoder
More information about mremi/database-encoder
Files in mremi/database-encoder
Package database-encoder
Short Description A PHP5 library to fix database encoding
License MIT
Homepage https://github.com/mremi/DatabaseEncoder
Informations about the package database-encoder
Database encoder library
This library allows you to fix database encoding.
Who has never seen some accented characters like "Activé" instead of "Activé"?
Basic Docs
- Installation
- Encode tables
- Encode database
- Contribution
Installation
Only 1 step:
Download DatabaseEncoder using composer
Add DatabaseEncoder in your composer.json:
Now tell composer to download the library by running the command:
Composer will install the library to your project's vendor/mremi
directory.
Feel free to dump your database before use this library.
This library supports dry run mode: look at your logs, you will see SQL queries which will be executed.
Encode tables
You can also use the command provided by this library, look at the help message:
Some arguments are mandatory:
Some options are available:
You can increase the log verbosity. The following example allows you to see the SQL queries without execute them:
Encode database
You can also use the command provided by this library, look at the help message:
Some arguments are mandatory:
Some options are available:
You can increase the log verbosity. The following example allows you to see the SQL queries without execute them:
Contribution
Any question or feedback? Open an issue and I will try to reply quickly.
A feature is missing here? Feel free to create a pull request to solve it!
I hope this has been useful and has helped you. If so, share it and recommend it! :)