Zend certified PHP/Magento developer

how to create a Laravel composer library/extension? I see there is a vendor folder, should I create a project there and call the functions from Laravel App or is there some other way to make extensions?