PHPackages                             pbogut/padawan-magento - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. pbogut/padawan-magento

ActiveLibrary

pbogut/padawan-magento
======================

Magento plugin for padawan.php

5322PHP

Since Nov 27Pushed 9y ago1 watchersCompare

[ Source](https://github.com/pbogut/padawan.php-magento)[ Packagist](https://packagist.org/packages/pbogut/padawan-magento)[ RSS](/packages/pbogut-padawan-magento/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Magento plugin for Padawan.php
==============================

[](#magento-plugin-for-padawanphp)

[![Project Status: Active - The project has reached a stable, usable state and is being actively developed.](https://camo.githubusercontent.com/be48b0fc9cc48ea43f28c3fa9b40f1f996876ec42208998c0d372c71c2854167/687474703a2f2f7777772e7265706f7374617475732e6f72672f6261646765732f6c61746573742f6163746976652e737667)](http://www.repostatus.org/#active)[![Join the chat at https://gitter.im/pbogut/padawan.php-magento](https://camo.githubusercontent.com/44307ed900abb9f03905f58b9f05f343e307b94832cc9a25e8cb4e5d720a649f/68747470733a2f2f6261646765732e6769747465722e696d2f70626f6775742f7061646177616e2e7068702d6d6167656e746f2e737667)](https://gitter.im/pbogut/padawan.php-magento)

A Magento plugin for [padawan.php completion server](https://github.com/mkusher/padawan.php). Adds factory names completion when ones using `Mage::helper()`, `Mage::getModel()`, `Mage::getRosourceModel()` and `Mage::getSingleton()`(`Mage::getStoreConfig()` and `Mage::getStoreConfigFlag()` are going to be add later). It is also resolving types after using methods above.

Disclaimer
----------

[](#disclaimer)

The plugin is in the development phase and is not stable. Delivered as it is without any warranty. Use it at your own risk. Said that I'm using it every day for Magento development and so can you.

Demo
----

[](#demo)

[![demo](https://raw.githubusercontent.com/pbogut/padawan.php-magento/master/demo.gif)](https://raw.githubusercontent.com/pbogut/padawan.php-magento/master/demo.gif)[![demo2](https://raw.githubusercontent.com/pbogut/padawan.php-magento/master/demo2.gif)](https://raw.githubusercontent.com/pbogut/padawan.php-magento/master/demo2.gif)

Requirments
-----------

[](#requirments)

Plugin is working with stable version of `padawan.php` (currently `v0.2.1`). In the master version plugins are not loaded, see [\#62](https://github.com/mkusher/padawan.php/issues/62).

Installation
------------

[](#installation)

The plugin can be install by the composer: `composer.phar global require pbogut/padawan-magento`

Then plugin needs to be added to padawan server: `padawan plugin add pbogut/padawan-magento`

In theory, that should be it. If you are not using composer in your Magento project padawan may complain about `vendor/composer/autoload_classmap.php`. In that case its enough if you create that file and return empty array inside: `echo '
