Heat the olive oil in a Dutch oven or other large heavy pot over medium-high heat. Add the onion, carrot and celery and cook, stirring often, for 8 minutes.
Add the garlic and cook, stirring, for 30 seconds.
Stir in the vegetable broth, crushed tomatoes, dried basil, dried oregano, Italian seasoning, salt, black pepper and crushed red pepper flakes (if using). Bring to a boil. Reduce the heat to a simmer, cover, and cook for 15 minutes.
Stir in the pasta. Simmer, covered, stirring every few minutes (to prevent the pasta from sticking to the bottom of the pot), until the pasta is cooked to al dente and the vegetables are tender, about 8-12 minutes.
Stir in the beans. Simmer the soup for 1-2 minutes to warm the beans. Remove the pot from the heat.
Taste and season with additional salt and pepper if needed. Serve with grated Parmesan cheese and chopped fresh parsley, or as desired.