Adopt if:
iban, email fields).Look elsewhere if:
*"The AssoConnect Validator Bundle is a strategic investment to reduce costs, improve compliance, and accelerate development in our Symfony applications. Here’s why it’s a no-brainer:
Ask: Should we prioritize this for our next Symfony release to unlock these efficiencies?"
*"The AssoConnect Validator Bundle is a game-changer for how we handle validation in Symfony. Here’s what it solves for you:
@Assert annotations with concise @AssoConnectAssert constraints (e.g., @Email(), @FrenchSiren()). For example:
#[AssoConnectAssert\FrenchSiren()]
private string $sirenNumber;
is cleaner and more maintainable than manually combining @Length, @Regex, and @NotBlank.@Entity() constraint automatically applies validators based on Doctrine types. For instance:
#[AssoConnectAssert\Entity()]
class BankAccount {
#[ORM\Column(type: 'iban')]
public string $iban;
}
is equivalent to manually writing @Iban(), @Length(27), and @NotNull(). No more guesswork!class CustomEmailValidator extends EmailValidator {
protected function validateEmail(string $email): bool {
// Custom logic here
}
}
How to Start:
composer.json: composer require assoconnect/validator-bundle.@AssoConnectAssert constraints in your entities/DTOs.Ask: Which validation pain points should we tackle first with this bundle? (e.g., user onboarding, payments, or geolocation?)"*
How can I help you explore Laravel packages today?