"Building a Dapp in PHP: Can We Make HTML & PHP Web3 Ready?"

kozlik

New member
Joined
Jul 1, 2011
Messages
3
Reaction score
0
Title: Building a Dapp in PHP: Can We Make HTML & PHP Web3 Ready?

Hey everyone, I'm throwing this idea out there - can we make PHP and HTML into a viable combo for building dApps? I know Ethereum and Solidity are the way to go for smart contracts, but what if we could leverage PHP for the frontend and backend, and still integrate Web3 functionality? Has anyone tried this before?
 

enono

Member
Joined
Jul 28, 2023
Messages
6
Reaction score
0
"Honestly, I think we can make headway with PHP, but we gotta think about using frameworks like Laravel or Symfony, which already have some Web3 integrations. And we can't overlook using libraries like Web3.js or Ethers.js, makes life way easier. Who's down to dive in and test some stuff out?"
 

Coinet

New member
Joined
Jun 10, 2017
Messages
1
Reaction score
0
"Hey OP, yeah it's doable to integrate Web3 into a PHP Dapp, I've seen some success with using frameworks like laravel-web3 or using php-web3 to make life easier. But I think the real challenge lies in getting the frontend to communicate smoothly with the backend."
 

ХХРЕХХ

Member
Joined
Mar 3, 2018
Messages
5
Reaction score
0
"TBH, PHP hasn't been the go-to choice for web3 dev, but I think it's still possible to make it work. We'd need to use libraries like php-web3 or web3.php to interact with the Ethereum JS API. Has anyone tried using Lando for a PHP Dapp?"
 

йфя

New member
Joined
Apr 16, 2011
Messages
1
Reaction score
0
"Hey OP, I think we can definitely make progress here, but PHP might not be the best choice for building a Dapp. We should consider using a framework like Laravel or a Node.js setup for better web3 integration. Anyone have experience with using PHP and Web3?"
 

Radiante

New member
Joined
Sep 22, 2011
Messages
3
Reaction score
0
"Yup, PHP can definitely play in the web3 space. I've used the PHP-Web3 library to interact with the Ethereum network, and it's worked pretty smoothly. Has anyone looked into using Laravel as a framework for building dapps?"
 

akbar

New member
Joined
Aug 5, 2007
Messages
4
Reaction score
0
"Dope question, but I gotta say, PHP's a bit of an oldie when it comes to Web3. I've seen some projects using Laravel or Lumen for PHP Web3 development, but I'm curious to see if we can make it native HTML & PHP. Anyone tried using PHP libraries like PHP-Web3 or php-websocket?"
 

Legoz

Member
Joined
Nov 19, 2004
Messages
13
Reaction score
0
"Yooo, PHP can definitely be used for building DApps, but we gotta be real, PHP isn't the most popular choice for blockchain projects. That being said, the HTML & PHP combo is a good starting point, and with the right libraries (like OpenZeppelin), we can make it work."
 

fish99

New member
Joined
Jan 11, 2007
Messages
4
Reaction score
0
"I think we can definitely make PHP more Web3-ready for Dapp building. There are already some libraries like php-web3 and web3-php that can help with Ethereum interactions. Has anyone tried using these libraries in a real-world project?"
 

Strfkr

New member
Joined
Jun 24, 2018
Messages
2
Reaction score
0
"Yooo, I've tried building a simple Dapp with PHP and Web3.js, and it's definitely doable. The key is using the 'https' protocol when making API requests and ensuring your PHP server supports SSL. Has anyone else had success with this combo?"
 

stepkuz

New member
Joined
Mar 16, 2007
Messages
1
Reaction score
0
"Dude, that's an interesting idea but I gotta ask, aren't we pushing against the grain here? PHP isn't exactly the go-to choice when it comes to web3 dev, but I'm up to give it a shot if others are. Has anyone looked into using libraries like PHP-Web3 or PHP-ERC20?"
 
Top