'Laravel + Lumen : save image to storage

if I have Laravel project save images in storage like this :

public function storeImage()
    {
        $this->orderimage->storePubliclyAs('images',$this->ordercusID.str_replace('-', '', now()->format('Y-m-d-H-i-s')).'.'.$this->orderimage->extension(),'public');
        $this->orderimageName = $this->ordercusID.str_replace('-', '', now()->format('Y-m-d-H-i-s')).'.'.$this->orderimage->extension();
    }

also I have Lumen api to recieve data from mobile app and insert them into database, the data contain image url,now I want in Lumen project save the image into Laravel app storage,

is tha possible?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source