Skip to content

Package for accessing a locally installed Magento class within Laravel.

License

Notifications You must be signed in to change notification settings

jrtaylor-com/laravel-magento

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

laravel-magento

Package for accessing a locally installed Magento class within Laravel.

Usage

Initialize the Mage class after which you can use it the same way you would in the Magento framework. Mage::init('admin', 'store');

Performance

You can init the class with specific modules for better performance. Mage::init('admin', 'store', array(), Config::get(laravel-magento.modules));

Example loading a product by sku

$product = Mage::getModel('catalog/product')->loadByAttribute('sku', $sku);

About

Package for accessing a locally installed Magento class within Laravel.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages