You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The package could be installed with [Composer](https://getcomposer.org):
41
44
42
45
```shell
43
46
composer require yiisoft/db-mysql
44
47
```
45
48
46
49
## Documentation
47
50
48
-
English:
49
-
50
-
-[Connection config for MySQL and MariaDb](https://github.com/yiisoft/db/blob/master/docs/en/connection/mysql.md).
51
-
-[Check the documentation](https://github.com/yiisoft/db/blob/master/docs/en/README.md) to learn about usage.
52
-
53
-
Português - Brasil:
54
-
55
-
- Para configurar a conexão com Mysql, MariaDb leia [Connecting MySQL/MariaDb](https://github.com/yiisoft/db/blob/master/docs/pt-BR/connection/mysql.md).
56
-
-[Confira a documentação](https://github.com/yiisoft/db/blob/master/docs/pt-BR/README.md) para aprender como usar.
57
-
58
-
Testing:
51
+
[Check the documentation](https://github.com/yiisoft/db/blob/master/docs/guide/en/README.md) to learn about usage
59
52
53
+
-[Connection config for MySQL and MariaDB](https://github.com/yiisoft/db/blob/master/docs/guide/en/connection/mysql.md)
60
54
-[Internals](docs/internals.md)
61
55
62
-
## Support
63
-
64
56
If you need help or have a question, the [Yii Forum](https://forum.yiiframework.com/c/yii-3-0/63) is a good place for that.
65
57
You may also check out other [Yii Community Resources](https://www.yiiframework.com/community).
66
58
59
+
## License
60
+
61
+
The Yii Database MySQL and MariaDB driver is free software. It is released under the terms of the BSD License.
62
+
Please see [`LICENSE`](./LICENSE.md) for more information.
63
+
64
+
Maintained by [Yii Software](https://www.yiiframework.com/).
Copy file name to clipboardExpand all lines: docs/internals.md
+9-12
Original file line number
Diff line number
Diff line change
@@ -10,28 +10,26 @@ All our packages have github actions by default, so you can test your [contribut
10
10
11
11
For greater ease it is recommended to use docker containers, for this you can use the [docker-compose.yml](https://docs.docker.com/compose/compose-file/) file that is in the docs folder.
For running the docker containers you can use the following command:
17
17
18
-
MySQL 8.0.
18
+
MySQL:
19
19
20
20
```shell
21
21
docker compose up -d
22
22
```
23
23
24
-
MariaDB 10.11.
24
+
MariaDB:
25
25
26
26
```shell
27
27
docker compose -f docker-compose-mariadb.yml up -d
28
28
```
29
29
30
30
## Unit testing
31
31
32
-
The package is tested with [PHPUnit](https://phpunit.de/).
33
-
34
-
The following steps are required to run the tests:
32
+
The package is tested with [PHPUnit](https://phpunit.de/). To run tests:
35
33
36
34
1. Run the docker container for the dbms.
37
35
2. Install the dependencies of the project with composer.
@@ -58,7 +56,7 @@ The code is statically analyzed with [Psalm](https://psalm.dev/). To run static
58
56
./vendor/bin/psalm
59
57
```
60
58
61
-
## Rector
59
+
## Code style
62
60
63
61
Use [Rector](https://github.com/rectorphp/rector) to make codebase follow some specific rules or
64
62
use either newest or any specific version of PHP:
@@ -67,11 +65,10 @@ use either newest or any specific version of PHP:
67
65
./vendor/bin/rector
68
66
```
69
67
70
-
## Composer require checker
71
-
72
-
This package uses [composer-require-checker](https://github.com/maglnet/ComposerRequireChecker) to check if all dependencies are correctly defined in `composer.json`.
68
+
## Dependencies
73
69
74
-
To run the checker, execute the following command:
70
+
This package uses [composer-require-checker](https://github.com/maglnet/ComposerRequireChecker) to check if
71
+
all dependencies are correctly defined in `composer.json`. To run the checker, execute the following command:
0 commit comments