Skip to content

Commit

Permalink
Update namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
xtrime-ru committed Jul 17, 2023
1 parent 1d1761f commit 967e569
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 21 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

<img src="https://user-images.githubusercontent.com/817508/100672192-dd258500-3361-11eb-845f-e8b5109752e4.png" style="max-width:100%;" width="190px" align="right">

[![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:

Expand Down Expand Up @@ -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
Expand Down
12 changes: 3 additions & 9 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "nesk/puphpeteer",
"name": "zoon/puphpeteer",
"description": "A Puppeteer bridge for PHP, supporting the entire API.",
"keywords": [
"php",
Expand All @@ -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"
},
Expand Down Expand Up @@ -56,11 +56,5 @@
},
"config": {
"sort-packages": true
},
"repositories": [
{
"type": "git",
"url": "https://github.com/zoonru/rialto"
}
]
}
}
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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": {
Expand Down

0 comments on commit 967e569

Please sign in to comment.