Code Monkey home page Code Monkey logo

Comments (9)

JeffreyWay avatar JeffreyWay commented on August 29, 2024

Hey, Ashley -

You need to run composer update to pull in the latest Laravel 4 beta, which now includes a Str class.

from laravel-4-generators.

clarkeash avatar clarkeash commented on August 29, 2024

Composer says that there is nothing to update. any ideas? :/

from laravel-4-generators.

JeffreyWay avatar JeffreyWay commented on August 29, 2024

Hmm, that's odd. Well. I'm certain that's the issue. Maybe try:

composer update --prefer-source

from laravel-4-generators.

clarkeash avatar clarkeash commented on August 29, 2024

That didnt work but I created a fresh L4 installation etc and all works fine, so I guess I may have broke something when I was testing things earlier today. Thanks.

from laravel-4-generators.

duellsy avatar duellsy commented on August 29, 2024

I've just had the same issue, with a completely fresh version of Laravel, I had the same issue a few days ago but figured it would get sorted so didn't mention anything then

Screen Shot 2013-02-25 at 3 14 06 PM

from laravel-4-generators.

duellsy avatar duellsy commented on August 29, 2024

Made a mod, and a pull request to fix this here: #8

from laravel-4-generators.

JeffreyWay avatar JeffreyWay commented on August 29, 2024

Well, the Str class is definitely in the latest version. See Illuminate/Support/Str.php. Make sure that you're using the latest version of v4.

from laravel-4-generators.

duellsy avatar duellsy commented on August 29, 2024

Looks like it comes down to the current laravel base getting version v4.0.0-BETA3 of laravel/framework which doesn't contain the Str class, that was added in about a week after this tag release.

Tried doing a composer update --prefer-source but to no avail, interested to see how you got the bleeding edge version of illuminate/framework?

My composer.json file has "laravel/framework": "4.0.*", and "minimum-stability": "dev"

from laravel-4-generators.

timalbert avatar timalbert commented on August 29, 2024

I am using the composer.json as duellsy and it is not pulling in Str.php, but looking at the github repo for the framework it is there: https://github.com/laravel/framework/tree/master/src/Illuminate/Support

I am fairly new to composer, any idea why its not pulling in the latest / all files?

from laravel-4-generators.

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.