PHP is only for backend development and scripting. But JavaScript is everywhere. If you can't decide between the two, why not learn both. Also, as a PHP dev I would suggest you to go through these slides to know pros and cons of PHP. JavaScript and NodeJs is a must learn. Frameworks like AngularJS or Laravel are pretty much optional if you don't specialize in one field like frontend or backend.