php - How to include a .phar and reference it -
my directory looks this
then code looks this:
require "aws.*"; use aws\dynamodb\dynamodbclient;
is right way it?
it doesn't show me error or don't know if it's working or not.
you can
include 'aws.phar';
or
include 'phar://aws.phar/internal/file.php';
or read documentation using phar
p.s. cannot use wildcards in require or include.
p.p.s. use
not reference. read more use.
Comments
Post a Comment