Final doc tweaks for v2.1

This commit is contained in:
Daniel J. Summers 2025-04-24 20:17:58 -04:00
parent 07c46fe668
commit ce45b8f697
3 changed files with 6 additions and 6 deletions

View File

@ -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/).

View File

@ -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.

View File

@ -247,6 +247,6 @@ class Json
*/
public static function setContentType(): void
{
header('Content-Type: application/json');
header('Content-Type: application/json; charset=UTF-8');
}
}