yii2 need on every device I work on?

Hi all,

I’m new to yii2 (or rather new to frameworks for that matter) and am reading up tutorials. I have probably simple questions but would like to know before I soak myself in yii2.

I installed yii2 advanced option on one of my PCs (say PC1) with git and a remote git repository. Assume some work was done on PC1 and its source code was pushed to a remote repository. Now let’s say I’d like to continue the work on another PC (say PC2).

Q1) Will cloning its repository onto PC2 make everything work? (say DB and apache are identical) Or do I need to install yii2 on PC2 as well for this website to work properly?

Q2) If that’s the case, I’d assume I wouldn’t be able to work on it on some android devices if I can’t install yii2?

Q3) Also, to publish its website, I would need to find a web hosting service that has yii2 installed?

I’d appreciate any comments.

Thank you in advance.

-gibb