Can we use php with react js ?

My question is can we use PHP as a backend language with React JS? because most people use node js and python but I only know PHP so can we use PHP instead of any other backend language with React JS?
I know how to work in react js as a frontend but the issue is with backend and I don't want to hire any other developer I want to develop my whole website by my self so if any one know that how we can use PHP with react js then please let me know . Happy coding Thank you !

Discussion (1)

Please login to add a Comment

yes we can do that , we can create api's in php and just integrate them with react js that's it . You can choose any backend language all you have to do is just to make api and in frontend you can just integrate them using fetch or axios etc.