aimeos\shop\ShopServiceProvider not found

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
pilapila
Posts: 2
Joined: 18 Sep 2017, 00:05

aimeos\shop\ShopServiceProvider not found

Post by pilapila » 18 Sep 2017, 00:16

Hi friends
i want to install aimeos but it give me following error:
[Symfony\Component\Debug\Exception\FatalErrorException] ←[39;49m
←[37;41m Class 'Aimeos\Shop\ShopServiceProvider' not found

my project in localhost : xampp\htdocs\aimeosshop\myshop
aimeos\aimeos-laravel-master is in vendor
composer.json
{
"name": "laravel/laravel",
"description": "The Laravel Framework.",
"keywords": ["framework", "laravel"],
"license": "MIT",
"type": "project",
"prefer-stable": true,
"minimum-stability": "dev",
"require": {
"php": ">=5.6.4",
"laravel/framework": "5.4.*",
"aimeos/aimeos-laravel": "~2017.07",
"laravel/tinker": "~1.0"
},
"require-dev": {
"fzaninotto/faker": "~1.4",
"mockery/mockery": "0.9.*",
"phpunit/phpunit": "~5.7"
},
"autoload": {
"classmap": [
"database"
],
"psr-4": {
"App\\": "app/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"scripts": {
"post-root-package-install": [
"php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
"post-create-project-cmd": [
"php artisan key:generate"
],
"post-install-cmd": [
"Illuminate\\Foundation\\ComposerScripts::postInstall",
"php artisan optimize"
],
"post-update-cmd": [
"Illuminate\\Foundation\\ComposerScripts::postUpdate",
"php artisan vendor:publish --tag=public --force",
"php artisan vendor:publish",
"php artisan migrate",
"php artisan optimize"
]
},
"config": {
"preferred-install": "dist",
"sort-packages": true,
"optimize-autoloader": true
}
}

config\app.php :
App\Providers\EventServiceProvider::class,
App\Providers\RouteServiceProvider::class,
Aimeos\Shop\ShopServiceProvider::class,

],

please help me

User avatar
aimeos
Administrator
Posts: 7835
Joined: 01 Jan 1970, 00:00

Re: aimeos\shop\ShopServiceProvider not found

Post by aimeos » 18 Sep 2017, 08:08

Did you execute "composer update" after adding "aimeos/aimeos-laravel": "~2017.07" and before adding the line in the ./config/app.php file?

You can also try the new Aimeos distribution, that does everything for you automatically:
https://github.com/aimeos/aimeos
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

pilapila
Posts: 2
Joined: 18 Sep 2017, 00:05

Re: aimeos\shop\ShopServiceProvider not found

Post by pilapila » 18 Sep 2017, 08:11

yes, i execute

User avatar
aimeos
Administrator
Posts: 7835
Joined: 01 Jan 1970, 00:00

Re: aimeos\shop\ShopServiceProvider not found

Post by aimeos » 18 Sep 2017, 09:16

Somewhere, you may have made a mistake during setup. Please start from scratch and follow the documentation step by step:
https://github.com/aimeos/aimeos-larave ... -or-update

Alternatively, try the Aimeos distribution: https://github.com/aimeos/aimeos
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply