Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Use without composer

Open
#30 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
php

Research direction

Start with the listed require_once paths and Webhook.php line 26, then trace how Event and Util are loaded when Composer is not used. Verify the webhook can be initialized without Composer and without Class-not-found errors for the referenced resources.

Written by the indexing model from the issue text.

Description

Currently, I require these files for the webhooks:

require_once 'typo3conf/ext/products/Classes/Coinbase/src/ApiClient.php';
require_once 'typo3conf/ext/products/Classes/Coinbase/src/Util.php';
require_once 'typo3conf/ext/products/Classes/Coinbase/src/Webhook.php';

use CoinbaseCommerce\ApiClient;
use CoinbaseCommerce\Resources\Event;
use CoinbaseCommerce\Webhook;

But right now I end up with the following error:

Class 'CoinbaseCommerce\Resources\Event' not found | Error thrown in file /html/typo3/typo3conf/ext/products/Classes/Coinbase/src/Webhook.php in line 26

Line 26 is this: return new Event($data['event']);

Before this error occurred, I had the error Class 'CoinbaseCommerce\Util' not found, which I "fixed" by including the Util.php file. But I cannot include the file Resources/Event.php, throws an error 500. So I am not sure how to fix this.

Dominant language
PHP
Stars
149
Forks
157
PR merge metrics
No merged PRs in 30d

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from coinbase/coinbase-commerce-php

All issues in coinbase/coinbase-commerce-php

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.