public function isStorageOk()
    {

        $storage = storage_path() . '/sde/' . $this->json->version . '/';
        $this->info('Storage path is: ' . $storage);

        if (File::isWritable(storage_path())) {

            // Check that the path exists
            if (! File::exists($storage))
                File::makeDirectory($storage, 0755, true);

            // Set the storage path
            $this->storage_path = $storage;

            return true;

        }

        return false;
    }
public function isStorageOk()
    {

        $storage = storage_path() . '/sde/' . $this->json->version . '/';
        $this->info('Storage path is: ' . $storage);

        if (File::isWritable(storage_path())) {

            // Check that the path exists
            if (! File::exists($storage))
                File::makeDirectory($storage, 0755, true);

            // Set the storage path
            $this->storage_path = $storage;

            return true;

        }

        return false;
    }
public function isStorageOk ( ) { $ storage = storage_path ( ) . '/sde/' . $ this -> json -> version . '/' ; $ this -> info ( 'Storage path is: ' . $ storage ) ; if ( File :: isWritable ( storage_path ( ) ) ) { // Check that the path exists if ( ! File :: exists ( $ storage ) ) File :: makeDirectory ( $ storage , 0755 , true ) ; // Set the storage path $ this -> storage_path = $ storage ; return true ; } return false ; }
Check that the storage path is ok. I needed it
will be automatically created.

@return bool
Check that the storage path is ok . I needed it will be automatically created .