Next.js Discord

Discord Forum

stick with PHP or move this project to Next.JS

Unanswered
Transvaal lion posted this in #help-forum
Open in Discord
Transvaal lionOP
I have a quick question, I’m currently prototyping an idea using this php setup - https://github.com/Shirisu/autoPetiteTCGScript. Quick overview is it’s a script that allows custom made trading card collecting, pack opening, trading and games to earn more packs. I don’t want any NfT stuff, I just want to make cards and then people collect them!

Now php isn’t my language of choice, and I would love to redesign this in JS and more than likely Next.js as a personal project. Is this scope achievable? Easier? Or should I spend a few weeks/month or 2 learning php more in depth?

Thanks

21 Replies

Transvaal lionOP
Thanks for the quick reply, everything I have ever done has been css/html/js and react, I want to learn next.js next. I just came across this code that is basically everything I want to do, and my minds getting pulled left and right.
I don’t want to reinvent the wheel, especially if the scope to achieve it will be beyond capability for a year or so
Kawakawa
Yeah, just leave PHP behind - it'd be best for your future and more.
@Transvaal lion I don’t want to reinvent the wheel, especially if the scope to achieve it will be beyond capability for a year or so
Kawakawa
Yeah. I mean the only good thing PHP has going for it is Laravel, but even that's really iffy. And then other than that, everything else (on the whole) is mainly better in JS/TS.

Only other thing I know of which PHP serves a purpose for these days is (iirc) Minecraft Bedrock server plugins.
That's it :kek:
Transvaal lionOP
Appreciate it, I don’t want to go down thelaravel route. I’ll try and dissect the php script and see how things are being achieved and then keep to my initial thought of js/react
Kawakawa
Sure, sounds good.

And hey, if it's any help: https://roadmap.sh/frontend
Good luck! 🙏
Transvaal lionOP
Thanks appreciate it
Asian black bear
Do you even need to write code to use the php thing?
It looks like a ready to deploy app
Transvaal lionOP
It’s a ready to deploy app in the state that it is in, however there are things that would need changing to suit my needs, card sizes different/ aesthetics/ the way I want to handle making and delivering the cards. Not big things, but enough stuff for me to know a decent amount about the code base
and as someone who has hacked on a PHP app like that, don't worry you won't become an expert on it
Transvaal lionOP
I might spend a week or so on the php, see where I can get to. I just think a more modern approach might be better long term
@Transvaal lion I might spend a week or so on the php, see where I can get to. I just think a more modern approach might be better long term
Asian black bear
I feel like i have seen a fairly popular GitHub for a react project like this
Transvaal lionOP
Ahhh if you ever come across it let me know, I’ve been looking but all I can find is like 4 or 5 php versions so far