public function removePackage($package)
    {
        $config = $this->getContent();
        if (isset($config['require'][$package])) {
            unset($config['require'][$package]);
            $this->setContent($config);
        }
    }
public function removePackage($package)
    {
        $config = $this->getContent();
        if (isset($config['require'][$package])) {
            unset($config['require'][$package]);
            $this->setContent($config);
        }
    }
public function removePackage ( $ package ) { $ config = $ this -> getContent ( ) ; if ( isset ( $ config [ 'require' ] [ $ package ] ) ) { unset ( $ config [ 'require' ] [ $ package ] ) ; $ this -> setContent ( $ config ) ; } }
Remove the package from composer requirements.

@param string $package
Remove the package from composer requirements .