Giter Site home page Giter Site logo

Comments (6)

wtfzdotnet avatar wtfzdotnet commented on June 1, 2024

@MarkRedeman could you shed some light on this? :)

from laravel.

goranovs avatar goranovs commented on June 1, 2024

if I'm not mistaken vendor:publish must create tmdb.php file in Laravel's /config folder.

With fresh laravel 5.1 installation i'm fallowing the README: require the package, add the service provider to app.php and run php artisan vendor:publish --provider=php-tmdb/laravel.

Than the README says: "Next you can modify the generated configuration file tmdb.php accordingly."

But theres no such a file for me at /config. I had to create this file manually. The only tmdb.php file in my project is located in \vendor\php-tmdb\laravel\src\config

from laravel.

goranovs avatar goranovs commented on June 1, 2024

Ok, just "php artisan vendor:publish" its working as expeced with 5.1.

Copied File [/vendor/php-tmdb/laravel/src/config/tmdb.php] To [/config/tmdb.php]

from laravel.

mattkloc avatar mattkloc commented on June 1, 2024

Thank You Zaifor. I had the same issue.

from laravel.

wtfzdotnet avatar wtfzdotnet commented on June 1, 2024

Hey guys,

I'm not a laravel guy at all and the maintainer of this repo is @MarkRedeman, is it possible for you guys to send a pull request to update documentation or even the code itself to fix this?

I'll be happy to merge in some improvements.

Thanks

from laravel.

MarkRedeman avatar MarkRedeman commented on June 1, 2024

Sorry for the late reply, I've updated the readme. The command should have been:

php artisan vendor:publish --provider="Tmdb\Laravel\TmdbServiceProviderLaravel5"

Just php artisan vendor:publish will also work, but it will also publish configurations from other packages.

from laravel.

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.