Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

smacy's avatar
Level 1

storage link between two project in server

i have three laravel project setup one for api used for mobile app ,one for web app and another for admin part

web app project is setup at shared hosting /home/garjoo5/webapp/garjoonepalweb mobile app api project is setup at shared hosing at /home/garjoo5/mobile/garjoomobile admin part is hosted at shared hosting at /home/garjoo5/admin/garjooadmin

all i want is when i upload file from mobile app and admin part then is should be stored/fetched from /home/garjoo5/webapp/garjoonepalweb directory

how can i create symlink in admin part and mobile app api Laravel project so that file must be stored in web app project directory ie /home/garjoo5/webapp/garjoonepalweb....

here is my web app project filesystem.php file

   'links' => [
        public_path('storage') => storage_path('app/public'),
        public_path('images') => storage_path('app/images'),
    ],

filesystem.php for mobile app and admin site project is

    'links' => [
        public_path('storage') => storage_path('app/public'),
    ],
0 likes
3 replies
smacy's avatar
Level 1

@jlrdw i think you did't get my question ....i want to store images in /home/garjoo5/webapp/garjoonepalweb directory from admin domain and api domain...

AliBayat's avatar

using s3 disks would be a better option.

just make a bucket, and configure the s3 filesystem in all your projects.

Please or to participate in this conversation.