├── .gitignore ├── tests └── Docode │ └── LaravelNfe │ └── Lib │ └── NfeTest.php ├── .travis.yml ├── src ├── Docode │ └── LaravelNfe │ │ ├── Facade │ │ └── Nfe.php │ │ ├── Lib │ │ └── Nfe.php │ │ ├── Provider │ │ └── NfeServiceProvider.php │ │ └── Contracts │ │ └── Product.php └── config │ └── nfe.php ├── composer.json ├── phpunit.xml ├── LICENSE ├── README.md └── composer.lock /.gitignore: -------------------------------------------------------------------------------- 1 | /vendor 2 | .git -------------------------------------------------------------------------------- /tests/Docode/LaravelNfe/Lib/NfeTest.php: -------------------------------------------------------------------------------- 1 | assertTrue(true); 8 | } 9 | } -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: php 2 | 3 | php: 4 | - 5.5 5 | - 5.6 6 | - hhvm 7 | 8 | before_script: 9 | - composer self-update 10 | - composer install --prefer-source --no-interaction --dev 11 | 12 | script: phpunit -------------------------------------------------------------------------------- /src/Docode/LaravelNfe/Facade/Nfe.php: -------------------------------------------------------------------------------- 1 | =5.5.0", 12 | "illuminate/support": "5.*", 13 | "nfephp-org/nfephp" : "dev-develop" 14 | }, 15 | "autoload": { 16 | "psr-4" : { 17 | "Docode\\" : "src/Docode" 18 | } 19 | }, 20 | "minimum-stability": "dev", 21 | "license": "MIT" 22 | } 23 | -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- 1 | 2 | 11 | 12 | 13 | ./tests/ 14 | 15 | 16 | -------------------------------------------------------------------------------- /src/Docode/LaravelNfe/Lib/Nfe.php: -------------------------------------------------------------------------------- 1 | nfe = $nfe; 19 | } 20 | 21 | /** 22 | * Insere um produto na nota 23 | * @param ProductContract produto a ser inserido na nota 24 | */ 25 | public function addProduct(ProductContract $product) 26 | { 27 | $this->products[] = $product; 28 | } 29 | 30 | /** 31 | * Insere um array de produtos na nota 32 | * @param array products a serem inseridos na nota 33 | */ 34 | public function addProducts(array $products) 35 | { 36 | array_walk($products, [$this, 'addProduct']); 37 | } 38 | 39 | /** 40 | * Retorna todos os produtos inseridos na nota 41 | */ 42 | public function getProducts() 43 | { 44 | return $this->products; 45 | } 46 | } -------------------------------------------------------------------------------- /src/Docode/LaravelNfe/Provider/NfeServiceProvider.php: -------------------------------------------------------------------------------- 1 | publishes([ 24 | __DIR__.'/../../../config/nfe.php' => config_path('nfe.php') 25 | ], 'config'); 26 | } 27 | 28 | /** 29 | * Register the service provider. 30 | * 31 | * @return void 32 | */ 33 | public function register() 34 | { 35 | $this->mergeConfigFrom( 36 | __DIR__.'/../../../config/nfe.php', 'nfe' 37 | ); 38 | } 39 | 40 | /** 41 | * Get the services provided by the provider. 42 | * 43 | * @return array 44 | */ 45 | public function provides() 46 | { 47 | return []; 48 | } 49 | } -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 docode 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | [![Build Status](https://travis-ci.org/docode-web/laravel-nfe.svg)](https://travis-ci.org/docode-web/laravel-nfe) 2 | [![Latest Stable Version](https://poser.pugx.org/docode-web/laravel-nfe/v/stable)](https://packagist.org/packages/docode-web/laravel-nfe) 3 | [![Total Downloads](https://poser.pugx.org/docode-web/laravel-nfe/downloads)](https://packagist.org/packages/docode-web/laravel-nfe) 4 | [![Latest Unstable Version](https://poser.pugx.org/docode-web/laravel-nfe/v/unstable)](https://packagist.org/packages/docode-web/laravel-nfe) 5 | [![License](https://poser.pugx.org/docode-web/laravel-nfe/license)](https://packagist.org/packages/docode-web/laravel-nfe) 6 | 7 | ## Emita Nota Fiscal Eletrônica com Laravel e Nfe-Php 8 | Pacote para Laravel, utilizando a API do Nfe-PHP para emissão de Nota Fiscal Eletrônica. 9 | 10 | #### Instalação 11 | insira em seu composer.json 12 | ``` 13 | [ 14 | "require": { 15 | "docode-web/laravel-nfe": "dev-master" 16 | } 17 | ] 18 | ``` 19 | 20 | abra seu arquivo `config/app.php` e insira nos providers e aliases(opcional) 21 | ``` 22 | 'providers' => [ 23 | // outros providers 24 | Docode\LaravelNfe\Provider\NfeServiceProvider::class 25 | ], 26 | 'aliases' => [ 27 | // outros facades 28 | 'Nfe' => Docode\LaravelNfe\Facade\Nfe::class 29 | ] 30 | ``` 31 | 32 | abra seu terminal e rode o comando: 33 | ``` 34 | php artisan vendor:publish 35 | ``` 36 | irá criar um arquivo de configuração `config/nfe.php` 37 | 38 | >###### Pacote em desenvolvimento, caso haja interesse em participar, faça o fork e mande suas PR -------------------------------------------------------------------------------- /src/config/nfe.php: -------------------------------------------------------------------------------- 1 | Valor 9 | | 10 | */ 11 | 'atualizacao' => date('Y-m-d h:i:s'), 12 | 'tpAmb' => '2', 13 | 'pathXmlUrlFileNFe' => 'nfe_ws3_mod55.xml', 14 | 'pathXmlUrlFileCTe' => 'cte_ws2.xml', 15 | 'pathXmlUrlFileMDFe'=> 'mdfe_ws1.xml', 16 | 'pathXmlUrlFileCLe' => '', 17 | 'pathXmlUrlFileNFSe'=> '', 18 | 'pathNFeFiles' => '/var/www/nfe', 19 | 'pathCTeFiles' => '/var/www/cte', 20 | 'pathMDFeFiles' => '/var/www/mdfe', 21 | 'pathCLeFiles' => '/var/www/cle', 22 | 'pathNFSeFiles' => '/var/www/nfse', 23 | 'pathCertsFiles' => storage_path('certs'), 24 | 'siteUrl' => 'http://localhost', 25 | 'schemesNFe' => 'PL_008f', 26 | 'schemesCTe' => 'PL_CTe_200', 27 | 'schemesMDFe' => 'PL_MDFe_100', 28 | 'schemesCLe' => '', 29 | 'schemesNFSe' => '', 30 | 'razaosocial' => 'Sua Empresa Ltda', 31 | 'siglaUF' => 'SP', 32 | 'cnpj' => '9999999999999', 33 | 'tokenIBPT' => '', 34 | 'tokenNFCe' => '', 35 | 'tokenNFCeId' => '', 36 | 'certPfxName' => 'certificado.pfx', 37 | 'certPassword' => 'senha', 38 | 'certPhrase' => '', 39 | 'aDocFormat' => [ 40 | 'format' => 'P', 41 | 'paper' => 'A4', 42 | 'southpaw' => true, 43 | 'pathLogoFile' => public_path('images/logo.jpg'), 44 | 'logoPosition' => 'L', 45 | 'font' => 'Times', 46 | 'printer' => '' 47 | ], 48 | 'aMailConf' => [ 49 | 'mailAuth' => true, 50 | 'mailFrom' => 'nfe@suaempresa.com.br', 51 | 'mailSmtp' => 'smtp.suaempresa.com.br', 52 | 'mailUser' => 'nfe@suaempresa.com.br', 53 | 'mailPass' => 'senha', 54 | 'mailProtocol' => '', 55 | 'mailPort' => '587', 56 | 'mailFromMail' => 'nfe@suaempresa.com.br', 57 | 'mailFromName' => 'NFe', 58 | 'mailReplayToMail' => 'nfe@suaempresa.com.br', 59 | 'mailReplayToName' => 'NFe', 60 | 'mailImapHost' => 'imap.suaempresa.com.br', 61 | 'mailImapPort' => '143', 62 | 'mailImapSecurity' => 'tls', 63 | 'mailImapNocerts' => 'novalidate-cert', 64 | 'mailImapBox' => 'INBOX' 65 | ], 66 | 'aProxyConf' => [ 67 | 'proxyIp' => '', 68 | 'proxyPort' => '', 69 | 'proxyUser' => '', 70 | 'proxyPass' => '' 71 | ] 72 | ]; -------------------------------------------------------------------------------- /src/Docode/LaravelNfe/Contracts/Product.php: -------------------------------------------------------------------------------- 1 | =5.3.0" 27 | }, 28 | "require-dev": { 29 | "phpunit/phpunit": "~4.0" 30 | }, 31 | "type": "library", 32 | "autoload": { 33 | "psr-4": { 34 | "Stringy\\": "src/" 35 | }, 36 | "files": [ 37 | "src/Create.php" 38 | ] 39 | }, 40 | "notification-url": "https://packagist.org/downloads/", 41 | "license": [ 42 | "MIT" 43 | ], 44 | "authors": [ 45 | { 46 | "name": "Daniel St. Jules", 47 | "email": "danielst.jules@gmail.com", 48 | "homepage": "http://www.danielstjules.com" 49 | } 50 | ], 51 | "description": "A string manipulation library with multibyte support", 52 | "homepage": "https://github.com/danielstjules/Stringy", 53 | "keywords": [ 54 | "UTF", 55 | "helpers", 56 | "manipulation", 57 | "methods", 58 | "multibyte", 59 | "string", 60 | "utf-8", 61 | "utility", 62 | "utils" 63 | ], 64 | "time": "2015-09-03 06:50:48" 65 | }, 66 | { 67 | "name": "doctrine/inflector", 68 | "version": "dev-master", 69 | "source": { 70 | "type": "git", 71 | "url": "https://github.com/doctrine/inflector.git", 72 | "reference": "097e7ba84f64a427e55008117ef2bb94096731dc" 73 | }, 74 | "dist": { 75 | "type": "zip", 76 | "url": "https://api.github.com/repos/doctrine/inflector/zipball/097e7ba84f64a427e55008117ef2bb94096731dc", 77 | "reference": "097e7ba84f64a427e55008117ef2bb94096731dc", 78 | "shasum": "" 79 | }, 80 | "require": { 81 | "php": ">=5.3.2" 82 | }, 83 | "require-dev": { 84 | "phpunit/phpunit": "4.*" 85 | }, 86 | "type": "library", 87 | "extra": { 88 | "branch-alias": { 89 | "dev-master": "1.0.x-dev" 90 | } 91 | }, 92 | "autoload": { 93 | "psr-0": { 94 | "Doctrine\\Common\\Inflector\\": "lib/" 95 | } 96 | }, 97 | "notification-url": "https://packagist.org/downloads/", 98 | "license": [ 99 | "MIT" 100 | ], 101 | "authors": [ 102 | { 103 | "name": "Roman Borschel", 104 | "email": "roman@code-factory.org" 105 | }, 106 | { 107 | "name": "Benjamin Eberlei", 108 | "email": "kontakt@beberlei.de" 109 | }, 110 | { 111 | "name": "Guilherme Blanco", 112 | "email": "guilhermeblanco@gmail.com" 113 | }, 114 | { 115 | "name": "Jonathan Wage", 116 | "email": "jonwage@gmail.com" 117 | }, 118 | { 119 | "name": "Johannes Schmitt", 120 | "email": "schmittjoh@gmail.com" 121 | } 122 | ], 123 | "description": "Common String Manipulations with regard to casing and singular/plural rules.", 124 | "homepage": "http://www.doctrine-project.org", 125 | "keywords": [ 126 | "inflection", 127 | "pluralize", 128 | "singularize", 129 | "string" 130 | ], 131 | "time": "2015-10-07 18:00:26" 132 | }, 133 | { 134 | "name": "endroid/qrcode", 135 | "version": "1.1.2", 136 | "source": { 137 | "type": "git", 138 | "url": "https://github.com/endroid/QrCode.git", 139 | "reference": "32e3e148b148482f04101fc96d18d3281da72af7" 140 | }, 141 | "dist": { 142 | "type": "zip", 143 | "url": "https://api.github.com/repos/endroid/QrCode/zipball/32e3e148b148482f04101fc96d18d3281da72af7", 144 | "reference": "32e3e148b148482f04101fc96d18d3281da72af7", 145 | "shasum": "" 146 | }, 147 | "require": { 148 | "php": ">=5.3.0" 149 | }, 150 | "type": "library", 151 | "autoload": { 152 | "psr-0": { 153 | "Endroid": "src/" 154 | } 155 | }, 156 | "notification-url": "https://packagist.org/downloads/", 157 | "license": [ 158 | "MIT" 159 | ], 160 | "authors": [ 161 | { 162 | "name": "Jeroen van den Enden", 163 | "email": "info@endroid.nl", 164 | "homepage": "http://endroid.nl/" 165 | } 166 | ], 167 | "description": "Endroid QR Code", 168 | "homepage": "https://github.com/endroid/QrCode", 169 | "keywords": [ 170 | "code", 171 | "endroid", 172 | "qr", 173 | "qrcode" 174 | ], 175 | "time": "2013-04-13 12:49:51" 176 | }, 177 | { 178 | "name": "illuminate/contracts", 179 | "version": "dev-master", 180 | "source": { 181 | "type": "git", 182 | "url": "https://github.com/illuminate/contracts.git", 183 | "reference": "c34c7c8a89ea61b2eadd7fa825e118b635e21e6c" 184 | }, 185 | "dist": { 186 | "type": "zip", 187 | "url": "https://api.github.com/repos/illuminate/contracts/zipball/c34c7c8a89ea61b2eadd7fa825e118b635e21e6c", 188 | "reference": "c34c7c8a89ea61b2eadd7fa825e118b635e21e6c", 189 | "shasum": "" 190 | }, 191 | "require": { 192 | "php": ">=5.5.9" 193 | }, 194 | "type": "library", 195 | "extra": { 196 | "branch-alias": { 197 | "dev-master": "5.2-dev" 198 | } 199 | }, 200 | "autoload": { 201 | "psr-4": { 202 | "Illuminate\\Contracts\\": "" 203 | } 204 | }, 205 | "notification-url": "https://packagist.org/downloads/", 206 | "license": [ 207 | "MIT" 208 | ], 209 | "authors": [ 210 | { 211 | "name": "Taylor Otwell", 212 | "email": "taylorotwell@gmail.com" 213 | } 214 | ], 215 | "description": "The Illuminate Contracts package.", 216 | "homepage": "http://laravel.com", 217 | "time": "2015-10-08 10:49:05" 218 | }, 219 | { 220 | "name": "illuminate/support", 221 | "version": "dev-master", 222 | "source": { 223 | "type": "git", 224 | "url": "https://github.com/illuminate/support.git", 225 | "reference": "d52b34bc8ba7556e05a53e7d0d2313d6fbf6e1ed" 226 | }, 227 | "dist": { 228 | "type": "zip", 229 | "url": "https://api.github.com/repos/illuminate/support/zipball/d52b34bc8ba7556e05a53e7d0d2313d6fbf6e1ed", 230 | "reference": "d52b34bc8ba7556e05a53e7d0d2313d6fbf6e1ed", 231 | "shasum": "" 232 | }, 233 | "require": { 234 | "danielstjules/stringy": "~2.1", 235 | "doctrine/inflector": "~1.0", 236 | "ext-mbstring": "*", 237 | "illuminate/contracts": "5.2.*", 238 | "php": ">=5.5.9" 239 | }, 240 | "suggest": { 241 | "jeremeamia/superclosure": "Required to be able to serialize closures (~2.0).", 242 | "paragonie/random_compat": "Provides a compatible interface like PHP7's random_bytes() in PHP 5 projects (^1.0.6).", 243 | "symfony/var-dumper": "Required to use the dd function (2.8.*|3.0.*)." 244 | }, 245 | "type": "library", 246 | "extra": { 247 | "branch-alias": { 248 | "dev-master": "5.2-dev" 249 | } 250 | }, 251 | "autoload": { 252 | "psr-4": { 253 | "Illuminate\\Support\\": "" 254 | }, 255 | "files": [ 256 | "helpers.php" 257 | ] 258 | }, 259 | "notification-url": "https://packagist.org/downloads/", 260 | "license": [ 261 | "MIT" 262 | ], 263 | "authors": [ 264 | { 265 | "name": "Taylor Otwell", 266 | "email": "taylorotwell@gmail.com" 267 | } 268 | ], 269 | "description": "The Illuminate Support package.", 270 | "homepage": "http://laravel.com", 271 | "time": "2015-10-23 05:00:07" 272 | }, 273 | { 274 | "name": "mpdf/mpdf", 275 | "version": "v6.0.0", 276 | "source": { 277 | "type": "git", 278 | "url": "https://github.com/mpdf/mpdf.git", 279 | "reference": "a15743d030ce3b5b7be36c6e83f76589b27c3f2c" 280 | }, 281 | "dist": { 282 | "type": "zip", 283 | "url": "https://api.github.com/repos/mpdf/mpdf/zipball/a15743d030ce3b5b7be36c6e83f76589b27c3f2c", 284 | "reference": "a15743d030ce3b5b7be36c6e83f76589b27c3f2c", 285 | "shasum": "" 286 | }, 287 | "require": { 288 | "ext-mbstring": "*", 289 | "php": ">=4.3.10" 290 | }, 291 | "type": "library", 292 | "autoload": { 293 | "classmap": [ 294 | "mpdf.php", 295 | "classes" 296 | ] 297 | }, 298 | "notification-url": "https://packagist.org/downloads/", 299 | "license": [ 300 | "GPL-1.0+" 301 | ], 302 | "authors": [ 303 | { 304 | "name": "Ian Back" 305 | } 306 | ], 307 | "description": "A PHP class to generate PDF files from HTML with Unicode/UTF-8 and CJK support", 308 | "homepage": "http://www.mpdf1.com/mpdf/index.php", 309 | "keywords": [ 310 | "pdf", 311 | "php", 312 | "utf-8" 313 | ], 314 | "time": "2015-03-01 10:27:49" 315 | }, 316 | { 317 | "name": "nfephp-org/nfephp", 318 | "version": "dev-develop", 319 | "source": { 320 | "type": "git", 321 | "url": "https://github.com/nfephp-org/nfephp.git", 322 | "reference": "3a9ea553606b54fb03694ea61cbb4abb4582c866" 323 | }, 324 | "dist": { 325 | "type": "zip", 326 | "url": "https://api.github.com/repos/nfephp-org/nfephp/zipball/3a9ea553606b54fb03694ea61cbb4abb4582c866", 327 | "reference": "3a9ea553606b54fb03694ea61cbb4abb4582c866", 328 | "shasum": "" 329 | }, 330 | "require": { 331 | "endroid/qrcode": "1.*@dev", 332 | "ext-curl": "*", 333 | "ext-dom": "*", 334 | "ext-fileinfo": "*", 335 | "ext-iconv": "*", 336 | "ext-libxml": "*", 337 | "ext-mbstring": "*", 338 | "ext-openssl": "*", 339 | "ext-soap": "*", 340 | "ext-xml": "*", 341 | "ext-xmlreader": "*", 342 | "ext-zip": "*", 343 | "ext-zlib": "*", 344 | "mpdf/mpdf": "6.0.0", 345 | "php": ">=5.3.0", 346 | "soundasleep/html2text": "~0.2", 347 | "zendframework/zend-mail": "2.4.*@dev" 348 | }, 349 | "require-dev": { 350 | "phpunit/phpunit": "~4.0" 351 | }, 352 | "type": "library", 353 | "extra": { 354 | "branch-alias": { 355 | "dev-master": "4.0.x-dev", 356 | "dev-develop": "4.1.x-dev" 357 | } 358 | }, 359 | "autoload": { 360 | "psr-4": { 361 | "nfephp-org\\nfephp\\": "libs/" 362 | }, 363 | "psr-0": { 364 | "": [ 365 | "libs/", 366 | "tests/" 367 | ] 368 | }, 369 | "classmap": [ 370 | "./libs/NFe/", 371 | "./libs/CTe/", 372 | "./libs/MDFe/", 373 | "./libs/NFSe/", 374 | "./libs/Common/", 375 | "./libs/Common/Base/", 376 | "./libs/Common/Certificate/", 377 | "./libs/Common/Configure/", 378 | "./libs/Common/DateTime/", 379 | "./libs/Common/Dom/", 380 | "./libs/Common/Exception/", 381 | "./libs/Common/Files/", 382 | "./libs/Common/Identify/", 383 | "./libs/Common/Keys/", 384 | "./libs/Common/LotNumber/", 385 | "./libs/Common/Modules/", 386 | "./libs/Common/Soap/", 387 | "./libs/Common/Strings/", 388 | "./libs/Extras/" 389 | ] 390 | }, 391 | "notification-url": "https://packagist.org/downloads/", 392 | "license": [ 393 | "GPL-3.0+", 394 | "LGPL-3.0+" 395 | ], 396 | "authors": [ 397 | { 398 | "name": "Roberto L. Machado", 399 | "email": "linux.rlm@gmail.com.br", 400 | "homepage": "http://www.nfephp.org", 401 | "role": "Developer" 402 | }, 403 | { 404 | "name": "Comunidade NFePHP", 405 | "homepage": "https://github.com/nfephp-org/nfephp/graphs/contributors" 406 | } 407 | ], 408 | "description": "NFePHP é uma API para gerenciamento das comunicações entre o emitente de NFe e os serviços dos SEFAZ estaduais. Inteiramente construido em PHP para rodar sob qualquer sistema operacional.", 409 | "homepage": "https://github.com/nfephp-org/nfephp", 410 | "keywords": [ 411 | "nfe", 412 | "nfephp", 413 | "sped" 414 | ], 415 | "time": "2015-10-27 15:43:51" 416 | }, 417 | { 418 | "name": "soundasleep/html2text", 419 | "version": "0.2.3", 420 | "source": { 421 | "type": "git", 422 | "url": "https://github.com/soundasleep/html2text.git", 423 | "reference": "c820563170f5d3af666dbdb138a4a876997d1f7c" 424 | }, 425 | "dist": { 426 | "type": "zip", 427 | "url": "https://api.github.com/repos/soundasleep/html2text/zipball/c820563170f5d3af666dbdb138a4a876997d1f7c", 428 | "reference": "c820563170f5d3af666dbdb138a4a876997d1f7c", 429 | "shasum": "" 430 | }, 431 | "require": { 432 | "ext-dom": "*", 433 | "ext-libxml": "*", 434 | "php": ">=5.3.2" 435 | }, 436 | "require-dev": { 437 | "phpunit/phpunit": ">=4.0", 438 | "soundasleep/component-tests": "dev-master" 439 | }, 440 | "type": "library", 441 | "autoload": { 442 | "psr-4": { 443 | "Html2Text\\": "src" 444 | } 445 | }, 446 | "notification-url": "https://packagist.org/downloads/", 447 | "license": [ 448 | "EPL-1.0" 449 | ], 450 | "authors": [ 451 | { 452 | "name": "Jevon Wright", 453 | "homepage": "https://jevon.org", 454 | "role": "Developer" 455 | } 456 | ], 457 | "description": "A PHP script to convert HTML into a plain text format", 458 | "homepage": "https://github.com/soundasleep/html2text", 459 | "keywords": [ 460 | "email", 461 | "html", 462 | "php", 463 | "text" 464 | ], 465 | "time": "2015-05-11 04:06:03" 466 | }, 467 | { 468 | "name": "zendframework/zend-crypt", 469 | "version": "2.4.8", 470 | "source": { 471 | "type": "git", 472 | "url": "https://github.com/zendframework/zend-crypt.git", 473 | "reference": "ec78d08abaa1a09b76b4b8161ba7d27a675e5bf1" 474 | }, 475 | "dist": { 476 | "type": "zip", 477 | "url": "https://api.github.com/repos/zendframework/zend-crypt/zipball/ec78d08abaa1a09b76b4b8161ba7d27a675e5bf1", 478 | "reference": "ec78d08abaa1a09b76b4b8161ba7d27a675e5bf1", 479 | "shasum": "" 480 | }, 481 | "require": { 482 | "php": ">=5.3.23", 483 | "zendframework/zend-math": "self.version", 484 | "zendframework/zend-servicemanager": "self.version", 485 | "zendframework/zend-stdlib": "self.version" 486 | }, 487 | "require-dev": { 488 | "fabpot/php-cs-fixer": "1.7.*", 489 | "phpunit/phpunit": "~4.0", 490 | "satooshi/php-coveralls": "dev-master" 491 | }, 492 | "suggest": { 493 | "ext-mcrypt": "Required for most features of Zend\\Crypt" 494 | }, 495 | "type": "library", 496 | "extra": { 497 | "branch-alias": { 498 | "dev-master": "2.4-dev", 499 | "dev-develop": "2.5-dev" 500 | } 501 | }, 502 | "autoload": { 503 | "psr-4": { 504 | "Zend\\Crypt\\": "src/" 505 | } 506 | }, 507 | "notification-url": "https://packagist.org/downloads/", 508 | "license": [ 509 | "BSD-3-Clause" 510 | ], 511 | "homepage": "https://github.com/zendframework/zend-crypt", 512 | "keywords": [ 513 | "crypt", 514 | "zf2" 515 | ], 516 | "time": "2015-05-07 14:55:31" 517 | }, 518 | { 519 | "name": "zendframework/zend-loader", 520 | "version": "2.4.8", 521 | "source": { 522 | "type": "git", 523 | "url": "https://github.com/zendframework/zend-loader.git", 524 | "reference": "5e62c44a4d23c4e09d35fcc2a3b109c944dbdc22" 525 | }, 526 | "dist": { 527 | "type": "zip", 528 | "url": "https://api.github.com/repos/zendframework/zend-loader/zipball/5e62c44a4d23c4e09d35fcc2a3b109c944dbdc22", 529 | "reference": "5e62c44a4d23c4e09d35fcc2a3b109c944dbdc22", 530 | "shasum": "" 531 | }, 532 | "require": { 533 | "php": ">=5.3.23" 534 | }, 535 | "require-dev": { 536 | "fabpot/php-cs-fixer": "1.7.*", 537 | "phpunit/phpunit": "~4.0", 538 | "satooshi/php-coveralls": "dev-master" 539 | }, 540 | "type": "library", 541 | "extra": { 542 | "branch-alias": { 543 | "dev-master": "2.4-dev", 544 | "dev-develop": "2.5-dev" 545 | } 546 | }, 547 | "autoload": { 548 | "psr-4": { 549 | "Zend\\Loader\\": "src/" 550 | } 551 | }, 552 | "notification-url": "https://packagist.org/downloads/", 553 | "license": [ 554 | "BSD-3-Clause" 555 | ], 556 | "homepage": "https://github.com/zendframework/zend-loader", 557 | "keywords": [ 558 | "loader", 559 | "zf2" 560 | ], 561 | "time": "2015-05-07 14:55:31" 562 | }, 563 | { 564 | "name": "zendframework/zend-mail", 565 | "version": "2.4.8", 566 | "source": { 567 | "type": "git", 568 | "url": "https://github.com/zendframework/zend-mail.git", 569 | "reference": "393b43c9f4d2d7109d44c49ac8a3be5809ca6b0c" 570 | }, 571 | "dist": { 572 | "type": "zip", 573 | "url": "https://api.github.com/repos/zendframework/zend-mail/zipball/393b43c9f4d2d7109d44c49ac8a3be5809ca6b0c", 574 | "reference": "393b43c9f4d2d7109d44c49ac8a3be5809ca6b0c", 575 | "shasum": "" 576 | }, 577 | "require": { 578 | "php": ">=5.3.23", 579 | "zendframework/zend-crypt": "~2.4.0", 580 | "zendframework/zend-loader": "~2.4.0", 581 | "zendframework/zend-mime": "~2.4.0", 582 | "zendframework/zend-stdlib": "~2.4.0", 583 | "zendframework/zend-validator": "~2.4.0" 584 | }, 585 | "require-dev": { 586 | "fabpot/php-cs-fixer": "1.7.*", 587 | "phpunit/phpunit": "~4.0", 588 | "satooshi/php-coveralls": "dev-master", 589 | "zendframework/zend-config": "~2.4.0", 590 | "zendframework/zend-servicemanager": "~2.4.0" 591 | }, 592 | "suggest": { 593 | "zendframework/zend-servicemanager": "Zend\\ServiceManager component" 594 | }, 595 | "type": "library", 596 | "extra": { 597 | "branch-alias": { 598 | "dev-master": "2.4-dev", 599 | "dev-develop": "2.5-dev" 600 | } 601 | }, 602 | "autoload": { 603 | "psr-4": { 604 | "Zend\\Mail\\": "src/" 605 | } 606 | }, 607 | "notification-url": "https://packagist.org/downloads/", 608 | "license": [ 609 | "BSD-3-Clause" 610 | ], 611 | "description": "provides generalized functionality to compose and send both text and MIME-compliant multipart e-mail messages", 612 | "homepage": "https://github.com/zendframework/zend-mail", 613 | "keywords": [ 614 | "mail", 615 | "zf2" 616 | ], 617 | "time": "2015-09-10 14:23:29" 618 | }, 619 | { 620 | "name": "zendframework/zend-math", 621 | "version": "2.4.8", 622 | "source": { 623 | "type": "git", 624 | "url": "https://github.com/zendframework/zend-math.git", 625 | "reference": "1e7e803366fc7618a8668ce2403c932196174faa" 626 | }, 627 | "dist": { 628 | "type": "zip", 629 | "url": "https://api.github.com/repos/zendframework/zend-math/zipball/1e7e803366fc7618a8668ce2403c932196174faa", 630 | "reference": "1e7e803366fc7618a8668ce2403c932196174faa", 631 | "shasum": "" 632 | }, 633 | "require": { 634 | "php": ">=5.3.23" 635 | }, 636 | "require-dev": { 637 | "fabpot/php-cs-fixer": "1.7.*", 638 | "phpunit/phpunit": "~4.0", 639 | "satooshi/php-coveralls": "dev-master" 640 | }, 641 | "suggest": { 642 | "ext-bcmath": "If using the bcmath functionality", 643 | "ext-gmp": "If using the gmp functionality", 644 | "ircmaxell/random-lib": "Fallback random byte generator for Zend\\Math\\Rand if OpenSSL/Mcrypt extensions are unavailable", 645 | "zendframework/zend-servicemanager": ">= current version, if using the BigInteger::factory functionality" 646 | }, 647 | "type": "library", 648 | "extra": { 649 | "branch-alias": { 650 | "dev-master": "2.4-dev", 651 | "dev-develop": "2.5-dev" 652 | } 653 | }, 654 | "autoload": { 655 | "psr-4": { 656 | "Zend\\Math\\": "src/" 657 | } 658 | }, 659 | "notification-url": "https://packagist.org/downloads/", 660 | "license": [ 661 | "BSD-3-Clause" 662 | ], 663 | "homepage": "https://github.com/zendframework/zend-math", 664 | "keywords": [ 665 | "math", 666 | "zf2" 667 | ], 668 | "time": "2015-05-07 14:55:31" 669 | }, 670 | { 671 | "name": "zendframework/zend-mime", 672 | "version": "2.4.8", 673 | "source": { 674 | "type": "git", 675 | "url": "https://github.com/zendframework/zend-mime.git", 676 | "reference": "df81ca9f94f0d1cd31175b8d2df6002b61dd5973" 677 | }, 678 | "dist": { 679 | "type": "zip", 680 | "url": "https://api.github.com/repos/zendframework/zend-mime/zipball/df81ca9f94f0d1cd31175b8d2df6002b61dd5973", 681 | "reference": "df81ca9f94f0d1cd31175b8d2df6002b61dd5973", 682 | "shasum": "" 683 | }, 684 | "require": { 685 | "php": ">=5.3.23", 686 | "zendframework/zend-stdlib": "self.version" 687 | }, 688 | "require-dev": { 689 | "fabpot/php-cs-fixer": "1.7.*", 690 | "phpunit/phpunit": "~4.0", 691 | "satooshi/php-coveralls": "dev-master", 692 | "zendframework/zend-mail": "self.version" 693 | }, 694 | "suggest": { 695 | "zendframework/zend-mail": "Zend\\Mail component" 696 | }, 697 | "type": "library", 698 | "extra": { 699 | "branch-alias": { 700 | "dev-master": "2.4-dev", 701 | "dev-develop": "2.5-dev" 702 | } 703 | }, 704 | "autoload": { 705 | "psr-4": { 706 | "Zend\\Mime\\": "src/" 707 | } 708 | }, 709 | "notification-url": "https://packagist.org/downloads/", 710 | "license": [ 711 | "BSD-3-Clause" 712 | ], 713 | "homepage": "https://github.com/zendframework/zend-mime", 714 | "keywords": [ 715 | "mime", 716 | "zf2" 717 | ], 718 | "time": "2015-05-07 16:53:42" 719 | }, 720 | { 721 | "name": "zendframework/zend-servicemanager", 722 | "version": "2.4.8", 723 | "source": { 724 | "type": "git", 725 | "url": "https://github.com/zendframework/zend-servicemanager.git", 726 | "reference": "855294e12771b4295c26446b6ed2df2f1785f234" 727 | }, 728 | "dist": { 729 | "type": "zip", 730 | "url": "https://api.github.com/repos/zendframework/zend-servicemanager/zipball/855294e12771b4295c26446b6ed2df2f1785f234", 731 | "reference": "855294e12771b4295c26446b6ed2df2f1785f234", 732 | "shasum": "" 733 | }, 734 | "require": { 735 | "php": ">=5.3.23" 736 | }, 737 | "require-dev": { 738 | "fabpot/php-cs-fixer": "1.7.*", 739 | "phpunit/phpunit": "~4.0", 740 | "satooshi/php-coveralls": "dev-master", 741 | "zendframework/zend-di": "self.version" 742 | }, 743 | "suggest": { 744 | "ocramius/proxy-manager": "ProxyManager 0.5.* to handle lazy initialization of services", 745 | "zendframework/zend-di": "Zend\\Di component" 746 | }, 747 | "type": "library", 748 | "extra": { 749 | "branch-alias": { 750 | "dev-master": "2.4-dev", 751 | "dev-develop": "2.5-dev" 752 | } 753 | }, 754 | "autoload": { 755 | "psr-4": { 756 | "Zend\\ServiceManager\\": "src/" 757 | } 758 | }, 759 | "notification-url": "https://packagist.org/downloads/", 760 | "license": [ 761 | "BSD-3-Clause" 762 | ], 763 | "homepage": "https://github.com/zendframework/zend-service-manager", 764 | "keywords": [ 765 | "servicemanager", 766 | "zf2" 767 | ], 768 | "time": "2015-05-07 14:55:31" 769 | }, 770 | { 771 | "name": "zendframework/zend-stdlib", 772 | "version": "2.4.8", 773 | "source": { 774 | "type": "git", 775 | "url": "https://github.com/zendframework/zend-stdlib.git", 776 | "reference": "d8ecb629a72da9f91bd95c5af006384823560b42" 777 | }, 778 | "dist": { 779 | "type": "zip", 780 | "url": "https://api.github.com/repos/zendframework/zend-stdlib/zipball/d8ecb629a72da9f91bd95c5af006384823560b42", 781 | "reference": "d8ecb629a72da9f91bd95c5af006384823560b42", 782 | "shasum": "" 783 | }, 784 | "require": { 785 | "php": ">=5.3.23" 786 | }, 787 | "require-dev": { 788 | "fabpot/php-cs-fixer": "1.7.*", 789 | "phpunit/phpunit": "~4.0", 790 | "satooshi/php-coveralls": "dev-master", 791 | "zendframework/zend-eventmanager": "self.version", 792 | "zendframework/zend-filter": "self.version", 793 | "zendframework/zend-serializer": "self.version", 794 | "zendframework/zend-servicemanager": "self.version" 795 | }, 796 | "suggest": { 797 | "zendframework/zend-eventmanager": "To support aggregate hydrator usage", 798 | "zendframework/zend-filter": "To support naming strategy hydrator usage", 799 | "zendframework/zend-serializer": "Zend\\Serializer component", 800 | "zendframework/zend-servicemanager": "To support hydrator plugin manager usage" 801 | }, 802 | "type": "library", 803 | "extra": { 804 | "branch-alias": { 805 | "dev-master": "2.4-dev", 806 | "dev-develop": "2.5-dev" 807 | } 808 | }, 809 | "autoload": { 810 | "psr-4": { 811 | "Zend\\Stdlib\\": "src/" 812 | } 813 | }, 814 | "notification-url": "https://packagist.org/downloads/", 815 | "license": [ 816 | "BSD-3-Clause" 817 | ], 818 | "homepage": "https://github.com/zendframework/zend-stdlib", 819 | "keywords": [ 820 | "stdlib", 821 | "zf2" 822 | ], 823 | "time": "2015-07-21 13:55:46" 824 | }, 825 | { 826 | "name": "zendframework/zend-validator", 827 | "version": "2.4.8", 828 | "source": { 829 | "type": "git", 830 | "url": "https://github.com/zendframework/zend-validator.git", 831 | "reference": "81415511fe729e6de19a61936313cef43c80d337" 832 | }, 833 | "dist": { 834 | "type": "zip", 835 | "url": "https://api.github.com/repos/zendframework/zend-validator/zipball/81415511fe729e6de19a61936313cef43c80d337", 836 | "reference": "81415511fe729e6de19a61936313cef43c80d337", 837 | "shasum": "" 838 | }, 839 | "require": { 840 | "php": ">=5.3.23", 841 | "zendframework/zend-stdlib": "~2.4.0" 842 | }, 843 | "require-dev": { 844 | "fabpot/php-cs-fixer": "1.7.*", 845 | "phpunit/phpunit": "~4.0", 846 | "satooshi/php-coveralls": "dev-master", 847 | "zendframework/zend-config": "~2.4.0", 848 | "zendframework/zend-db": "~2.4.0", 849 | "zendframework/zend-filter": "~2.4.0", 850 | "zendframework/zend-i18n": "~2.4.0", 851 | "zendframework/zend-math": "~2.4.0", 852 | "zendframework/zend-servicemanager": "~2.4.0", 853 | "zendframework/zend-session": "~2.4.0", 854 | "zendframework/zend-uri": "~2.4.0" 855 | }, 856 | "suggest": { 857 | "zendframework/zend-db": "Zend\\Db component", 858 | "zendframework/zend-filter": "Zend\\Filter component, required by the Digits validator", 859 | "zendframework/zend-i18n": "Zend\\I18n component to allow translation of validation error messages as well as to use the various Date validators", 860 | "zendframework/zend-math": "Zend\\Math component", 861 | "zendframework/zend-resources": "Translations of validator messages", 862 | "zendframework/zend-servicemanager": "Zend\\ServiceManager component to allow using the ValidatorPluginManager and validator chains", 863 | "zendframework/zend-session": "Zend\\Session component", 864 | "zendframework/zend-uri": "Zend\\Uri component, required by the Uri and Sitemap\\Loc validators" 865 | }, 866 | "type": "library", 867 | "extra": { 868 | "branch-alias": { 869 | "dev-master": "2.4-dev", 870 | "dev-develop": "2.5-dev" 871 | } 872 | }, 873 | "autoload": { 874 | "psr-4": { 875 | "Zend\\Validator\\": "src/" 876 | } 877 | }, 878 | "notification-url": "https://packagist.org/downloads/", 879 | "license": [ 880 | "BSD-3-Clause" 881 | ], 882 | "description": "provides a set of commonly needed validators", 883 | "homepage": "https://github.com/zendframework/zend-validator", 884 | "keywords": [ 885 | "validator", 886 | "zf2" 887 | ], 888 | "time": "2015-09-08 21:04:17" 889 | } 890 | ], 891 | "packages-dev": [], 892 | "aliases": [], 893 | "minimum-stability": "dev", 894 | "stability-flags": { 895 | "nfephp-org/nfephp": 20 896 | }, 897 | "prefer-stable": false, 898 | "prefer-lowest": false, 899 | "platform": { 900 | "php": ">=5.5.0" 901 | }, 902 | "platform-dev": [] 903 | } 904 | --------------------------------------------------------------------------------