Mahfuzur Rahman Posted on Nov 14, 2023 • Edited on Nov 14, 2023 How to use PHP within JavaScript on the Laravel framework. Hey Laravel Devs 📢 Do you know? You can use Laravel Blades {{ }} Enter fullscreen mode Exit fullscreen mode in JS and use PHP variables in there. Also, You Can Use Route In Ajax URL But your JS must be in the Blade file inside the "script" tag. Laravel #javascript Top comments (0) Subscribe Submit Preview Dismiss Code of Conduct • Report abuse
Top comments (0)