Support the ongoing development of Laravel.io →
Configuration Database

I am working with another developer on my application. He is using raw php and I am using Laravel. He is assisting me in using the twilio api. I am building functions with logic we are working on together. He is trying to test some things on his end and I am testing on my end. I have a Profile Controller with three functions.

getSendInvite This grabs the view to invite user

postSendInvite This post the form data into db invite table sends email with link to verify

getInviteActivate This will store invited guest info into users table

The other developer needs the getInviteActivate code to be a API script in the root directory so he can bridge his code.

ex. myurl.com/usercreate.php

I need to find out if there is a way in my application to include a script in my getInviteActivate function that simply passes variables and does a query. Because I am concerned that one it will not be recognized by laravel and two the code will break because the code that is supposed to be in the getInviteActivate function is just a script included from the root. I hope this makes sense and that there is a way to make this work.

Last updated 3 years ago.
0

Sign in to participate in this thread!

PHPverse

Your banner here too?

swgj19 swgj19 Joined 11 Mar 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.