{"id":9154,"date":"2018-10-24T12:35:40","date_gmt":"2018-10-24T12:35:40","guid":{"rendered":"https:\/\/www.mageworx.com\/blog\/?p=9154"},"modified":"2023-03-17T13:30:39","modified_gmt":"2023-03-17T13:30:39","slug":"how-to-work-with-mageworx-php-composer-repository","status":"publish","type":"post","link":"https:\/\/www.mageworx.com\/blog\/how-to-work-with-mageworx-php-composer-repository","title":{"rendered":"How to Work With Mageworx PHP Composer Repository"},"content":{"rendered":"\n<!-- SEO Ultimate (http:\/\/www.seodesignsolutions.com\/wordpress-seo\/) - Code Inserter module -->\n<!-- Google Tag Manager (noscript) -->\r\n<noscript><iframe src=\"https:\/\/www.googletagmanager.com\/ns.html?id=GTM-5DTCW7B8\"\r\nheight=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"><\/iframe><\/noscript>\r\n<!-- End Google Tag Manager (noscript) -->\n<!-- \/SEO Ultimate -->\n\n<span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading Time: <\/span> <span class=\"rt-time\"> 2<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span><h2>What Is MageWorx PHP Composer Repository<\/h2>\n<p><span style=\"font-weight: 400;\">Updating your Magento extensions can actually be an easy process \u2014 just a few seconds of waiting and you\u2019re set. But it can also involve installing a bunch of shared packages, additional updates, and even support requests. Basically, this is the hassles no one wants to deal with. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">The latest versions of the MageWorx extensions are always available both on our website and Magento Marketplace. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">However, due to multiple <a href=\"https:\/\/www.mageworx.com\/magento2-product-reviews-and-ratings.html\">review stages<\/a> on Magento Marketplace, the latest version of our products may appear there 2-3 weeks later than on our website. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">That is the reason why we\u2019ve launched our own PHP Repository that allows all our users to get timely updates of any purchased MageWorx extension.<\/span><\/p>\n<p><!--more--><\/p>\n<p><span style=\"font-weight: 400;\">To work with the MageWorx Repository, the store owner needs the Composer tool to be installed on the server. The Composer itself is the package manager of the PHP software that allows the customer to install and update the scripts on the website. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">If some script has the missing dependent elements, they will be uploaded preventing the situation when some program may fail due to some missing libraries. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">The following manual assumes that you have already installed and set up the Composer tool. If you haven\u2019t, please follow <a href=\"https:\/\/getcomposer.org\/doc\/00-intro.md\">these instructions<\/a>.<\/span><\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Log into your server using the Terminal and navigate to the root Magento folder. Bear in mind that the user should have the write permissions for this folder and its subfolders.<\/span><\/li>\n<li><span style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Connect to the MageWorx Composer Repository:\u00a0<\/span><\/span>\n<pre class=\"lang:sh decode:true \">composer config repositories.mageworx_packages composer https:\/\/packages.mageworx.com\/\n<\/pre>\n<\/li>\n<li><span style=\"font-weight: 400;\">To use the Composer repository, you\u2019ll need the access keys. To receive them, go to the\u00a0\u00a0<a href=\"https:\/\/www.mageworx.com\/\">MageWorx website<\/a><\/span><span style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">, log into your customer account and go to the My Access Keys tab:<\/span><\/span><img decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/support.mageworx.com\/images\/repo2.png\" alt=\"\" \/><\/li>\n<li><span style=\"font-weight: 400;\">Use the Public Key as a login and the Private Key as a password. After the successful authorization, you can install, update or delete the extensions. The main thing here is to detect the name of the package. Please, check this table and find the extension you wish to work with.<\/span><\/li>\n<\/ol>\n<table>\n<thead>\n<tr>\n<th align=\"left\">The Extension&#8217;s Name<\/th>\n<th align=\"left\">Composer Name<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td align=\"left\"><a href=\"https:\/\/www.mageworx.com\/magento-2-advanced-product-options-suite.html\" target=\"blank\" rel=\"noopener noreferrer\">Advanced Product Options<\/a><\/td>\n<td align=\"left\">mageworx\/module-advancedproductoptions<\/td>\n<\/tr>\n<tr>\n<td align=\"left\"><a href=\"https:\/\/www.mageworx.com\/magento2-cross-linking-extension.html\" target=\"blank\" rel=\"noopener noreferrer\">Cross Links<\/a><\/td>\n<td align=\"left\">mageworx\/module-seocrosslinksmeta<\/td>\n<\/tr>\n<tr>\n<td align=\"left\"><a href=\"https:\/\/www.mageworx.com\/store-and-currency-switcher-magento-2.html\" target=\"blank\" rel=\"noopener noreferrer\">Currency Auto Switcher<\/a><\/td>\n<td align=\"left\">mageworx\/module-currencymeta<\/td>\n<\/tr>\n<tr>\n<td align=\"left\"><a href=\"https:\/\/www.mageworx.com\/magento2-customer-group-prices.html\" target=\"blank\" rel=\"noopener noreferrer\">Customer Group Prices<\/a><\/td>\n<td align=\"left\">mageworx\/module-customergrouppricesmeta<\/td>\n<\/tr>\n<tr>\n<td align=\"left\"><a href=\"https:\/\/www.mageworx.com\/delivery-date-magento-2.html\" target=\"blank\" rel=\"noopener noreferrer\">Delivery Date<\/a><\/td>\n<td align=\"left\">mageworx\/module-deliverydate<\/td>\n<\/tr>\n<tr>\n<td align=\"left\"><a href=\"https:\/\/www.mageworx.com\/magento-2-donations-suite.html\" target=\"blank\" rel=\"noopener noreferrer\">Donations Suite<\/a><\/td>\n<td align=\"left\">mageworx\/module-donationsmeta<\/td>\n<\/tr>\n<tr>\n<td align=\"left\"><a href=\"https:\/\/www.mageworx.com\/magento2-extended-rich-snippets.html\" target=\"blank\" rel=\"noopener noreferrer\">Extended Rich Snippets<\/a><\/td>\n<td align=\"left\">mageworx\/module-seomarkupmeta<\/td>\n<\/tr>\n<tr>\n<td align=\"left\"><a href=\"https:\/\/www.mageworx.com\/magento-2-orders-grid.html\" target=\"blank\" rel=\"noopener noreferrer\">Extended Sales-Orders Grid<\/a><\/td>\n<td align=\"left\">mageworx\/module-ordersgridmeta<\/td>\n<\/tr>\n<tr>\n<td align=\"left\"><a href=\"https:\/\/www.mageworx.com\/magento-2-product-attachments.html\" target=\"blank\" rel=\"noopener noreferrer\">File Downloads &amp; Product Attachments<\/a><\/td>\n<td align=\"left\">mageworx\/module-downloadsmeta<\/td>\n<\/tr>\n<tr>\n<td align=\"left\"><a href=\"https:\/\/www.mageworx.com\/geo-lock-magento2-extension.html\" target=\"blank\" rel=\"noopener noreferrer\">Geo Lock<\/a><\/td>\n<td align=\"left\">mageworx\/module-geolockmeta<\/td>\n<\/tr>\n<tr>\n<td align=\"left\"><a href=\"https:\/\/www.mageworx.com\/magento-2-gift-cards.html\" target=\"blank\" rel=\"noopener noreferrer\">Gift Cards<\/a><\/td>\n<td align=\"left\">mageworx\/module-giftcards<\/td>\n<\/tr>\n<tr>\n<td align=\"left\"><a href=\"https:\/\/www.mageworx.com\/magento2-landing-pages.html\" target=\"blank\" rel=\"noopener noreferrer\">Landing Pages<\/a><\/td>\n<td align=\"left\">mageworx\/module-landingpagesprometa<\/td>\n<\/tr>\n<tr>\n<td align=\"left\"><a href=\"https:\/\/www.mageworx.com\/magento-2-extra-product-fees.html\" target=\"blank\" rel=\"noopener noreferrer\">Multi Fees<\/a><\/td>\n<td align=\"left\">mageworx\/module-multifeesmeta<\/td>\n<\/tr>\n<tr>\n<td align=\"left\"><a href=\"https:\/\/www.mageworx.com\/magento2-order-editor-extension.html\" target=\"blank\" rel=\"noopener noreferrer\">Order Editor<\/a><\/td>\n<td align=\"left\">mageworx\/module-ordereditormeta<\/td>\n<\/tr>\n<tr>\n<td align=\"left\"><a href=\"https:\/\/www.mageworx.com\/magento2-order-management-extension.html\" target=\"blank\" rel=\"noopener noreferrer\">Order Management<\/a><\/td>\n<td align=\"left\">mageworx\/module-ordereditor<\/td>\n<\/tr>\n<tr>\n<td align=\"left\"><a href=\"https:\/\/www.mageworx.com\/magento-2-others-also-bought.html\" target=\"blank\" rel=\"noopener noreferrer\">Others Also Bought<\/a><\/td>\n<td align=\"left\">module-alsoboughtmeta<\/td>\n<\/tr>\n<tr>\n<td align=\"left\"><a href=\"https:\/\/www.mageworx.com\/customer-discount-magento-2.html\" target=\"blank\" rel=\"noopener noreferrer\">Personal Customer Discount<\/a><\/td>\n<td align=\"left\">mageworx\/module-personalpromotionmeta<\/td>\n<\/tr>\n<tr>\n<td align=\"left\"><a href=\"https:\/\/www.mageworx.com\/magento-2-prices-per-customer.html\" target=\"blank\" rel=\"noopener noreferrer\">Prices per Customer<\/a><\/td>\n<td align=\"left\">mageworx\/module-customerpricesmeta<\/td>\n<\/tr>\n<tr>\n<td align=\"left\"><a href=\"https:\/\/www.mageworx.com\/magento-2-reward-points.html\" target=\"blank\" rel=\"noopener noreferrer\">Reward Points<\/a><\/td>\n<td align=\"left\">mageworx\/module-rewardpointsmeta<\/td>\n<\/tr>\n<tr>\n<td align=\"left\"><a href=\"https:\/\/www.mageworx.com\/magento-2-search-extension.html\" target=\"blank\" rel=\"noopener noreferrer\">Search Suite<\/a><\/td>\n<td align=\"left\">mageworx\/module-searchsuitesphinxmeta<\/td>\n<\/tr>\n<tr>\n<td align=\"left\"><a href=\"https:\/\/www.mageworx.com\/magento2-meta-seo-templates.html\" target=\"blank\" rel=\"noopener noreferrer\">SEO Meta Templates<\/a><\/td>\n<td align=\"left\">mageworx\/module-seoxtemplatesmeta<\/td>\n<\/tr>\n<tr>\n<td align=\"left\"><a href=\"https:\/\/www.mageworx.com\/magento-2-seo-extension.html\" target=\"blank\" rel=\"noopener noreferrer\">SEO Suite Ultimate<\/a><\/td>\n<td align=\"left\">mageworx\/module-seosuiteultimate<\/td>\n<\/tr>\n<tr>\n<td align=\"left\"><a href=\"https:\/\/www.mageworx.com\/magento-2-shipping-suite.html\" target=\"blank\" rel=\"noopener noreferrer\">Shipping Suite<\/a><\/td>\n<td align=\"left\">mageworx\/module-shippingrulesmeta<\/td>\n<\/tr>\n<tr>\n<td align=\"left\"><a href=\"https:\/\/www.mageworx.com\/magento-2-sitemap-extension.html\" target=\"blank\" rel=\"noopener noreferrer\">Sitemap Suite<\/a><\/td>\n<td align=\"left\">mageworx\/module-sitemapsuitemeta<\/td>\n<\/tr>\n<tr>\n<td align=\"left\"><a href=\"https:\/\/www.mageworx.com\/store-and-currency-switcher-magento-2.html\" target=\"blank\" rel=\"noopener noreferrer\">Store and Currency Auto Switcher<\/a><\/td>\n<td align=\"left\">mageworx\/module-storecurrencymeta<\/td>\n<\/tr>\n<tr>\n<td align=\"left\"><\/td>\n<td align=\"left\"><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\">In all the following examples, the\u00a0<span class=\"lang:default decode:true crayon-inline \">module-advancedproductoptions<\/span>\u00a0is used. Please change this to the one that you wish to work with.<\/span><\/p>\n<h2>How to install the extension?<\/h2>\n<p><span style=\"font-weight: 400;\">To install the new extension, you need to execute this command in the Terminal:<\/span><\/p>\n<pre class=\"lang:sh decode:true \">composer require mageworx\/module-advancedproductoptions\n<\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/support.mageworx.com\/images\/repo.png\" alt=\"\" \/><\/p>\n<h2>How to update the extension?<\/h2>\n<p><span style=\"font-weight: 400;\">You may need to update some specific module or all the MageWorx extensions that are purchased under your account. To update <\/span><b>just one particular<\/b><span style=\"font-weight: 400;\"> extension, you need to execute this command in the Terminal:<\/span><\/p>\n<pre class=\"lang:sh decode:true \">composer update mageworx\/module-advancedproductoptions<\/pre>\n<p><span style=\"font-weight: 400;\">To update <\/span><b>all<\/b><span style=\"font-weight: 400;\"> your MageWorx modules, execute the command:<\/span><\/p>\n<pre class=\"lang:sh decode:true \">composer update<\/pre>\n<p><span style=\"font-weight: 400;\">After the composer downloaded the updates, it&#8217;s time to perform the <strong>upgrade<\/strong>. For this, execute:<\/span><\/p>\n<pre class=\"lang:sh decode:true \">php bin\/magento setup:upgrade<\/pre>\n<h2>How to delete the extension?<\/h2>\n<p><span style=\"font-weight: 400;\">To delete the extension you need to execute this command in the Terminal:<\/span><\/p>\n<pre class=\"lang:sh decode:true \">composer update mageworx\/module-advancedproductoptions<\/pre>\n<p><span style=\"font-weight: 400;\">That\u2019s basically it.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Should you have any questions on MageWorx PHP Composer Repository, please contact us at <\/span><a href=\"mailto:support@mageworx.com\"><span style=\"font-weight: 400;\">support@mageworx.com<\/span><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p><span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading Time: <\/span> <span class=\"rt-time\"> 2<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span>What Is MageWorx PHP Composer Repository Updating your Magento extensions can actually be an easy process \u2014 just a few seconds of waiting and you\u2019re set. But it can also involve installing a bunch of shared packages, additional updates, and even support requests. Basically, this is the hassles no one wants to deal with. The [&hellip;]<\/p>\n","protected":false},"author":31,"featured_media":9159,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[255,425,194],"tags":[395],"class_list":{"0":"post-9154","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-magento-2","8":"category-magento-how-tos","9":"category-company-news","10":"tag-magento-repository"},"_links":{"self":[{"href":"https:\/\/www.mageworx.com\/blog\/wp-json\/wp\/v2\/posts\/9154","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mageworx.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mageworx.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mageworx.com\/blog\/wp-json\/wp\/v2\/users\/31"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mageworx.com\/blog\/wp-json\/wp\/v2\/comments?post=9154"}],"version-history":[{"count":13,"href":"https:\/\/www.mageworx.com\/blog\/wp-json\/wp\/v2\/posts\/9154\/revisions"}],"predecessor-version":[{"id":16625,"href":"https:\/\/www.mageworx.com\/blog\/wp-json\/wp\/v2\/posts\/9154\/revisions\/16625"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.mageworx.com\/blog\/wp-json\/wp\/v2\/media\/9159"}],"wp:attachment":[{"href":"https:\/\/www.mageworx.com\/blog\/wp-json\/wp\/v2\/media?parent=9154"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mageworx.com\/blog\/wp-json\/wp\/v2\/categories?post=9154"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mageworx.com\/blog\/wp-json\/wp\/v2\/tags?post=9154"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}