Comments (19)
Can you tell me exactly what steps you took to see that error?
from laravel-4-generators.
I added "way/generators": "dev-master" to my composer.json and ran composer update .. after that I added the 'Way\Generators\GeneratorsServiceProvider' to the app.php file and I ran php artisan and the error then occurred.
from laravel-4-generators.
Are you using PHP 5.3 or below?
from laravel-4-generators.
PHP 5.4.4
from laravel-4-generators.
*5.4.1.0
from laravel-4-generators.
I am getting the same error. php 5.3.15
from laravel-4-generators.
It's using the 5.4 syntax for arrays. I'll fix that right now, so that 5.3 users won't have any problems.
from laravel-4-generators.
Awesome cheers :)
from laravel-4-generators.
Okay, a composer update will bring in the new changes.
from laravel-4-generators.
Works! Cheers!
from laravel-4-generators.
Christian - just a note that, if the array issue was in fact the problem, that means that you're not using PHP 5.4. Do you maybe have two versions on your computer?
from laravel-4-generators.
Actually the fatal still occurred after running php artisan (after running composer update), I am running MAMP and have specifically set Php 5.4.1.0 and the same fatal with 'Parse: parse error in vendor/way/generators/src/commands/GenerateResourceCommand.php line 63'
from laravel-4-generators.
Just added info.php and it confirms php 5.4.10
from laravel-4-generators.
Your command line may not be utilizing php54
Run 'which php' - what does it say?
On Feb 20, 2013, at 12:41 PM, Christian Ramsey [email protected] wrote:
Just added info.php and it confirms php 5.4.10
—
Reply to this email directly or view it on GitHub.
from laravel-4-generators.
Comes back as so : /usr/bin/php
from laravel-4-generators.
And when you do php -v
?
from laravel-4-generators.
Ahh 5.3.15 with Suhosin-Patch
from laravel-4-generators.
Yeah, there's your problem. You have two versions of PHP on your computer.
from laravel-4-generators.
Great catch lads,
I am updating the php from php-osx.liip.ch, is this the correct way to go about it, or should I be pointing to the php that is being used on Mamp?
from laravel-4-generators.
Related Issues (20)
- Route message after generate:resource without controller
- install on mac Error HOT 1
- Generation of Controllers HOT 1
- Any updates for Generators and L5 (as of 2015.01.26 build) HOT 2
- The "--templatePath" option requires a value.
- route model binding by default for scaffolding?
- Not working on local development HOT 6
- controller generation error in L5 HOT 1
- 'Call to undefined method [package] HOT 3
- L5 and the Generators -- my thoughts HOT 4
- Readme part for Laravel 4.2 explains it twice
- The ReadMe needs fixing
- Generator namespace command option
- npm install in windows 8.1 problem
- php artisan make:seed is not run properly
- use foreach in templates.txt
- Using same table for both sides of pivot creates invalid migration
- Handling on production server HOT 2
- Application::share() HOT 1
- Hello, I could not run it in 5.6! HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravel-4-generators.