This repository was archived by the owner on Mar 29, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -55,9 +55,19 @@ $result = $script->Run($context);
5555echo $result->ToString($context)->Value(), PHP_EOL;
5656```
5757
58- which will output ` Hello, World! ` . See how it's shorter and more readable than [ that C++ version] ( [v8-hello-world] ) ?
58+ which will output ` Hello, World! ` . See how it's shorter and more readable than [ that C++ version] [ v8-hello-world ] ?
5959And it also doesn't limit you from V8 API utilizing to implement more amazing stuff.
6060
61+
62+ ## Stub files
63+
64+ If you are also using Composer, it is recommended to add the [ php-v8-stub] [ php-v8-stubs ]
65+ package as a dev-mode requirement. It provides skeleton definitions and annotations to enable support for auto-completion
66+ in your IDE and other code-analysis tools.
67+
68+ composer require --dev pinepain/php-v8-stubs
69+
70+
6171## Installation
6272
6373### Requirements
@@ -155,3 +165,4 @@ Copyright (c) 2015-2016 Bogdan Padalko <pinepain@gmail.com>
155165[ v8-intro ] : https://developers.google.com/v8/intro
156166[ php70-v8.rb ] : https://github.com/pinepain/php-v8/blob/master/scripts/homebrew/php70-v8.rb
157167[ php71-v8.rb ] : https://github.com/pinepain/php-v8/blob/master/scripts/homebrew/php71-v8.rb
168+ [ php-v8-stubs ] : https://github.com/pinepain/php-v8-stubs
You can’t perform that action at this time.
0 commit comments