1

i'm quite new with laravel and composer. I've made a project previously and that works like a expected. Now i've started a brand new project 'bloemenn' in phpstorm choose composer project for type and installed laravel. When i run the project i see the welcome page of laravel. So far so good

But now i'm trying to make a controller with the command line tool but every command i execute points to my very first directory project i ever made. So the controls are made but in the wrong directory.

so when i execute following command in phpstorm for project bloemenn:

Artisan make:controller indexController

i get following result:

/Applications/MAMP/bin/php/php5.6.7/bin/php /Users/u-123/project-test/laravel/artisan make: indexController

so the controller is made in project laravel instead of directory of project bloemenn

Anyone have any idea how i can fix this, i have this issue for every new composer project i start up?

1
  • php artisan make:controller indexController ? Are you executing it in Terminal, in vagrant ssh -> in directory path? Commented Dec 24, 2015 at 15:19

1 Answer 1

1

ok,

found it myself

under preferences->Tools->Command Line Tools Support can you specify witch to uses mine all pointed to my first project

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.