SyntaxFix
Write A Post
Hire A Developer
Questions
If you are using post as a model (without dependency injection), you can also do:
$posts = Post::orderBy('id', 'DESC')->get();