Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F12241207
README.md
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
README.md
View Options
#
run
-
php
-
script
Quality
and
development
PHP
tools
like
PHPUnit
,
phpcs
or
phan
are
typically
installed
through
Composer
packages
.
As
such
,
several
software
can
use
several
versions
of
those
tools
.
Generally
,
some
of
those
tools
are
also
installed
globally
to
be
able
to
run
them
everywhere
.
Meanwhile
,
programs
calling
linters
like
Arcanist
have
some
trouble
to
find
executables
.
Finally
,
programs
like
PHPUnit
are
distributed
in
phar
format
with
.
phar
extension
and
can
so
be
installed
as
phpunit
or
phpunit
.
phar
on
the
system
.
This
wrapper
package
addresses
two
issues
:
1
.
Give
priority
to
Composer
version
,
located
in
vendor
/
bin
2
.
Find
tools
executables
in
/
opt
,
for
example
/
opt
/
phpunit
.
phar
/
opt
/
phpunit
##
Build
wrappers
This
package
provides
a
Makefile
to
generate
those
wrappers
:
```
$
make
```
On
BSD
systems
,
you
need
to
explicitlely
require
GNU
make
:
```
$
gmake
```
Wrappers
are
then
located
in
the
`
builds
/
`
folder
.
##
Install
wrappers
You
can
customize
the
target
path
in
Makefile
editing
the
PREFIX
variable
,
then
:
```
$
sudo
make
install
```
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Oct 12, 04:58 (1 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3064967
Default Alt Text
README.md (1 KB)
Attached To
Mode
rPHPWRAP run-php-script wrappers
Attached
Detach File
Event Timeline
Log In to Comment