Hi, I am wondering if anyone knows of any open script that is made in Laravel that can edit code through the browser? The type of thing I wanted is like IceCoder. The problem is now I use only Laravel I dont understand how to use non-laravel code. One example is I recently used Adminer and some amazing dude made a modified version for Laravel, which I got working and its great,
The purpose is, if I am on a computer that has a web browser then thats all I need to log into my site and continue its development. Maybe that lunch break at work when you have no admin rights and locked down ports.
So my question is, does anyone know of web based laravel code editors, or maybe tell me the difficulty of adapting something like IceCoder to work in laravel?
Thanks,
Laravel is just a PHP framework so there shouldnt be any reason you cannot use IceCoder with it. There does not seem to be any extensions for laravel but if you just make sure to read the docs and watch some laracasts, you should be good to go :)
thanks for the reply. So if I copy the source into a Vendor \ Folder. I can make a route somehow open the php page there? Do you have any suggestion I can try for the route? I am beginner and I wouldn't even know what to search for to get the information.
It seems I need to point to a controller from my route. I know how to open blade templates from there but I dont know how I would point to a non-laravel php file. Any ideas?
I have personally used ShiftEdit when learning laravel. I connected it to my website using SFTP and was able to edit my files directly on the server through the website. Where is your website hosted? On a computer at home or at a hosting company?
I have never used IceCoder myself but I would expect it to work somewhat the same?
wow I thought that was actually my solution. I tried to open my SFTP from shiftedit but it only shows the folders and wont open subfolders or show any files at all. Not sure what's wrong there.
Also the $6 a month fee is there, but I'm half tempted to say thats fair considering how useful this would be.
To answer your question my site is hosted on a VPS.
Icecoder is not hosted by 3rd party, its some free php source files you download and put into your site. Then you just open the php file and it allows you to edit any local files on that same webserver. Its not written in Laravel so I have no clue how to tell Laravel to open it if I navigate to mysite.com/icecoder I guessed I need a route to point to a controller which has some code to jump to the php file? :-S
I did try and use Komodo which is a similar approach to sublime text remote method. But since I use computers that have port blocking I cant access the sftp or mysql etc. Thats why web based would be ideal.
I believe I did try and put it in the public folder and just typed the direct url to the file, but the page seemed to be completely blank. But I will try it again tonight.
Hey Sinnbeck I just wanted to come back and say thank you for all your advise. I tried Shiftedit and their sftp system did not like my VPS at all. I totally gave up. So I thought I would try your other suggestion codeanywhere. Oh man what a delight. The sftp on there worked right away and I am prefering its colour schemes too. Half the subscription price too, what a result. Really happy can't thank you enough for the guidance ;-)