I need Symfony 3 component able to send text messages and email
- or -
Post a project like this2889
£200(approx. $250)
- Posted:
- Proposals: 0
- Remote
- #1152167
- Completed
Description
Experience Level: Intermediate
General information for the website: Order booking system
Description of every page/module: No pages as such instead we need a mechanism / service / code level utility creating.
Description of requirements/features: 1.) Create a class that uses the Twilio SMS API to send a customer mobile number a unique link which will be clicked to navigate them to a system known URI e.g. bookings.mywebsite.com/sCX09P2y.
2.) Create a class that will be used to send an email containing the same unique link to the customer in case there is no mobile number or if the mobile number is not valid.
3.) Create a way of managing message templates (using twig ideally). For example if the system decided to send a text message the “text message” template will be used. Each template should have a template code, name, and template location (Store in db table perhaps?). We should be able to pass the template code (e.g. pc1_initial_tm) to the class that will load the template and send the message.
4.) Allow for sending of text messages or emails with your newly created classes from anywhere around the codebase.
a. Create a service for this so that any container aware class can call ‘g2s.notifier’ and send a message of some type.
5.) Design database table structures which will/may be used by this mechanism.
6.) Once your mechanism sends an email or text it should dispatcher an event called ‘prebooking.message.sent’ using the Symfony Event Dispatcher component.
a. Pass an object or array into the event containing details such as the type of contact i.e. email or text, the email or mobile number, the message and the unique identifier which is used to build the link within the message.
7.) Details needed to connect to Twilio API etc should be kept in some kind of config file or table and should be easy to update with LIVE/NEW details.
I will send over more information upon request.
Extra notes:
Description of every page/module: No pages as such instead we need a mechanism / service / code level utility creating.
Description of requirements/features: 1.) Create a class that uses the Twilio SMS API to send a customer mobile number a unique link which will be clicked to navigate them to a system known URI e.g. bookings.mywebsite.com/sCX09P2y.
2.) Create a class that will be used to send an email containing the same unique link to the customer in case there is no mobile number or if the mobile number is not valid.
3.) Create a way of managing message templates (using twig ideally). For example if the system decided to send a text message the “text message” template will be used. Each template should have a template code, name, and template location (Store in db table perhaps?). We should be able to pass the template code (e.g. pc1_initial_tm) to the class that will load the template and send the message.
4.) Allow for sending of text messages or emails with your newly created classes from anywhere around the codebase.
a. Create a service for this so that any container aware class can call ‘g2s.notifier’ and send a message of some type.
5.) Design database table structures which will/may be used by this mechanism.
6.) Once your mechanism sends an email or text it should dispatcher an event called ‘prebooking.message.sent’ using the Symfony Event Dispatcher component.
a. Pass an object or array into the event containing details such as the type of contact i.e. email or text, the email or mobile number, the message and the unique identifier which is used to build the link within the message.
7.) Details needed to connect to Twilio API etc should be kept in some kind of config file or table and should be easy to update with LIVE/NEW details.
I will send over more information upon request.
Extra notes:
Kofi B.
96% (5)Projects Completed
6
Freelancers worked with
6
Projects awarded
86%
Last project
17 Jul 2017
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies