diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..331c58f --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.idea +vendor \ No newline at end of file diff --git a/composer.json b/composer.json index 2184cf0..9d21b2e 100644 --- a/composer.json +++ b/composer.json @@ -1,9 +1,14 @@ { - "name": "vernes/yiimailer", - "description": "Yii extension for sending emails with layouts using PHPMailer", - "type": "yii-extension", - "require": { - "php": ">=5.5.0", - "phpmailer/phpmailer": "^6.0" - } + "name": "vernes/yiimailer", + "description": "Yii extension for sending emails with layouts using PHPMailer", + "type": "yii-extension", + "require": { + "php": ">=5.5.0", + "phpmailer/phpmailer": "^6.0" + }, + "autoload": { + "classmap": [ + "src" + ] + } } diff --git a/YiiMailer.php b/src/YiiMailer.php similarity index 100% rename from YiiMailer.php rename to src/YiiMailer.php