From 967e569d7f0dde8d5d76062da59463caadf42aa1 Mon Sep 17 00:00:00 2001 From: Alexander Pankratov Date: Mon, 17 Jul 2023 14:24:23 +0200 Subject: [PATCH] Update namespace --- README.md | 16 ++++++++-------- composer.json | 12 +++--------- package.json | 8 ++++---- 3 files changed, 15 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index db15265..9b65921 100644 --- a/README.md +++ b/README.md @@ -2,13 +2,13 @@ -[![PHP Version](https://img.shields.io/packagist/php-v/nesk/puphpeteer.svg?style=flat-square)](http://php.net/) -[![Composer Version](https://img.shields.io/packagist/v/nesk/puphpeteer.svg?style=flat-square&label=Composer)](https://packagist.org/packages/nesk/puphpeteer) -[![Node Version](https://img.shields.io/node/v/@nesk/puphpeteer.svg?style=flat-square&label=Node)](https://nodejs.org/) -[![NPM Version](https://img.shields.io/npm/v/@nesk/puphpeteer.svg?style=flat-square&label=NPM)](https://www.npmjs.com/package/@nesk/puphpeteer) -[![Build Status](https://img.shields.io/travis/nesk/puphpeteer.svg?style=flat-square&label=Build%20Status)](https://travis-ci.org/nesk/puphpeteer) +[![PHP Version](https://img.shields.io/packagist/php-v/zoon/puphpeteer.svg?style=flat-square)](http://php.net/) +[![Composer Version](https://img.shields.io/packagist/v/zoon/puphpeteer.svg?style=flat-square&label=Composer)](https://packagist.org/packages/zoon/puphpeteer) +[![Node Version](https://img.shields.io/node/v/@zoon/puphpeteer.svg?style=flat-square&label=Node)](https://nodejs.org/) +[![NPM Version](https://img.shields.io/npm/v/@zoon/puphpeteer.svg?style=flat-square&label=NPM)](https://www.npmjs.com/package/@nesk/puphpeteer) +[![Build Status](https://img.shields.io/travis/zoon/puphpeteer.svg?style=flat-square&label=Build%20Status)](https://travis-ci.org/nesk/puphpeteer) -A [Puppeteer](https://github.com/GoogleChrome/puppeteer/) bridge for PHP, supporting the entire API. Based on [Rialto](https://github.com/nesk/rialto/), a package to manage Node resources from PHP. +A [Puppeteer](https://github.com/GoogleChrome/puppeteer/) bridge for PHP, supporting the entire API. Based on [Rialto](https://github.com/zoonru/rialto/), a package to manage Node resources from PHP. Here are some examples [borrowed from Puppeteer's documentation](https://github.com/GoogleChrome/puppeteer/blob/master/README.md#usage) and adapted to PHP's syntax: @@ -60,8 +60,8 @@ This package requires PHP >= 7.3 and Node >= 8. Install it with these two command lines: ```shell -composer require nesk/puphpeteer -npm install @nesk/puphpeteer +composer require zoon/puphpeteer +npm install github:zoonru/puphpeteer ``` ## Notable differences between PuPHPeteer and Puppeteer diff --git a/composer.json b/composer.json index c96a94b..6a482ac 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { - "name": "nesk/puphpeteer", + "name": "zoon/puphpeteer", "description": "A Puppeteer bridge for PHP, supporting the entire API.", "keywords": [ "php", @@ -22,7 +22,7 @@ "php": "^8.0", "ext-json": "*", "composer/semver": "^3.0", - "nesk/rialto": "dev-zoon", + "zoon/rialto": "^1.5", "psr/log": "^3.0", "thecodingmachine/safe": "^2.5" }, @@ -56,11 +56,5 @@ }, "config": { "sort-packages": true - }, - "repositories": [ - { - "type": "git", - "url": "https://github.com/zoonru/rialto" - } - ] + } } diff --git a/package.json b/package.json index 423d177..a9ed2a8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { - "name": "@nesk/puphpeteer", - "version": "2.0.0", + "name": "@zoon/puphpeteer", + "version": "2.1.0", "description": "A Puppeteer bridge for PHP, supporting the entire API.", "keywords": [ "php", @@ -17,12 +17,12 @@ "url": "https://johann.pardanaud.com/" }, "license": "MIT", - "repository": "github:nesk/puphpeteer", + "repository": "github:zoonru/puphpeteer", "engines": { "node": ">=9.0.0" }, "dependencies": { - "@nesk/rialto": "^1.2.1", + "@zoon/rialto": "github:zoonru/rialto#semver:^1.5.0", "puppeteer": "^20" }, "devDependencies": {