Yii2 cPanel Email Creator

With this extension you will be able to easily programmatically create,update,delete cPanel email account from your yii2 application.

With this component you are able to:

  • Create new mail accounts
  • Change existing account disk quota
  • Change existing accounts their passwords
  • Delete accounts


Yii 2.0 or above


The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist filipajdacic/yii2-cpanel-email-creator "*"
or add
"filipajdacic/yii2-cpanel-email-creator": "*" 

to the require section of your composer.json file.


Once the extension is installed, just add in your config file:

and enter your params like ip, port, cpanel username and password.

After you have configured component you can finally use like this:

1. Create a new mail account:


2. Change existing email account password:


3. Change existing email account disk quota:


4.Deleting existing email account:


Prakash S

Prakash S

I would like to introduce myself as a Software professional opting for the career in software industry. I'm Prakash S, a MCA graduate and trained as industry level practice for Software technology. Basically I am a PHP Developer but now days exploring more in HTML5, CSS, AngularJS and jQuery libraries.