I’m in the process of writing a library in PHP, based on a Java package that comes with a BSD license.
The code will obviously not be the same as the original, but most class/method names, and the in-line documentation, will be the same.
Is a link the original Java library in the code documentation enough?
Can I then release my code with an MIT license?
3
You will have to include the original copyright notice (assuming that your code is close enough to be considered a derivative work), but you are allowed to append your own copyright notice using the MIT license. However, the terms of the two licenses are nearly identical; it might be easier just to leave it under a BSD license.
5