Answer the question
In order to leave comments, you need to log in
Why aren't the package classes loaded?
Hello. I've been struggling with the issue for two days, I will be glad to help.
I wrote a package for Laravel, the structure is as follows:
"autoload": {
"classmap": [
"src"
],
"psr-4": {
"ExchangeProcessor\\": "src/"
}
},
"extra": {
"laravel": {
"providers": [
"ExchangeProcessor\\Providers\\ConfigServiceProvider"
]
}
}
"repositories": [
{
"type":"package",
"package": {
"name": "exchange-processor",
"version":"master",
"source": {
"url": "https://github.com/.../exchangeProcessor.git",
"type": "git",
"reference":"main"
}
}
}
],
"require": {
...
"exchange-processor": "master",
},
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question