Grocery CRUD Private Composer
As you may have already seen, I've been working tirelessly to improve the Grocery CRUD experience. Today, I'm excited to announce a significant change in how you'll be managing your Grocery CRUD Enterprise library 🥂🍾🙌
I'm transitioning from the "artifacts" method to a private composer repository for Grocery CRUD Enterprise, hosted in our private server. This change aims to streamline the process of managing your dependencies and make it easier for you to stay up-to-date with the latest versions of Grocery CRUD Enterprise.
In essence, this update is all about simplifying your workflow. With the move to a private composer repository, you can now update your Grocery CRUD Enterprise library with just one simple command:
composer update --prefer-dist
This command will fetch the latest version of Grocery CRUD Enterprise from the private repository, eliminating the need for manual downloads or complex update procedures. It's a one-step process designed to save you time and effort.
Moreover, if you're using the Codeigniter or Laravel framework, this command will also update the public files. This means there's no need for an extra step to update these files separately anymore.
If you were using the "artifacts" method, you'll need to update your
composer.json file. Replace the following lines:
This change will direct Composer to fetch Grocery CRUD Enterprise from the private repository, ensuring you always have access to the latest versions.
While this change may initially seem like an extra step, it actually simplifies the process in the long run. You won't need to download a zip file to your local machine anymore. Instead, you can get the latest updates directly through the command line with:
composer update --prefer-dist
Additionally, instead of using
composer install and
composer update, you'll now
composer install --prefer-dist and
composer update --prefer-dist, adding the
--prefer-dist at the end.
The first time you run the above command, you'll be asked to provide your
password for the
grocery-crud/enterprise. Your username is your email address and your password is the license key
for Grocery CRUD Enterprise. You can find your credentials in
the My Profile page at the top right avatar
icon of user's page.
After entering the correct username and password in the command line, you'll be asked if you want to store your
credentials in the
auth.json file. I recommend answering
Y (yes) to this question, so you won't have to
provide the credentials again in the future.
Please note that this change is currently updated only on the wizard page. The main documentation for this update is available at the Grocery CRUD Installation Wizard page. I'm using this approach to gather some initial feedback. If you encounter any issues or have any suggestions, please don't hesitate to let me know.
I understand that changes like this can be a bit daunting, but I believe this move will greatly improve your experience with Grocery CRUD. I'm committed to making Grocery CRUD better and easier to use, and this is just one step in that direction.
As always, I'm here to help. If you have any questions or run into any issues, don't hesitate to reach out.
Thank you for your continued support. I'm excited about what's to come and can't wait to continue improving Grocery CRUD for you 🤗🤗🤗.
Disclaimer: This change is part of my ongoing efforts to improve the Grocery CRUD experience. While I strive to ensure a smooth transition, there may be unforeseen issues or complications. I appreciate your understanding and patience during this time.
Dec 2, 2023 by John Skoubourdis