Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation documentation? #10

Open
qozle opened this issue Jan 5, 2022 · 1 comment
Open

Installation documentation? #10

qozle opened this issue Jan 5, 2022 · 1 comment

Comments

@qozle
Copy link

qozle commented Jan 5, 2022

Hi! I love the project. Just curious how to install it? I noticed the usage of an autoload.php file in the example. I guess it's installed from composer? Is the package name the same as this repository name? Or is there a way to know this that I'm missing?

@pfrenssen
Copy link
Owner

Yes, that is correct. The vendor/autoload.php file is provided by Composer.

A quick way to get started with composer would be:

# Create a project folder and set up a basic Composer manifest.
$ mkdir myproject
$ cd myproject
$ composer init --name=myvendor/myproject --require=pfrenssen/matomo-reporting-api:^1.0 --no-interaction

# Install the library. This step also sets up the `./vendor/autoload.php` file.
$ composer install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants