eZ Community » Blogs » Philippe VINCENT-ROYOL » Import and publish package via...


Import and publish package via terminal / php cli

Wednesday 19 October 2011 6:38:34 pm

  • Currently 5 out of 5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

This is only a tip, nowadays better tools could do the job in my opinion. Here we go.

To import a package :

php ezpm.php -s <siteaccess> --debug=all import <my_directory/my_package>-<version_number>.ezpkg

To install a package :

php ezpm.php -s <siteaccess> --debug=all install <my_package>

Be careful, if your package is named : my_awesome_package-1.0.ezpkg, you need to replace <my_package> only with my_awesome_package.

All new content objects ll be installed on root node (node id 2)



Proudly Developed with from