Download the PHP package magium/magento without Composer

On this page you can find all versions of the php package magium/magento. 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 magento

Scrutinizer Code Quality

Magium Magento

A PHPUnit/Webdriver (Selenium (there for SEO)) based test framework for streamlining browser testing with Magento. It basically boils down to building out reusable Web Driver commands for Magento allowing you to bypass much of the boilerplate code that browser/functional testing may require. This is done through utility classes.

Find much more information at magiumlib.com

I had some good talks with some good folks this past week. Now entering the 4th month of working on Magium I can honestly say that this past week was the most exciting week I've had. It was a week when I allowed myself to think "maybe I am right about this after all!"

But, truth be told, it's been a struggle to gain some traction. People know, and I mean really know, that they should be automating this part of testing. Every single person who I've talked about testing via the browser has said almost the exact same thing. It's a great idea, but it takes too long and is too tedious.

Browser testing fails, in my humble opinion, because of problems that almost all software has. It is a very common problem. And it's so common I'm going to put it in <H1> tags to make sure everyone sees it.

Software should have easy, early wins

In other words,with software, especially new or unfamiliar software, you should have something useful to show with a minimal amount of effort. That's why, I believe, despite there being several good packages out there for testing Magento with Selenium, including good ones by Magento, I believe that the reason very few use them is because they are not able to "ease" into them.

So what I am going to do is show you how you can get started with Magium, testing Magento using Selenium, in under 10 minutes.

These quick wins are on me :-)

Step 1: Download and install Selenium Server and Chromedriver

Download Selenium Server and Chrome WebDriver

Start it as so, replacing the jar file with whatever the current version is and the chromedriver.exe with whichever version you downloaded:

Step 2: Download and install Magento CE 1.9 with the Sample Data

Note: this doesn't count against the 10 minutes

Make sure that it is working first before you start the timer. (I presume you don't need instructions on how to do this)

But shouldn't I start with my own code?

No. Start with what is common, then move to what is unique. It will be a lot easier.

Step 3: Clone the sample test cases

Step 4 - Edit 4 files

Edit the following files:

Step 5 - Run composer

or if you have a custom phar installed

Step 6 - Run PHPUnit

If you are using PHPStorm all you need to do is right click on phpunit.xml.dist and select 'Run phpunit.xml.dist'

If you are running PHPUnit from the command line you will need to exectue

And with that you should see 15 tests running and passed after a few minutes.

[Tests Passed]

Does it really work this easily? Check out the video below to see Magium in action.

Building a test in Magium


All versions of magento with dependencies

PHP Build Version
Package Version
Requires magium/magium Version ~1.1
zendframework/zend-uri Version ^2.5
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 magium/magento contains the following files

Loading the files please wait ....