src/LaravelDeployer/ConfigFile.php
public function store($path = 'config' . DIRECTORY_SEPARATOR . 'deploy.php')
    {
        $path = base_path($path);

        if (! is_dir(dirname($path))) {
            mkdir(dirname($path), 0777, true);
        }

        $this->filesystem->put($path, (string) $this);

        return $path;
    }
public function store($path = 'config' . DIRECTORY_SEPARATOR . 'deploy.php')
    {
        $path = base_path($path);

        if (! is_dir(dirname($path))) {
            mkdir(dirname($path), 0777, true);
        }

        $this->filesystem->put($path, (string) $this);

        return $path;
    }
public function store ( $ path = 'config' . DIRECTORY_SEPARATOR . 'deploy.php' ) { $ path = base_path ( $ path ) ; if ( ! is_dir ( dirname ( $ path ) ) ) { mkdir ( dirname ( $ path ) , 0777 , true ) ; } $ this -> filesystem -> put ( $ path , ( string ) $ this ) ; return $ path ; }
Parse the `config.stub` file and copy its content onto a new
`deploy.php` file in the config folder of the Laravel project.

@return string
Parse the config . stub file and copy its content onto a new deploy . php file in the config folder of the Laravel project .