More often than not, after getting started on a task and doing it for 5-10 minutes, the strong feeling of not wanting to work goes away.
Learn something new with every project. If necessary, take some unbilled extra time and figure out how to do something better than in your last project. Your client will be happy and you will become better, faster and stronger.
Have a personal wiki, or share one with your team. Document stuff. Save code snippets. You can thank me later.
If you get stuck with a problem, write a blog post about it.
Traffic Helping out other people is always good, and it will leave a good impression of you for potential future employers.
Seek out a mentor online. Hackerbuddy is a great place to start. PHP Mentoring is another place to consider. I’m an autodidact and I know you can learn everything by yourself, but learning from more experienced or smarter people than you can save you a lot of time.
“You know that feeling when you just don’t want to study? THAT’S WHEN YOU STUDY!“
– from reddit
I’ve come to believe that there is no magical method that will somehow make you do things you don’t want to do. You will simply have to ignore the fact that you don’t want to, and get stuff done.
And yes, once you get started it will suck, but again, that doesn’t really matter.
Stay away from online games.
They are evil in its purest form.