C
C
chelkaz2016-02-28 19:49:16
phpstorm
chelkaz, 2016-02-28 19:49:16

Working with Laravel via ssh. It is possible to automatically create files on loc. and on the server?

I work through PHP Storm (connected via ssh to a remote server)
There is a folder for laravel
on the server. Laravel is installed on the computer (files without a server), I watch them in a storm.
The question is, is it possible to do this?
If I create a controller on the computer, for example, through a storm in the command line tools console :
php artisan make:controller PhotoController
Then it creates it on the computer and the storm sees it, but it does not appear on the server. It is possible to somehow do so that after creation, the storm automatically sends files to the server.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Silm, 2016-02-28
@Silm

You can, look in the Deployment settings.

A
Arthur, 2016-03-02
@astralo

Open in the settings of the remote host, look at the folders (the second tab is like) and delete all the server folders, there should be one directory on the local PC.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question