I want my application symfony2 to be encrypted and closed source for developers, i have used zendguard the index page is working but when it call other pages it give me an annotation exception :
[Semantical Error] The annotation "@ORM\Table" in class SevenDaysTrade\GestionDeStockBundle\Entity\Produit was never imported. Did you maybe forget to add a "use" statement for this annotation?
Did someone know other solution? or something make my symfony app closed source?
Does the entity work properly before encoding your project with Zend Guard?
Is the following at the top of your entity class?
Note that you can't just
use Doctrine\ORM\Mapping
because the annotation is@ORM\Table
.