dakota / CakeExcel

A plugin to generate Excel files with CakePHP. Uses the PHPExcel library.
MIT License
22 stars 25 forks source link

Branch for CakePHP 3.x is not working with Composer. #9

Closed icaroscherma closed 8 years ago

icaroscherma commented 8 years ago

Shell output:

composer require dakota/cake-excel 3.1.x-dev
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - The requested package dakota/cake-excel could not be found in any version, there may be a typo in the package name.

Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your minimum-stability setting
   see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.

Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.

Installation failed, reverting ./composer.json to its original content.

If I use composer show dakota/cake-excel:

name     : dakota/cake-excel
descrip. : CakePHP excel generator
keywords : PHPExcel, cakephp, dakota, excel
versions : * v1.0.1
type     : cakephp-plugin
license  : MIT License (MIT) (OSI approved) https://spdx.org/licenses/MIT.html#licenseText
source   : [git] https://github.com/dakota/CakeExcel.git 70ded98cb97038a6c41a8e19c4cbb06838cd5897
dist     : [zip] https://api.github.com/repos/dakota/CakeExcel/zipball/70ded98cb97038a6c41a8e19c4cbb06838cd5897 70ded98cb97038a6c41a8e19c4cbb06838cd5897
names    : dakota/cake-excel

requires
composer/installers *
php >=5.2.0
phpexcel/phpexcel ~1.7.0
antograssiot commented 8 years ago

@icaroscherma $ composer require dakota/cake-excel 3.0.x-devas shown on packagist

@dakota any plan for tagging a real 2.x release for 3.x serie ?

josegonzalez commented 8 years ago

Boom, I just tagged v2.0.0.

antograssiot commented 8 years ago

the Readme needs an update though @savant @dakota no need for

public $components = [
    'RequestHandler' => [
        'viewClassMap' => [
            'xlsx' => 'CakeExcel.Excel',
        ],
    ]
];

if you use boostrap => true right ?

josegonzalez commented 8 years ago

I assume some people will fuck that step up so better safe than sorry.