v2.1 #10
@ -4,8 +4,8 @@ This library allows SQLite and PostgreSQL to be treated as document databases. I
|
|||||||
|
|
||||||
## Add via Composer
|
## Add via Composer
|
||||||
|
|
||||||
[
|
[
|
||||||
](https://packagist.org/packages/bit-badger/pdo-document#v1.0.0-rc1) [
|
](https://packagist.org/packages/bit-badger/pdo-document#v1.1.0-rc1) [
|
||||||
](https://packagist.org/packages/bit-badger/pdo-document)
|
](https://packagist.org/packages/bit-badger/pdo-document)
|
||||||
|
|
||||||
`composer require bit-badger/pdo-document`
|
`composer require bit-badger/pdo-document`
|
||||||
@ -33,4 +33,4 @@ In all generated scenarios, if the ID value is not 0 or blank, that ID will be u
|
|||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
Full documentation [is available on the project site](https://bitbadger.solutions/open-source/pdo-document/).
|
Full documentation [is available on the project site](https://relationaldocs.bitbadger.solutions/php/).
|
||||||
|
4
index.md
4
index.md
@ -7,8 +7,8 @@ PDODocument is a PHP library that implements [relational document](/) concepts o
|
|||||||
|
|
||||||
## Installing
|
## Installing
|
||||||
|
|
||||||
[
|
[
|
||||||
](https://packagist.org/packages/bit-badger/pdo-document#v1.0.0) [
|
](https://packagist.org/packages/bit-badger/pdo-document#v1.1.0) [
|
||||||
](https://packagist.org/packages/bit-badger/pdo-document)
|
](https://packagist.org/packages/bit-badger/pdo-document)
|
||||||
|
|
||||||
The library is [listed on Packagist][pkg] as `bit-badger/pdo-document`. v1.x targets PHP 8.2 and 8.3, while v2.x targets PHP 8.4 and up. Run `composer require bit-badger/pdo-document` (or add it to your `composer.json` manually), and it should select the appropriate version based on the target PHP version of your project.
|
The library is [listed on Packagist][pkg] as `bit-badger/pdo-document`. v1.x targets PHP 8.2 and 8.3, while v2.x targets PHP 8.4 and up. Run `composer require bit-badger/pdo-document` (or add it to your `composer.json` manually), and it should select the appropriate version based on the target PHP version of your project.
|
||||||
|
@ -247,6 +247,6 @@ class Json
|
|||||||
*/
|
*/
|
||||||
public static function setContentType(): void
|
public static function setContentType(): void
|
||||||
{
|
{
|
||||||
header('Content-Type: application/json');
|
header('Content-Type: application/json; charset=UTF-8');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user