⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

The requested package grocerycrud/enterprise could not be found



Ghadeer

Ghadeer
  • profile picture
  • Member

Posted 14 August 2020 - 18:19 PM

Hi, I have a problem that I'm trying to solve but I don't know what caused it,
I try to install the package in laravel
But a problem appears to me in Composer, 

 

 

Your requirements could not be resolved to an installable set of packages.
 
  Problem 1
    - The requested package grocerycrud/enterprise could not be found in any version, there may be a typo in the package name.

web-johnny

web-johnny
  • profile picture
  • Administrator
  • 1,166 posts

Posted 19 August 2020 - 05:42 AM

Hello @Ghadeer,

 

As grocery CRUD Enterprise is not publicly available you should first follow the following steps:

Step 1. Download the version for composer. For example go to: https://www.grocerycrud.com/users/enterprise_latest_version
 

and download the button that says "With composer 2.8.2"

Step 2. Create a new folder with name "artifacts" and add the zip file as it is (without extracting it)

Step 3. Open your composer.json file and add the following: 

 

"repositories": [
{
"type": "artifact",
"url": "artifacts/"
}
],

and

 

"grocerycrud/enterprise": "2.*.*"

at the "require" section

 

Step 4. Do a "composer update"

Now you should have the enterprise installed with composer.

Let me know if that worked for you.

 

Regards

Johnny