error while including Imagine package in project
Posted: Mon Oct 05, 2015 3:00 pm
I had a requirement in laravel, where i needed to some server side cropping using the the laravel package Imaginehttps://github.com/orchestral/imagine#installation, now i followed the installation instruction for this package for my application, I.E. :
I added the below line in my composer.json file:
My composer.json file looks like below now:
Now when i run composer update from the terminal , i get the following messages:
http://i.imgur.com/lJAt6hy.jpg
and i have now followed THESE INSTRUCTIONShttps://github.com/orchestral/imagine#configuration too, of adding the alias etc to the config/app.php,
Now when i try to load my admin panel , i get the following error:
Why am i getting this error , can somebody explain ?
I added the below line in my composer.json file:
Code: Select all
{
"require": {
"orchestra/imagine": "~3.0"
}
}
Code: Select all
{
"name": "laravel/laravel",
"description": "The Laravel Framework.",
"keywords": ["framework", "laravel"],
"license": "MIT",
"require": {
"laravel/framework": "4.2.*",
"intervention/image": "dev-master",
"orchestra/imagine": "~3.0"
},
"autoload": {
"classmap": [
"app/commands",
"app/controllers",
"app/models",
"app/database/migrations",
"app/database/seeds",
"app/tests/TestCase.php"
]
},
"scripts": {
"post-install-cmd": [
"php artisan clear-compiled",
"php artisan optimize"
],
"post-update-cmd": [
"php artisan clear-compiled",
"php artisan optimize"
],
"post-create-project-cmd": [
"php artisan key:generate"
]
},
"config": {
"preferred-install": "dist"
},
"minimum-stability": "stable"
}
http://i.imgur.com/lJAt6hy.jpg
and i have now followed THESE INSTRUCTIONShttps://github.com/orchestral/imagine#configuration too, of adding the alias etc to the config/app.php,
Now when i try to load my admin panel , i get the following error:
Code: Select all
Class 'Orchestra\Imagine\ImagineServiceProvider' not found