I have an image storage filesystem on a remote server I use for more then one site.
I would like to write a simple adapter to interact with that server.
Does anyone knows about a sample adapter that should work more or less like a local adapter but access files via curl or even http?
Thank you Chris, but I have a complicated archive of over a million images reference by a complex database.
Images are stored as files and change this structure would be near to impossible. I just need to access the archive (get, put, delete) as if it was local using the storage filesystem of larval.
Unfortunately I could not find any documentation that specify how these adapters have to be written, what are the mandatory methods to expose and how to instal itl, so I was looking for some sample adapter to be inspired from.
Sorry for the delay.
I do not really understand what you are trying to achieve.
Do you want to develop a "file explorer"?
Or do you have a Laravel project and want to access those files?
If you just want an option to get the content of the files, you should be able to just "fopen" them with plain php.
Maybe you can describe better what you want to achieve?