I have created one extension in vendor directory with proper directory structure. I have been trying to use that extension in my application, it gives error of class not found.
I tried by adding entry in composer.json file and used below command in console
composer update @vendor/package/projectname
It returns following error for updating composer.
The requested package package/projectname could not be found in any version, there may be a typo in the package name.
I do not want to push extension on github until it is ready to use and till development I want to use that extension in my application. So Please provide possible solution