public function createFromComposer($file = 'composer.json'){
		$composer = $this->readComposerDotJson($file);
		
		//Default values
		$this->setNamespace('');
		$this->setDestinationFolder('generated\\');
		
		if(isset($composer['extra']) && isset($composer['extra']['paris-model-generator'])){
			$configuration = $composer['extra']['paris-model-generator'];
				
			//Namespace
			if(isset($configuration['namespace'])){
				$this->setNamespace($configuration['namespace']);
			}
				
			//Destination Folder
			if(isset($configuration['destination-folder'])){
				$this->setDestinationFolder($configuration['destination-folder']);
			}
		}
		
		//Licenses
		if(isset($composer['license'])){
			$licenses = $composer['license'];
				
			if(!is_array($licenses)){
				$licenses = array($licenses);
			}
				
			//Convert to another format
			foreach ($licenses as $license){
				$tag = array(
						'name'        => 'license',
						'description' => $license,
				);
				$this->addTag($tag);
			}
		}
		
		//Authors
		if(isset($composer['authors'])){
			$authors = $composer['authors'];
				
			//Authors
			foreach ($authors as $author){
				$tag = array(
						'name'        => 'author',
						'description' => $author['name'] . ' <' . $author['email'] . '>',
				);
				$this->addTag($tag);
			}
		}
	}