Giter Site home page Giter Site logo

Comments (13)

MaatwebsiteSupport avatar MaatwebsiteSupport commented on May 3, 2024

Hey

Just tested your code. Works fine here.

I assume PHPOffice/PHPExcel is correctly installed in your vendor folder?

from laravel-excel.

mewben avatar mewben commented on May 3, 2024

Yes... Before I installed your package, composer shows an error that I cannot install your package since phpoffice/phpexcel is not stable enough. So I set my composer.json minimum-stability to dev and it installed fine.. Then I tried to run the first usage example in my routes.php. That is where I got this error.. Thanks for the reply by the way..

from laravel-excel.

mewben avatar mewben commented on May 3, 2024

Oops.. Sorry My bad.. syntax error... I forgot to put > in ->with(array('data', 'data'))... Sorry again.. Btw, is it possible to change the minimum stability of your package to stable?

from laravel-excel.

MaatwebsiteSupport avatar MaatwebsiteSupport commented on May 3, 2024

Hey, I changed to minimum stability to stable.

from laravel-excel.

mewben avatar mewben commented on May 3, 2024

I changed back my composer.json minimum stability to stable and I got this error.
image

from laravel-excel.

MaatwebsiteSupport avatar MaatwebsiteSupport commented on May 3, 2024

Could you try to reinstall all vendor packages, by removing the composer.lock and vendor folder and doing a composer install?

from laravel-excel.

mewben avatar mewben commented on May 3, 2024

In fact, I also tried the package with fresh install of Laravel.. I get the same error.. Hmmm..

from laravel-excel.

MaatwebsiteSupport avatar MaatwebsiteSupport commented on May 3, 2024

I changed it back to dev, untill I find out why it throws the error.

from laravel-excel.

mewben avatar mewben commented on May 3, 2024

Okay thanks.. :)

from laravel-excel.

MaatwebsiteSupport avatar MaatwebsiteSupport commented on May 3, 2024

I'm guessing it has to do with the stability of the PHPExcel package. Don't think I can change it to stable right now.

from laravel-excel.

mewben avatar mewben commented on May 3, 2024

Strange... But i can install phpoffice/phpexcel: dev-master package separately without errors using minimum-stability: stable...

from laravel-excel.

MaatwebsiteSupport avatar MaatwebsiteSupport commented on May 3, 2024

You should be able to install the package with an app minimum stability of stable now.

from laravel-excel.

mewben avatar mewben commented on May 3, 2024

Sorry, I still can't install even using fresh install of Laravel 4.1... :(

from laravel-excel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.