2017 © Pedro Peláez
 

library magazine

Magazine helps you automatically package extensions for Magento 1.x

image

mridang/magazine

Magazine helps you automatically package extensions for Magento 1.x

  • Tuesday, March 28, 2017
  • by mridang
  • Repository
  • 1 Watchers
  • 3 Stars
  • 676 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 3 Versions
  • 24 % Grown

The README.md

Magazine — Sane Magento Packaging

Magazine helps you automatically package extensions for Magento 1.x in a sane manner. Magazine uses the cannibalised Magento core classes to build you a fully-compliant Magento package in seconds., (*1)

Requirements

Magazine requires PHP version 5.1.2 or greater., (*2)

Installation

The easiest way to get started with Magazine is use Composer. You can easily install Magazine system-wide with the following command:, (*3)

composer global require "mridang/magazine=*"

Make sure you have ~/.composer/vendor/bin/ in your PATH., (*4)

Or alternatively, include a dependency for mridang/magazine in your composer.json file. For example:, (*5)

{
    "require-dev": {
        "mridang/magazine": "0.*"
    }
}

You will then be able to run Magazine from the vendor bin directory:, (*6)

./vendor/bin/magazine -h

You can also download the Magazine source and run the magazine command directly from the Git checkout:, (*7)

git clone git://github.com/mridang/magazine.git
cd magazine
php bin/magazine -h

Usage

In order to move towards automated packaging, you'll need to create a package.json file in your extension's directory. The foarmat of this JSON file closely matches that of the XML file generated by Magento's packager and bundles in the extension package., (*8)

Most the fields are self-explanatory but the include paths must be carefully configured., (*9)

Alias Description Path
magelocal Magento Local module file ./app/code/local
magecommunity Magento Community module file ./app/code/community
magecore Magento Core team module file ./app/code/core
magedesign Magento User Interface (layouts, templates) ./app/design
mageetc Magento Global Configuration ./app/etc
magelib Magento PHP Library file ./lib
magelocale Magento Locale language file ./app/locale
magemedia Magento Media library ./media
mageskin Magento Theme Skin (Images, CSS, JS) ./skin
mageweb Magento Other web accessible file .
magetest Magento PHPUnit test ./tests
mage Magento other .
{
  "name": "Foobar",
  "version": {
    "release": "1.0.4"
  },
  "stability": {
    "release": "beta"
  },
  "license": {
    "_content": "OSL",
    "attribs": {
      "uri": "http://opensource.org/licenses/osl-3.0.php"
    }
  },
  "channel": "community",
  "summary": "Foobar for Magento",
  "description": "Foobar for Magento",
  "notes": "Foobar for Magento",
  "authors": {
    "author": {
      "name": "John Doe",
      "user": "j.doe",
      "email": "john.doe@example.com"
    }
  },
  "date": "2015-01-22",
  "time": "21:13:05",
  "dependencies": {
    "required": {
      "php": {
        "min": "5.2.0",
        "max": "7.0.0"
      }
    }
  },
  "include": {
    "magelocal": [] ,
    "magecommunity": [
      "app/code/community/Foo/Bar/*"
    ],
    "magecore": [],
    "magedesign": [],
    "mageetc": [],
    "magelib": [],
    "magelocale": [],
    "magemedia": [],
    "mageskin": [],
    "mageweb": [],
    "magetest": [],
    "mage": []
  },
  "exclude": [
    "vendor",
    "*.json",
    "*.lock",
    "*.tar"
  ]
}

Authors

Mridang Agarwalla, (*10)

License

Magazine is licensed under the MIT License - see the LICENSE file for details, (*11)

The Versions

28/03 2017

dev-master

9999999-dev https://github.com/mridang/magazine

Magazine helps you automatically package extensions for Magento 1.x

  Sources   Download

MIT

The Requires

 

by Mridang Agarwalla

package magento

28/03 2017

0.2

0.2.0.0 https://github.com/mridang/magazine

Magazine helps you automatically package extensions for Magento 1.x

  Sources   Download

MIT

The Requires

 

by Mridang Agarwalla

package magento

07/10 2016

0.1

0.1.0.0 https://github.com/mridang/magazine

Magazine helps you automatically package extensions for Magento 1.x

  Sources   Download

MIT

The Requires

 

by Mridang Agarwalla

package magento