Fantasy Football Team Names
August 10th, 2006
I am a big fantasy football guy. I have been playing fantasy football since 1998 and have done pretty well over the years. However, at the beginning of each season I struggle to find a team name worthy of my future league champions.
Because necessity is the mother of invention (and because I’m a geek), I started a project to build my own fantasy football team name generator using PHP. I wouldn’t consider myself a programmer of any particular merit, but it was a pretty easy task even for a beginner.
The key to the generator is populating several arrays, each holding a list of words to build the name of our fantasy football team. $adj holds mainly a list of adjectives, $noun holds mostly nouns, and $pnoun holds mostly plural nouns.
Then we simply take a random word from each list and put it together to form the fantasy football team name.
$first = $trim($adj[rand(0, sizeof($adj)-1)]);
Repeat the random selection from the $noun and $pnoun arrays and put the selections together to get the final $generatedname and display that to the user.
I added several additional features to my Fantasy Football Team Name Generator. First, I put it in a loop to display more than one value, which can be set by the user via a form. Also, I allowed overriding the random selection from the $adj array with your name so the result “Hungry Death Monkeys” becomes “Seth’s Death Monkeys”. I also added an option to limit the output to 20 characters to comply with Yahoo leagues.
If you have any questions, or generate a particularly enjoyable fantasy football team name, just let me know by adding a comment below. I hope you find a name worthy of your future league champions. Enjoy!
6 Comments Add your own
1. Ryan | December 12th, 2006 at 11:17 am
Nice Fantasy Football name generator you got there! There were some pretty good names generated. Ryan’s Nickel Nuts was my favorite, but Ryan’s Diaper Dorks was a close second. That’s pretty sweet that you engineered that thing by yourself.
2. Seth | December 12th, 2006 at 11:21 am
Ryan,
Thanks for the kudos. Unfortunately, having a cool name for your fantasy football team doesn’t mean they’ll win any more games for you. :)
3. T.J. Strickler | August 4th, 2007 at 8:07 am
funny names…
4. Jonathan | August 21st, 2008 at 2:29 pm
Hey, I came upon your Fantasy Football Team Name generator today…and I must say it’s pretty brilliant. Do you think you could give me the source code?
Thanks!
5. Seth | August 21st, 2008 at 9:23 pm
@Jonathan – I’m reluctant to give away the source as is simply because several sites have already ripped it off. However, if you’re starting a similar project, I’d be more than happy to share pieces of it with you, and help you out if you get stuck.
6. Jason | November 16th, 2008 at 6:07 pm
these names are funny as heck. They are so funny I’m changing my name mid-season. You could really make some money with these.
Leave a Comment
Subscribe to the comments via RSS Feed