{"id":22327189,"url":"https://github.com/yjmorales/php-core","last_synced_at":"2026-04-22T16:36:04.950Z","repository":{"id":62372612,"uuid":"352682807","full_name":"yjmorales/php-core","owner":"yjmorales","description":"This library is designed for PHP projects, providing reusable implementations of common tasks to streamline development across multiple applications.","archived":false,"fork":false,"pushed_at":"2025-08-05T19:42:18.000Z","size":143,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-05T21:09:01.756Z","etag":null,"topics":["enum","logger","mailer","pheanstalkd","phone-format","php","queueing","recaptcha-v3","redis","sendgrid","supervisord","validation"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yjmorales.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-03-29T14:59:20.000Z","updated_at":"2025-08-05T19:41:44.000Z","dependencies_parsed_at":"2024-05-03T22:31:01.190Z","dependency_job_id":"9a9428f8-3875-4da0-b6e6-aadfcacd8d73","html_url":"https://github.com/yjmorales/php-core","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"purl":"pkg:github/yjmorales/php-core","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjmorales%2Fphp-core","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjmorales%2Fphp-core/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjmorales%2Fphp-core/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjmorales%2Fphp-core/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yjmorales","download_url":"https://codeload.github.com/yjmorales/php-core/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjmorales%2Fphp-core/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32145869,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-22T15:33:03.595Z","status":"ssl_error","status_checked_at":"2026-04-22T15:30:42.712Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["enum","logger","mailer","pheanstalkd","phone-format","php","queueing","recaptcha-v3","redis","sendgrid","supervisord","validation"],"created_at":"2024-12-04T03:08:40.896Z","updated_at":"2026-04-22T16:35:59.941Z","avatar_url":"https://github.com/yjmorales.png","language":"PHP","readme":"# PHP Core Library\n\n## Author\n\n- Name: Yenier Jimenez\n- email: yjmorales86@gmail.com\n- website: http://yenierjimenez.com\n\n## About the project\n\nThis library is built to be used by PHP Projects. The intention is to implement common \ntasks for many projects like email delivery, Google Recaptcha V3 validations, etc.\n\n\nBelow are described the modules already implemented.\n\n### Content\n\n\u003cbr\u003e\n\n-\u003e\u003e\u003e\u003e 1) SENDGRID\n\n\nHolds two modules to manage emails using sendgrid. This module can be reused\nby Symfony projects by adding a new service:\n\n#### First Implementation\n    Common\\Communication\\Mailer\\SendGrid\\Mailer:\n        class: Common\\Communication\\Mailer\\SendGrid\\Mailer\n            arguments:\n            - '%env(SENDGRID_API_KEY)%'\n            - '%personal_page_sender_email%'\n            - '%personal_page_sender_name%'\n    \n - For security reasons the sendgrid api key is held by an environmental variable `env(SENDGRID_API_KEY)`\n - The parameters `personal_page_sender_email` and `personal_page_sender_name` should be defined also by the application.\n\n\n#### Second Implementation (used to send rich html as email body).\n    App\\Core\\Comunication\\Email\\Mailer:\n        class: App\\Core\\Comunication\\Email\\Mailer\n        arguments: ['@mailer', 'sender_email@sample.com', 'admin@internal.com', 'Sender Name']\n\n\n\u003cbr\u003e\n\u003cbr\u003e\n-\u003e\u003e\u003e\u003e 2) AUTO-PHONE-FORMAT (jQuery)\n\nHolds a js helper to convert a text field value into phone format (###)###-####.\n\n\u003cbr\u003e\n\u003cbr\u003e\n-\u003e\u003e\u003e\u003e 3) ANTI-SPAMMING\n\nSupports anti-spamming by using [Google ReCaptchaV3](https://developers.google.com/recaptcha/docs/v3)\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n-\u003e\u003e\u003e\u003e 4) Phone number utilities and Twig Extension for phone formatting.\n\nHolds some utils class and functions to manipulate phone formats and to render phone in twig templates.\n\u003cbr\u003e\n\u003cbr\u003e\n-\u003e\u003e\u003e\u003e 5) Random Data Generator\n\nHolds some components to generate random data like: names, lastnames, cities, etc.  \n\u003cbr\u003e\n\u003cbr\u003e\n-\u003e\u003e\u003e\u003e 6) Pheanstalkd implementation\n\nHolds an implementation for Pheanstalkd.\n\n\n### Contact\n\n\u003e **Yenier Jimenez**\n\u003cbr\u003e\nhttp://yenierjimenez.com\n\u003cbr\u003e\nyjmorales86@gmail.com\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyjmorales%2Fphp-core","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyjmorales%2Fphp-core","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyjmorales%2Fphp-core/lists"}