PHILADELPHIA — Nick Foles will start another game for the Eagles Sunday, and whatever that means for his career, his job security or his confidence, he’s heard it all before.

He’s been written off. He’s been trusted. He’s been tossed into fierce job competition. He’s been given the job by default.

Late last year, Andy Reid made it his job to keep, at least until the end of the season.

Early last summer, Chip Kelly had other ideas.

This time, he is the starter only because Michael Vick remains injured and Matt Barkley was proven unready for the assignment.

The next time — if there is a next time — it might be for a different reason.

So for that, Foles has turned philosophical, if not a little cynical. He’ll play. That’s all. If that means he can play again, he will. If not, he won’t.

“I’ll focus on the here and now,” Foles said Thursday, after practice at the NovaCare Complex. “I’ve always believed that: You focus on the here and now and take care of that, and the rest of it will take care of itself.”

That was a different lyric to a similar melody that Foles belted out last year, when he expressed gratitude for the opportunity given to him by Reid to have the starting job for better or worse at the end of a decrepit Eagles season.

But from Kelly’s summertime decision to open the quarterback job to all candidates, to the reality that none of the three that he has tried has commandeered much job security, Foles has come to accept all opportunities in small doses.

He’ll start against the Raiders Sunday in Oakland, then let the scoreboard, the stat sheet and Kelly’s gut reactions determine what will happen the following week in Green Bay.

“Obviously, everybody has a goal of where they want to be,” Foles said. “But if you really put all of your focus into that, you forget about the present --- you forget about what it takes right this day to play well on Sunday. So I just focus on the here and now, and everything else will take care of itself.”

Foles became the Eagles’ here-and-now quarterback when Vick injured his hamstring Oct. 6 in New York, played well late in a victory over the Giants, then threw three touchdown passes as the Birds won in Tampa Bay.

Then, the Cowboys visited, forced Foles into a 37.9 quarterback rating, gave him a concussion and re-routed his career path. But as he missed the Eagles’ loss to the Giants last week, Vick was re-injured, his own headaches vanished. That meant he was back as the No. 1 quarterback, even if Kelly had that written in pencil, not ink.

He is at peace with the idea, confident that he will rebound from the Dallas disaster.

“It’s happened every year I have played sports,” Foles said. “I haven’t played every game great. I don’t think anybody has. We wish we could. It doesn’t always happen that way. Every year, there is adversity, in every sport I have ever played. I have played good games since then. So you refocus. You stay humble but you work hard and you play with confidence.”

That has been Kelly’s message. He has told Foles to trust his instincts, his arm, his ability --- to throw passes when he sees open receivers, not to wait, to think, to worry.

Not that he was deep in alternatives, but the Birds’ coach has seen enough renewed self-assurance from Foles in practice to trust him to keep the Eagles relevant in the droopy NFC East.

“I know how confident Nick is in practice,” Kelly said. “But practice and games are different things. I think he understands how he played in the Dallas game and how he is practicing right now. He’s practicing really well. We’ll see. But it’s a daily basis.”

That’s the deal, the latest one presented to Foles, one of plenty already in his two-year NFL career. That’s the deal he will take, at least until the next one is offered.