diff --git a/README.md b/README.md index 83b52e5..ec82d8c 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,8 @@ This library allows SQLite and PostgreSQL to be treated as document databases. I ## Add via Composer -[![Static Badge](https://img.shields.io/badge/v1.0.0--rc1-orange?label=php%208.2) -](https://packagist.org/packages/bit-badger/pdo-document#v1.0.0-rc1)     [![Packagist Version](https://img.shields.io/packagist/v/bit-badger/pdo-document?include_prereleases&label=php%208.4) +[![v1 Packagist Version](https://img.shields.io/badge/v1.1.0-blue?label=php%208.2) +](https://packagist.org/packages/bit-badger/pdo-document#v1.1.0-rc1)     [![Packagist Version](https://img.shields.io/packagist/v/bit-badger/pdo-document?include_prereleases&label=php%208.4) ](https://packagist.org/packages/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 -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/). diff --git a/index.md b/index.md index d6e6559..e2ec8ec 100644 --- a/index.md +++ b/index.md @@ -7,8 +7,8 @@ PDODocument is a PHP library that implements [relational document](/) concepts o ## Installing -[![v1 Packagist Version](https://img.shields.io/badge/v1.0.0-blue?label=php%208.2) -](https://packagist.org/packages/bit-badger/pdo-document#v1.0.0)     [![Packagist Version](https://img.shields.io/packagist/v/bit-badger/pdo-document?include_prereleases&label=php%208.4) +[![v1 Packagist Version](https://img.shields.io/badge/v1.1.0-blue?label=php%208.2) +](https://packagist.org/packages/bit-badger/pdo-document#v1.1.0)     [![Packagist Version](https://img.shields.io/packagist/v/bit-badger/pdo-document?include_prereleases&label=php%208.4) ](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. diff --git a/src/Json.php b/src/Json.php index 1ec1cac..2351ec7 100644 --- a/src/Json.php +++ b/src/Json.php @@ -247,6 +247,6 @@ class Json */ public static function setContentType(): void { - header('Content-Type: application/json'); + header('Content-Type: application/json; charset=UTF-8'); } }