- Name: Yenier Jimenez
- email: yjmorales86@gmail.com
- website: http://yenierjimenez.net
This PHP library provides a robust foundation for implementing frequently used features such as email delivery, Google reCAPTCHA v3 validation, input sanitization, and API integrations. It is designed to promote code reuse, improve maintainability, and ensure consistent behavior across diverse PHP projects.
Below is a list of the modules that have been implemented to date:
- SENDGRID
Includes two modules for managing emails with SendGrid. These modules can be easily integrated into Symfony projects by adding a new service.
Common\Communication\Mailer\SendGrid\Mailer:
class: Common\Communication\Mailer\SendGrid\Mailer
arguments:
- '%env(SENDGRID_API_KEY)%'
- '%personal_page_sender_email%'
- '%personal_page_sender_name%'
- For security reasons the sendgrid api key is held by an environmental variable
env(SENDGRID_API_KEY) - The parameters
personal_page_sender_emailandpersonal_page_sender_nameshould be defined also by the application.
App\Core\Comunication\Email\Mailer:
class: App\Core\Comunication\Email\Mailer
arguments: ['@mailer', 'sender_email@sample.com', 'admin@internal.com', 'Sender Name']
2) AUTO-PHONE-FORMAT (jQuery)
Includes a JavaScript helper that formats a text field’s value into the phone number pattern (###) ###-####.
3) ANTI-SPAMMING
Supports anti-spamming by using Google ReCaptchaV3
4) Phone number utilities and Twig Extension for phone formatting.
Contains utility classes and functions for handling phone number formatting and rendering phone numbers in Twig templates.
5) Random Data Generator
Includes components for generating random data such as names, last names, cities, and more.
6) Pheanstalkd implementation
Provides an implementation for interacting with Pheanstalkd, enabling seamless integration with the Beanstalkd queue system.
Yenier Jimenez
http://yenierjimenez.net
> yjmorales86@gmail.com