diff --git a/src/Joomlatools/Console/Symlinkers/joomlatools-components.php b/src/Joomlatools/Console/Symlinkers/joomlatools-components.php
index <HASH>..<HASH> 100644
--- a/src/Joomlatools/Console/Symlinkers/joomlatools-components.php
+++ b/src/Joomlatools/Console/Symlinkers/joomlatools-components.php
@@ -47,6 +47,12 @@ Extension\Symlink::registerSymlinker(function($project, $destination, $name, $pr
         }
     }
 
+    $from = $project;
+
+    if (is_dir($project.'/code')) {
+        $from = $project.'/code';
+    }
+
     $code_destination = $code_folder.'/'.$component;
 
     if (!file_exists($code_destination))
@@ -57,7 +63,7 @@ Extension\Symlink::registerSymlinker(function($project, $destination, $name, $pr
             $output->writeln(" * creating link `$code_destination` -> $project");
         }
 
-        `ln -sf $project $code_destination`;
+        `ln -sf $from $code_destination`;
     }
 
     // Media folder always has com_ prefix
Add special handling for code/ folder in joomlatools components