Exciting news ! Grocery CRUD is now on a private composer repository for its Enterprise version, hosted on a private server. This simplifies updates and installations for those who uses composer.
In short to update, use:
composer update --prefer-dist
For a fresh installation, run:
composer install --prefer-dist
Embrace this streamlined process for a more efficient workflow and less installation/upgrade steps. For details, dive into the full blog post. Your feedback is valued as we enhance Grocery CRUD .
Please use as username your email address and as password copy the license key (not your actual password) that you can find at the page: User's Page Login
If I had to blindly guess would be a weird caching issue. Can you remove the composer.lock file and if possible the vendor folder as well and try to install again with the below command?
composer install --prefer-dist
And then don’t forget to add the command
php spark publish
If that doesn’t work then make sure that you have the file GroceryCrudPublisher.php at app/Publishers folder. You can see the file of publisher here: GroceryCrudPublisher.php · GitHub
After attempting to delete composer.lock and the vendor folder, I then entered the command composer install --prefer-dist, and all Composer packages were successfully installed. However, when I entered the command php spark publish, I encountered the following error
i use laravel so my command does not working
i use ```
php artisan vendor:publish --provider=“GroceryCrud\LaravelAssetsServiceProvider”
to publish asset and now is working properly
Nice to hear that worked for you . Please keep in mind (mainly for other that will see the post) that I also have instructions on the wizard for the update so I hope this also helps
Hello @johnny , i try to update my old code with composer, and i got this :
could not be fully loaded (Invalid credentials (HTTP 401) for 'https://composer.grocerycrud.com/packages.json', aborting.), package information was loaded from the local cache and may be out of date
The problem is : my password is changing because i’'m getting a new license. If you’re having the same problem, change password manually in C:\Users<username>\AppData\Roaming\Composer\auth.json (Windows) with a new one, and your problem will be solved.