Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Kryptonit3's avatar

Laracasts forum code

I couldn't find this answered anywhere but is the code to this forum public/open source somewhere? Would love a plug&play forum code for a site I am working on.

0 likes
37 replies
JeffreyWay's avatar
Level 59

No - it's not available anywhere at the moment. I plan to open source it, but haven't found the time to do so just yet.

29 likes
Kryptonit3's avatar

any update on this? new forum looks awesome.

1 like
bashy's avatar

Start working on it yourself, will learn a lot trying to do it. Always people here to help you.

1 like
Kryptonit3's avatar

While I agree with this, (building one myself) I am currently focusing on getting my main app to work (has nothing to do with a forum, and this app is my first dabble in the art of 'Laravel') and would not favor investing even more time into building a forum (still have to finish the main app). Was quite interested in this, or any comparable snap-and-play forum code that had main function built (moderation, etc).

bashy's avatar

Yeah sure, it's just I wouldn't wait on something that may never be released as a package. There's a few forum packages around, have you tried them?

Kryptonit3's avatar

I have looked at a few, one is just an integration script that requires the user to be added twice, no global user control (forgot the name of it).

The one I am really interested in is Flarum. - https://github.com/flarum/core - I suppose I can nit pick some code here and there from a few different ones to mash into something usable.

jekinney's avatar

Granted your learning still, no matter your skill level we all are always learning. But reality is a decent forum can be made with laravel over a weekend. Forums are very similar to a blog. Categories, topics, replies along with a few permissions and done.

JeffreyWay's avatar

Having said that, there's actually a lot of moving pieces to a typical forum. So it's a lot more than just categories, topics, etc.

Things like Pusher integration, opt-in email notifications, mention alerts (Facebook-style), ratings, profiles, best answers, search, likes, etc.

4 likes
bashy's avatar

Still, to integrate them into your app isn't just a plugin . Everyone would want different things - which is why it's not a good idea to get into providing a forum software plugin package.

2 likes
dberry's avatar

"Still, to integrate them into your app isn't just a plugin . Everyone would want different things - which is why it's not a good idea to get into providing a forum software plugin package."

Why not? Everyone wanting different things, is a terrible reason for someone to not build a forum package.

A package can be built that easily allows users to not only customize different things, but also could even allow custom plugins or extensions to be added to it (pusher integration, opt-in email notifications, mention alerts (Facebook-style), ratings, profiles, best answers, search, likes, anything else your heart desires.)

At the very least, if someone wants something different that a package can't provide, well then, they just don't use it.

jekinney's avatar

In that case one could easily use SMF or PHPBB3 or any other form and just tie into the database.

bashy's avatar

@dberry I said "not a good idea to get into providing". Which was related to Jeffrey spending time to do that. I didn't say it was a bad idea to have a forum package. :)

connecteev's avatar

@JeffreyWay Really liking what you've done with https://laracasts.com/discuss, esp the enhancements (leaderboard, making it responsive, etc). Any idea when this code is going to be open sourced?

  1. esotalk is dead,
  2. Flarum (https://github.com/flarum/core) has a gorgeous UI but still early in development and uses ember, which I want to stay away from.
  3. FluxBB 2 is a joke which leaves no good laravel-based open source forum out there.
coopers98's avatar

Tagging to follow. Love the simplicity and way this works. Would love to see it become available =)

SCC's avatar

Personally I think it should stay as Laracasts rather than a ton of copies with the same layout and colours appearing all over the web. Which would happen.

As some have said, build your own! That's what this place is all about! Stop looking for the easy options...

2 likes
edubuc's avatar

Any news on the open sourcing of the laracasts forum ?

bugsysha's avatar

In some other thread I've read something that sounded like a great idea to me, forum software video series.

What do you say @JeffreyWay ?

I know it's not hard and many parts you have covered by some other videos but there are a tons of things that you can not think of until you run into them as major issue.

1 like
JeffreyWay's avatar

No plans, guys. Sorry - just isn't at the top of my list right now.

jlrdw's avatar

I really don't believe it should be open source folks roll up your sleeves and do your own programming, but by all means ask questions along the way while learning.

andy's avatar

I think it's up to Jeffery if he wants to open source or not.

@jlrdw

Your comment makes it sounds like I should be rolling all my own packages too instead of taking advantage of the DRY method. I actually would like to see a solid forum package so I don't have to spend hours on that part of what I'm building.

jlrdw's avatar

@andy let's see if I understand you correctly, you like slapping packages together to do your work rather than the enjoyment of programming it yourself? Did I read it right or did I read it wrong?
For me I like programming things myself I feel more like I accomplished something rather than letting another man do the work for me, but hey just a comment here that's just me and my opinion.
That's not to say I won't copy and paste some good code snippets from the internet or on this forum from time to time. When I did servlets and JSP stackoverflow was a big big help. But I still wrote my own code.
Have you looked at PHPrunner from Xlinesoft sounds like something you might be interested in, you can get away without writing any code whatsoever.

joedawson's avatar

@jlrdw someone came here to ask Jeffrey if he (still) had plans to open source, that's all that's happened here. You give off a pretty shitty vibe on these forums btw, always picking at peoples replies :)

1 like
jlrdw's avatar

@JoeDawson DRY stands for don't repeat yourself. I am actually trying to talk people into actually writing their own code in stead of letting someone else to write it for them. I once build my own tool shed in the backyard, and felt pretty darn good afterwards, yes I could have bought one pre-made but sometimes is nice to do things for ourselves that is all I am trying to preach on this forum sometimes, learn to program, quit depending on ready mades, you could actually invent something new writing your own code, a ready made you will never learn anything new.
For a while I actually programmed some autolisp, I had to write some routines that wasn't already built in to the package the company had, I learned then if you depend on prebuilt stuff there might be a new thing that will never be seen because the pre built does not already have it built in.

tykus's avatar

@jlrdw do you realise the irony of preaching quit depending on ready mades on a site dedicated to a framework?

I built my own home

Next

Please or to participate in this conversation.