Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

AngularJS
AngularJS

18.7K
11.3K
+ 1
5.2K
PHP
PHP

58.8K
14.7K
+ 1
4.3K
Add tool

AngularJS vs PHP: What are the differences?

AngularJS: Superheroic JavaScript MVW Framework. AngularJS lets you write client-side web applications as if you had a smarter browser. It lets you use good old HTML (or HAML, Jade and friends!) as your template language and lets you extend HTML’s syntax to express your application’s components clearly and succinctly. It automatically synchronizes data from your UI (view) with your JavaScript objects (model) through 2-way data binding; PHP: A popular general-purpose scripting language that is especially suited to web development. Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.

AngularJS belongs to "Javascript MVC Frameworks" category of the tech stack, while PHP can be primarily classified under "Languages".

"Quick to develop", "Great mvc" and "Powerful" are the key factors why developers consider AngularJS; whereas "Large community", "Open source" and "Easy deployment" are the primary reasons why PHP is favored.

AngularJS and PHP are both open source tools. It seems that AngularJS with 59.6K GitHub stars and 28.9K forks on GitHub has more adoption than PHP with 23.9K GitHub stars and 5.53K GitHub forks.

Facebook, Slack, and Lyft are some of the popular companies that use PHP, whereas AngularJS is used by Google, Lyft, and Udemy. PHP has a broader approval, being mentioned in 8911 company stacks & 2940 developers stacks; compared to AngularJS, which is listed in 2799 company stacks and 1865 developer stacks.

What is AngularJS?

AngularJS lets you write client-side web applications as if you had a smarter browser. It lets you use good old HTML (or HAML, Jade and friends!) as your template language and lets you extend HTML’s syntax to express your application’s components clearly and succinctly. It automatically synchronizes data from your UI (view) with your JavaScript objects (model) through 2-way data binding.

What is PHP?

Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.
Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Why do developers choose AngularJS?
Why do developers choose PHP?

Sign up to add, upvote and see more prosMake informed product decisions

What companies use AngularJS?
What companies use PHP?

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with AngularJS?
What tools integrate with PHP?

Sign up to get full access to all the tool integrationsMake informed product decisions

What are some alternatives to AngularJS and PHP?
JavaScript
JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.
Angular 2
Angular is a development platform for building mobile and desktop web applications.
React
Lots of people use React as the V in MVC. Since React makes no assumptions about the rest of your technology stack, it's easy to try it out on a small feature in an existing project.
Node.js
Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.
jQuery
jQuery is a cross-platform JavaScript library designed to simplify the client-side scripting of HTML.
See all alternatives
Decisions about AngularJS and PHP
No stack decisions found
Interest over time
Reviews of AngularJS and PHP
Review ofPHPPHP

source: w3techs.com

Rants about PHP are everywhere, but during the last years the language and the whole ecosystem has evolved.

The lastest versions support namespaces, closures, traits, generators and with composer a dependency manager that changed the way PHP developers work and collaborate.

How developers use AngularJS and PHP
Avatar of shridhardalavi
shridhardalavi uses AngularJSAngularJS

AngularJS is a structural framework for dynamic web apps. With AngularJS, designers can use HTML as the template language and it allows for the extension of HTML's syntax to convey the application's components effortlessly. Angular makes much of the code you would otherwise have to write completely redundant. We can use Angular to build any kind of app, taking advantage of features like: Two-way binding, templating, RESTful api handling, modularization, AJAX handling, dependency injection, etc

Avatar of Vladislav Moshynec
Vladislav Moshynec uses PHPPHP

Use the ipwhois.io IP lookup API to quickly and simply integrate IP geolocation into your script or website. Save yourself the hassle of setting up local GeoIP libraries and having to remember to regularly update the data.

GitHub

Avatar of ShadowICT
ShadowICT uses PHPPHP

We use PHP as our main backend preprocessor. Being a well established language, it is supported by a large community as well as a dedicated team of developers. It is used for much heavier projects that do not require realtime processes as well as being used in a hybrid system alongside NodeJS.

Avatar of Andrew Gatenby
Andrew Gatenby uses PHPPHP

PHP has been the backbone of what we've done at Visualsoft for years. We have lots of experienced people who have used it and know how to get the best out of it. It's come on leaps and bounds over recent years, and is the basis of pretty much everything we'll build with.

Avatar of Kalibrr
Kalibrr uses AngularJSAngularJS

All of our frontend code is on AngularJS. Directives, controllers, and services really help in organizing code in order to keep things maintainable, and two-way binding makes data input easy. The large ecosystem of modules for directives is fantastic, too.

Avatar of Ordius IT Solutions Pvt Ltd
Ordius IT Solutions Pvt Ltd uses PHPPHP

The reason being they are simple to learn and easy to implement apps on any size.

The learning curve for PHP and MySQL is less compared to MEAN. It’s advisable to learn PHP and MySQL if you want to have a taste of web-development or you are in a hurry.

Avatar of IPWHOIS.io - IP Geolocation API
IPWHOIS.io - IP Geolocation API uses PHPPHP

Use the ipwhois.io IP lookup API to quickly and simply integrate IP geolocation into your script or website. Save yourself the hassle of setting up local GeoIP libraries and having to remember to regularly update the data.

Avatar of Nikola Novakovic
Nikola Novakovic uses AngularJSAngularJS

When ever I need heavy user client side apps this is my tool of choice. There are a ton of JS frameworks out there, picked this one because of philosophy they are trying to put out there and great community. Two way data binding FTW!

Avatar of Yaakov Gesher
Yaakov Gesher uses AngularJSAngularJS

The front end was built on an Angular template supplied by the client. We leveraged Angular's flexibility and speed to delivered complex matrices of data quickly and with great finesse.

Avatar of InJoin
InJoin uses AngularJSAngularJS

We use Angular.js to build our front-end framework known as Frontkit, so our apps can get started faster with reliable, interactive components.

How much does AngularJS cost?
How much does PHP cost?
Pricing unavailable
Pricing unavailable