Download the PHP
package algolia/magento2-tools without Composer
On this page you can find all versions of the php package
algolia/magento2-tools. It is possible to download/install
these versions without Composer. Possible dependencies are resolved
automatically.
FAQ
After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.
Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.
In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories.
In this case some credentials are needed to access such packages.
Please use the auth.json textarea to insert credentials, if a package is coming from a private repository.
You can look here for more information.
Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
To use Composer is sometimes complicated. Especially for beginners.
Composer needs much resources. Sometimes they are not available on a simple webspace.
If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?
Informations about the package magento2-tools
The perfect starting point to analyse the PHP quality of our Algolia Magento 2 extension
💡 Getting Started
First, install globally the magento2-tools:
Make sure to place Composer's system-wide vendor bin directory in your $PATH
so the magento2-tool executable can be located by your system.
Finally, you can launch the quality tools with:
Here is the list of available commands:
magento2-lint: Runs the linter and fixes the found issues - configuration file under algoliasearch-magento-2/.php_cs.
magento2-types: Runs the type checker and displays the found issues - configuration file under algoliasearch-magento-2/phpstan.neon.
magento2-php-compatibility: Checks if your code is compatibility between multiple all php versions supported by magento.
magento2-test: Runs all previous commands in --dry-run mode.
Release process
Clear your the local repository with: git add . && git reset --hard
Make sure you are on the latest master branch: git checkout master && git pull
Note: make sure that there is no breaking changes and you may use git tag --list to check the latest release
Bump version in the file bin/magento2-update
Commit the bin/magento2-update with the message: git commit -m "chore: bumps version to vX.X.X"
Composer command for our command line client (download client)This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free.Standard composer command
The package algolia/magento2-tools contains the following files
Loading the files please wait ....
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.