Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remove/delete laravel project

Tags:

php

laravel-4

Hi I am trying to discover the laravel for the first time I started with laravel 4.2 I just created a new project but by mistaking I write the comand line like this

composer create-project laravel/laravel {wamp/www/myProject} 4.2 --prefer-dist

when I saw my www directory I found the project Phase is something like that C:\wamp\www\{wamp\www\myProject}

now I realized that creating the project command should be something like composer create-project laravel/laravel myProject 4.2 --prefer-dist

now can I solve this problem without deleting the project and recreate it again or should I delete and recreate project

and is it right to just go to my wampServer and delete the project manually or there is a special command to do so via the composer.

regards

like image 264
Yousef Altaf Avatar asked May 16 '16 10:05

Yousef Altaf


People also ask

How do I delete a laravel project?

You can just remove the directory with the content to delete the project. Optional you need to delete the database if you have one for the project to clean up the last part. On the other hand you also had to be administrator to put the content there.


2 Answers

Just delete the folder. Composer just facilitate to create a laravel project on your behalf with correct version and dependencies.

like image 155
Ranjeet Singh Avatar answered Oct 12 '22 21:10

Ranjeet Singh


I saw you received an answer. You accepted it.

But you know, that is not the actual solution.

Your Composer has its own command to help you deleting your needed one...

here it is:

rm -rf {{your project folder name}}

make sure that your composer opened in right folder direction.

That is,

When you are in your project folder, you can not delete it from here. you need to go outside of your current directory. This will only occur when you have opened your project in your IDE, doing works, and then you realise, you need to DELETE this project...

that means, you should make cd .. this command.

If this seems hard to understand, don't panic, just do

rm -rf {{your project folder name}}
like image 35
Osman Gani Khan Masum Avatar answered Oct 12 '22 23:10

Osman Gani Khan Masum