Skip to content
This repository was archived by the owner on Mar 29, 2024. It is now read-only.

Update email and decouple from personal account #110

Merged
merged 1 commit into from
Jul 7, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License

Copyright (c) 2015-2018 Bogdan Padalko <pinepain@gmail.com>
Copyright (c) 2015-2018 Bogdan Padalko <thepinepain@gmail.com>

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
Expand Down
28 changes: 14 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# php-v8
PHP extension for V8 JavaScript engine

[![Build Status](https://api.travis-ci.org/pinepain/php-v8.svg?branch=master)](https://travis-ci.org/pinepain/php-v8)
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/pinepain/php-v8/master/LICENSE)
[![Build Status](https://api.travis-ci.org/phpv8/php-v8.svg?branch=master)](https://travis-ci.org/phpv8/php-v8)
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/phpv8/php-v8/master/LICENSE)
[![Docs](https://readthedocs.org/projects/php-v8/badge/)](https://php-v8.readthedocs.io)


Expand Down Expand Up @@ -39,7 +39,7 @@ If you have any other use, feels free to share


## About
[php-v8](https://github.com/pinepain/php-v8) is a PHP 7.x extension
[php-v8](https://github.com/phpv8/php-v8) is a PHP 7.x extension
that brings [V8](https://developers.google.com/v8/intro) JavaScript engine API to PHP with some abstraction in mind and
provides an accurate native V8 C++ API implementation available from PHP.

Expand Down Expand Up @@ -85,19 +85,19 @@ And it also doesn't limit you from V8 API utilizing to implement more amazing st

## Quick start

You can try php-v8 in `pinepain/php-v8`: `docker run -it pinepain/php-v8 bash -c "php test.php"`
You can try php-v8 in `phpv8/php-v8`: `docker run -it phpv8/php-v8 bash -c "php test.php"`

## Stub files

If you are also using Composer, it is recommended to add the [php-v8-stub][php-v8-stubs]
package as a dev-mode requirement. It provides skeleton definitions and annotations to enable support for auto-completion
in your IDE and other code-analysis tools.

composer require --dev pinepain/php-v8-stubs
composer require --dev phpv8/php-v8-stubs

## High-level wrapper library

There is [pinepain/js-sandbox](https://github.com/pinepain/js-sandbox) library that provides high-level abstraction
There is [phpv8/js-sandbox](https://github.com/phpv8/js-sandbox) library that provides high-level abstraction
on top of php-v8 extension and makes embedding JavaScript in PHP easier.

## Installation
Expand Down Expand Up @@ -137,17 +137,17 @@ extensions with dependencies, you may find
```
$ brew tap homebrew/dupes
$ brew tap homebrew/php
$ brew tap pinepain/devtools
$ brew tap phpv8/tap
$ brew install php72 php72-v8
$ php --ri v8
```

For macOS php-v8 formulae and dependencies provided by [pinepain/devtools](https://github.com/pinepain/homebrew-devtools) tap.
For macOS php-v8 formulae and dependencies provided by [phpv8/tap](https://github.com/phpv8/homebrew-tap) tap.

### Building php-v8 from sources

```
git clone https://github.com/pinepain/php-v8.git
git clone https://github.com/phpv8/php-v8.git
cd php-v8
phpize && ./configure && make
make test
Expand All @@ -173,11 +173,11 @@ $ sudo make install

### Docker

First, let's build docker image `docker build -t pinepain/php-v8 .` that we'll use later for development. By default,
First, let's build docker image `docker build -t phpv8/php-v8 .` that we'll use later for development. By default,
it contains PHP 7.2, though you can change that by passing `--build-arg PHP=MAJOR.MINOR` where MAJOR.MINOR version
present in [ondrej/php](https://launchpad.net/~ondrej/+archive/ubuntu/php) PPA.

To start playing with php-v8 in docker, run ```docker run -e TEST_PHP_ARGS -v `pwd`:/root/php-v8 -it pinepain/php-v8 bash``.
To start playing with php-v8 in docker, run ```docker run -e TEST_PHP_ARGS -v `pwd`:/root/php-v8 -it phpv8/php-v8 bash``.
Now you can build php-v8 as usual with `phpize && ./configure && make`. Don't forget to run `make test`!

### Docs
Expand Down Expand Up @@ -209,11 +209,11 @@ My thanks to the following people and projects, without whom this extension woul

## License

Copyright (c) 2015-2018 Bogdan Padalko &lt;pinepain@gmail.com&gt;
Copyright (c) 2015-2018 Bogdan Padalko &lt;thepinepain@gmail.com&gt;

[php-v8](https://github.com/pinepain/php-v8) PHP extension is licensed under the [MIT license](http://opensource.org/licenses/MIT).
[php-v8](https://github.com/phpv8/php-v8) PHP extension is licensed under the [MIT license](http://opensource.org/licenses/MIT).


[v8-hello-world]: https://chromium.googlesource.com/v8/v8/+/master/samples/hello-world.cc
[v8-intro]: https://developers.google.com/v8/intro
[php-v8-stubs]: https://github.com/pinepain/php-v8-stubs
[php-v8-stubs]: https://github.com/phpv8/php-v8-stubs
6 changes: 3 additions & 3 deletions docs/development/release-libv8.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ After libv8 PPA build done
#. Copy fresh ``libv8-X.Y`` build packages from ``experimental`` (default target for all libv8 builds we trigger)
to it ``libv8-X.Y`` PPA. Do not rebuild, just copy binaries.
#. **Wait for packages copied and published!**
#. Build `pinepain/libv8`_ docker image, tag it with the
#. Build `phpv8/libv8`_ docker image, tag it with the
relevant v8 full version and push to Docker Hub.
#. You may want to set proper ``V8`` version in ``php-v8`` by updating it in ``.travis.yml``.
#. Make sure you have proper ``V8`` version set in ``packaging/Dockerfile`` under ``V8`` constant.
Expand Down Expand Up @@ -59,5 +59,5 @@ Building packages for macOS Homebrew
#. Remove/reset formula ``revision`` if it is version bump and not rebuild.
#. Build ``v8@X.Y`` (locally or with TravisCI if it provides relevant macOS version) and publish.

.. _php-v8: https://github.com/pinepain/php-v8
.. _pinepain/libv8: https://github.com/pinepain/dockerfiles/tree/master/libv8
.. _php-v8: https://github.com/phpv8/php-v8
.. _phpv8/libv8: https://github.com/phpv8/dockerfiles/tree/master/libv8
16 changes: 8 additions & 8 deletions docs/getting-started/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,11 @@ Quick guide
Docker
""""""

There is default ``pinepain/php-v8`` docker image with basic dependencies to evaluate and play with php-v8:
There is default ``phpv8/php-v8`` docker image with basic dependencies to evaluate and play with php-v8:

.. code-block:: bash

docker run -it pinepain/php-v8 bash -c "php test.php"
docker run -it phpv8/php-v8 bash -c "php test.php"


Ubuntu
Expand All @@ -111,7 +111,7 @@ extensions with dependencies, you may find following standalone PPAs useful:

- `pinepain/libv8-6.6 <https://launchpad.net/~pinepain/+archive/ubuntu/libv8-6.6>`_
- `pinepain/experimental <https://launchpad.net/~pinepain/+archive/ubuntu/experimental>`_
- `pinepain/php-v8 <https://launchpad.net/~pinepain/+archive/ubuntu/php-v8>`_
- `phpv8/php-v8 <https://launchpad.net/~pinepain/+archive/ubuntu/php-v8>`_



Expand All @@ -122,18 +122,18 @@ OS X (homebrew)

$ brew tap homebrew/dupes
$ brew tap homebrew/php
$ brew tap pinepain/devtools
$ brew tap phpv8/tap
$ brew install php71 php71-v8
$ php --ri v8

For macOS php-v8 formulae and dependencies provided by `pinepain/devtools <https://github.com/pinepain/homebrew-devtools>`_ tap.
For macOS php-v8 formulae and dependencies provided by `phpv8/tap <https://github.com/pinepain/homebrew-devtools>`_ tap.

Building php-v8 from sources
----------------------------

.. code-block:: bash

git clone https://github.com/pinepain/php-v8.git
git clone https://github.com/phpv8/php-v8.git
cd php-v8
phpize && ./configure && make
make test
Expand All @@ -145,8 +145,8 @@ To install extension globally run
$ sudo make install

.. _V8: https://developers.google.com/v8/intro
.. _php-v8: https://github.com/pinepain/php-v8
.. _php-v8: https://github.com/phpv8/php-v8
.. _Hello World: https://chromium.googlesource.com/v8/v8/+/master/samples/hello-world.cc
.. _Getting Started: https://developers.google.com/v8/intro
.. _php-v8-stubs: https://github.com/pinepain/php-v8-stubs
.. _php-v8-stubs: https://github.com/phpv8/php-v8-stubs
.. _ECMA: http://kangax.github.io/compat-table
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ Content
development/index

.. _V8: https://developers.google.com/v8/intro
.. _php-v8: https://github.com/pinepain/php-v8
.. _php-v8: https://github.com/phpv8/php-v8
6 changes: 3 additions & 3 deletions package.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ This file is part of the pinepain/php-v8 PHP extension.
~ This file is part of the phpv8/php-v8 PHP extension.
~
~ Copyright (c) 2015-2018 Bogdan Padalko <pinepain@gmail.com>
~ Copyright (c) 2015-2018 Bogdan Padalko <thepinepain@gmail.com>
~
~ Licensed under the MIT license: http://opensource.org/licenses/MIT
~
Expand All @@ -23,7 +23,7 @@
<lead>
<name>Bogdan Padalko</name>
<user>pinepain</user>
<email>pinepain@gmail.com</email>
<email>thepinepain@gmail.com</email>
<active>yes</active>
</lead>
<date>2018-02-27</date>
Expand Down
10 changes: 5 additions & 5 deletions perf/composer.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "pinepain/php-v8-perf",
"name": "phpv8/php-v8-perf",
"type": "library",
"description": "Performance tests for pinepain/php-v8 php extension",
"description": "Performance tests for phpv8/php-v8 php extension",
"keywords": ["dev", "performance", "benchmark", "tests", "php-v8", "v8", "js", "javascript"],
"homepage": "https://github.com/pinepain/php-v8-perf",
"homepage": "https://github.com/phpv8/php-v8/tree/master/perf",
"license": "MIT",
"authors": [
{
"name": "Bogdan Padalko",
"email": "pinepain@gmail.com",
"email": "thepinepain@gmail.com",
"homepage": "https://github.com/pinepain"
}
],
Expand All @@ -18,7 +18,7 @@
},
"autoload": {
"psr-4": {
"Pinepain\\V8\\Tests\\Perf\\": "src/"
"PhpV8\\V8\\Tests\\Perf\\": "src/"
}
}
}
6 changes: 3 additions & 3 deletions perf/src/CreatePrimitiveValue.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php declare(strict_types=1);

/**
* This file is part of the pinepain/php-v8 PHP extension.
* This file is part of the phpv8/php-v8 PHP extension.
*
* Copyright (c) 2015-2018 Bogdan Padalko <pinepain@gmail.com>
* Copyright (c) 2015-2018 Bogdan Padalko <thepinepain@gmail.com>
*
* Licensed under the MIT license: http://opensource.org/licenses/MIT
*
Expand All @@ -13,7 +13,7 @@
*/


namespace Pinepain\V8\Tests\Perf;
namespace PhpV8\V8\Tests\Perf;


use V8\BooleanValue;
Expand Down
6 changes: 3 additions & 3 deletions perf/src/GetObjectProperty.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php declare(strict_types=1);

/**
* This file is part of the pinepain/php-v8 PHP extension.
* This file is part of the phpv8/php-v8 PHP extension.
*
* Copyright (c) 2015-2018 Bogdan Padalko <pinepain@gmail.com>
* Copyright (c) 2015-2018 Bogdan Padalko <thepinepain@gmail.com>
*
* Licensed under the MIT license: http://opensource.org/licenses/MIT
*
Expand All @@ -13,7 +13,7 @@
*/


namespace Pinepain\V8\Tests\Perf;
namespace PhpV8\V8\Tests\Perf;


use V8\Context;
Expand Down
6 changes: 3 additions & 3 deletions perf/src/InvokeFunction.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php declare(strict_types=1);

/**
* This file is part of the pinepain/php-v8 PHP extension.
* This file is part of the phpv8/php-v8 PHP extension.
*
* Copyright (c) 2015-2018 Bogdan Padalko <pinepain@gmail.com>
* Copyright (c) 2015-2018 Bogdan Padalko <thepinepain@gmail.com>
*
* Licensed under the MIT license: http://opensource.org/licenses/MIT
*
Expand All @@ -13,7 +13,7 @@
*/


namespace Pinepain\V8\Tests\Perf;
namespace PhpV8\V8\Tests\Perf;


use V8\Context;
Expand Down
6 changes: 3 additions & 3 deletions perf/src/IsolateSnapshotAndScriptCaching.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php declare(strict_types=1);

/**
* This file is part of the pinepain/php-v8 PHP extension.
* This file is part of the phpv8/php-v8 PHP extension.
*
* Copyright (c) 2015-2018 Bogdan Padalko <pinepain@gmail.com>
* Copyright (c) 2015-2018 Bogdan Padalko <thepinepain@gmail.com>
*
* Licensed under the MIT license: http://opensource.org/licenses/MIT
*
Expand All @@ -13,7 +13,7 @@
*/


namespace Pinepain\V8\Tests\Perf;
namespace PhpV8\V8\Tests\Perf;


use V8\Context;
Expand Down
6 changes: 3 additions & 3 deletions perf/src/SetObjectProperty.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php declare(strict_types=1);

/**
* This file is part of the pinepain/php-v8 PHP extension.
* This file is part of the phpv8/php-v8 PHP extension.
*
* Copyright (c) 2015-2018 Bogdan Padalko <pinepain@gmail.com>
* Copyright (c) 2015-2018 Bogdan Padalko <thepinepain@gmail.com>
*
* Licensed under the MIT license: http://opensource.org/licenses/MIT
*
Expand All @@ -13,7 +13,7 @@
*/


namespace Pinepain\V8\Tests\Perf;
namespace PhpV8\V8\Tests\Perf;


use V8\Context;
Expand Down
4 changes: 2 additions & 2 deletions php_v8.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of the pinepain/php-v8 PHP extension.
* This file is part of the phpv8/php-v8 PHP extension.
*
* Copyright (c) 2015-2018 Bogdan Padalko <pinepain@gmail.com>
* Copyright (c) 2015-2018 Bogdan Padalko <thepinepain@gmail.com>
*
* Licensed under the MIT license: http://opensource.org/licenses/MIT
*
Expand Down
4 changes: 2 additions & 2 deletions scripts/refresh-package-xml.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<?php declare(strict_types=1);

/**
* This file is part of the pinepain/php-v8 PHP extension.
* This file is part of the phpv8/php-v8 PHP extension.
*
* Copyright (c) 2015-2018 Bogdan Padalko <pinepain@gmail.com>
* Copyright (c) 2015-2018 Bogdan Padalko <thepinepain@gmail.com>
*
* Licensed under the MIT license: http://opensource.org/licenses/MIT
*
Expand Down
4 changes: 2 additions & 2 deletions scripts/replace_expect.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/usr/bin/env php
<?php declare(strict_types=1);
/**
* This file is part of the pinepain/php-v8 PHP extension.
* This file is part of the phpv8/php-v8 PHP extension.
*
* Copyright (c) 2015-2018 Bogdan Padalko <pinepain@gmail.com>
* Copyright (c) 2015-2018 Bogdan Padalko <thepinepain@gmail.com>
*
* Licensed under the MIT license: http://opensource.org/licenses/MIT
*
Expand Down
2 changes: 1 addition & 1 deletion scripts/subsplit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ else
git subsplit init .
fi

git subsplit publish --heads="master" stubs:git@github.com:pinepain/php-v8-stubs.git
git subsplit publish --heads="master" stubs:git@github.com:phpv8/php-v8-stubs.git
4 changes: 2 additions & 2 deletions src/php_v8_a.cc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of the pinepain/php-v8 PHP extension.
* This file is part of the phpv8/php-v8 PHP extension.
*
* Copyright (c) 2015-2018 Bogdan Padalko <pinepain@gmail.com>
* Copyright (c) 2015-2018 Bogdan Padalko <thepinepain@gmail.com>
*
* Licensed under the MIT license: http://opensource.org/licenses/MIT
*
Expand Down
4 changes: 2 additions & 2 deletions src/php_v8_a.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of the pinepain/php-v8 PHP extension.
* This file is part of the phpv8/php-v8 PHP extension.
*
* Copyright (c) 2015-2018 Bogdan Padalko <pinepain@gmail.com>
* Copyright (c) 2015-2018 Bogdan Padalko <thepinepain@gmail.com>
*
* Licensed under the MIT license: http://opensource.org/licenses/MIT
*
Expand Down
Loading