If using dried chickpeas, soak them overnight in plenty of water. Drain and rinse them before cooking.
In a large pot, cover the chickpeas with fresh water and bring to a boil. Reduce heat and simmer for about 1-1.5 hours until tender. Drain and set aside.
Heat olive oil in a large pot over medium heat.
Add the chopped onion, garlic, carrot, and celery. Cook until softened, about 5-7 minutes.
Stir in the diced tomatoes, bay leaf, thyme, and rosemary. Cook for an additional 2 minutes.
Add the vegetable or chicken broth to the pot.
Bring to a boil, then reduce heat and let it simmer for 15 minutes.
Add the pasta to the pot and cook according to package instructions until al dente.
Stir in the cooked chickpeas. Simmer for an additional 5 minutes.
Remove the bay leaf.
Season with salt and black pepper to taste.
Ladle the soup into bowls.
Garnish with grated Parmesan cheese and chopped fresh parsley.
Enjoy your meal!