1
1
# php-v8
2
2
PHP extension for V8 JavaScript engine
3
3
4
- [ ![ Build Status] ( https://api.travis-ci.org/pinepain /php-v8.svg?branch=master )] ( https://travis-ci.org/pinepain /php-v8 )
5
- [ ![ GitHub license] ( https://img.shields.io/badge/license-MIT-blue.svg )] ( https://raw.githubusercontent.com/pinepain /php-v8/master/LICENSE )
4
+ [ ![ Build Status] ( https://api.travis-ci.org/phpv8 /php-v8.svg?branch=master )] ( https://travis-ci.org/phpv8 /php-v8 )
5
+ [ ![ GitHub license] ( https://img.shields.io/badge/license-MIT-blue.svg )] ( https://raw.githubusercontent.com/phpv8 /php-v8/master/LICENSE )
6
6
[ ![ Docs] ( https://readthedocs.org/projects/php-v8/badge/ )] ( https://php-v8.readthedocs.io )
7
7
8
8
@@ -39,7 +39,7 @@ If you have any other use, feels free to share
39
39
40
40
41
41
## About
42
- [ php-v8] ( https://github.com/pinepain /php-v8 ) is a PHP 7.x extension
42
+ [ php-v8] ( https://github.com/phpv8 /php-v8 ) is a PHP 7.x extension
43
43
that brings [ V8] ( https://developers.google.com/v8/intro ) JavaScript engine API to PHP with some abstraction in mind and
44
44
provides an accurate native V8 C++ API implementation available from PHP.
45
45
@@ -85,19 +85,19 @@ And it also doesn't limit you from V8 API utilizing to implement more amazing st
85
85
86
86
## Quick start
87
87
88
- You can try php-v8 in ` pinepain /php-v8` : ` docker run -it pinepain /php-v8 bash -c "php test.php" `
88
+ You can try php-v8 in ` phpv8 /php-v8` : ` docker run -it phpv8 /php-v8 bash -c "php test.php" `
89
89
90
90
## Stub files
91
91
92
92
If you are also using Composer, it is recommended to add the [ php-v8-stub] [ php-v8-stubs ]
93
93
package as a dev-mode requirement. It provides skeleton definitions and annotations to enable support for auto-completion
94
94
in your IDE and other code-analysis tools.
95
95
96
- composer require --dev pinepain /php-v8-stubs
96
+ composer require --dev phpv8 /php-v8-stubs
97
97
98
98
## High-level wrapper library
99
99
100
- There is [ pinepain /js-sandbox] ( https://github.com/pinepain /js-sandbox ) library that provides high-level abstraction
100
+ There is [ phpv8 /js-sandbox] ( https://github.com/phpv8 /js-sandbox ) library that provides high-level abstraction
101
101
on top of php-v8 extension and makes embedding JavaScript in PHP easier.
102
102
103
103
## Installation
@@ -137,17 +137,17 @@ extensions with dependencies, you may find
137
137
```
138
138
$ brew tap homebrew/dupes
139
139
$ brew tap homebrew/php
140
- $ brew tap pinepain/devtools
140
+ $ brew tap phpv8/tap
141
141
$ brew install php72 php72-v8
142
142
$ php --ri v8
143
143
```
144
144
145
- For macOS php-v8 formulae and dependencies provided by [ pinepain/devtools ] ( https://github.com/pinepain /homebrew-devtools ) tap.
145
+ For macOS php-v8 formulae and dependencies provided by [ phpv8/tap ] ( https://github.com/phpv8 /homebrew-tap ) tap.
146
146
147
147
### Building php-v8 from sources
148
148
149
149
```
150
- git clone https://github.com/pinepain /php-v8.git
150
+ git clone https://github.com/phpv8 /php-v8.git
151
151
cd php-v8
152
152
phpize && ./configure && make
153
153
make test
@@ -173,11 +173,11 @@ $ sudo make install
173
173
174
174
### Docker
175
175
176
- First, let's build docker image ` docker build -t pinepain /php-v8 . ` that we'll use later for development. By default,
176
+ First, let's build docker image ` docker build -t phpv8 /php-v8 . ` that we'll use later for development. By default,
177
177
it contains PHP 7.2, though you can change that by passing ` --build-arg PHP=MAJOR.MINOR ` where MAJOR.MINOR version
178
178
present in [ ondrej/php] ( https://launchpad.net/~ondrej/+archive/ubuntu/php ) PPA.
179
179
180
- 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``.
180
+ 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``.
181
181
Now you can build php-v8 as usual with ` phpize && ./configure && make ` . Don't forget to run ` make test ` !
182
182
183
183
### Docs
@@ -209,11 +209,11 @@ My thanks to the following people and projects, without whom this extension woul
209
209
210
210
## License
211
211
212
- Copyright (c) 2015-2018 Bogdan Padalko < ; pinepain @gmail.com> ;
212
+ Copyright (c) 2015-2018 Bogdan Padalko < ; thepinepain @gmail.com> ;
213
213
214
- [ php-v8] ( https://github.com/pinepain /php-v8 ) PHP extension is licensed under the [ MIT license] ( http://opensource.org/licenses/MIT ) .
214
+ [ php-v8] ( https://github.com/phpv8 /php-v8 ) PHP extension is licensed under the [ MIT license] ( http://opensource.org/licenses/MIT ) .
215
215
216
216
217
217
[ v8-hello-world ] : https://chromium.googlesource.com/v8/v8/+/master/samples/hello-world.cc
218
218
[ v8-intro ] : https://developers.google.com/v8/intro
219
- [ php-v8-stubs ] : https://github.com/pinepain /php-v8-stubs
219
+ [ php-v8-stubs ] : https://github.com/phpv8 /php-v8-stubs
0 commit comments