PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Friday, March 18, 2022

[FIXED] Where is the notification push code on Laravel

 March 18, 2022     laravel, laravel-4, laravel-5     No comments   

Issue

Sorry for asking this question. I'm new to laravel and I'm trying to find out the location of the responsible script of sending the notification on submite button event.

When I go to

http://127.0.0.1:8000/push-notificaiton

You know there you fill the title and message then you submit it to a script or code where you find the targeted auth username.

I want to know the location of that code to edit it in order to do one more things such as inserting title and message in database after sending the push notification to use.


Solution

For laravel 4.2 Go to app/routes.php. Search for 'push-notificaiton'. You will find a controller and function next to the url. Go to the controller and find the function

For laravel 5 - 5.2

app/Http/routes.php

From version 5.3 - 8

routes/web.php


Answered By - Anna
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home
View mobile version

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing