issues Search Results · repo:steampixel/simplePHPRouter language:PHP
Filter by
58 results
(70 ms)58 results
insteampixel/simplePHPRouter (press backspace or delete to remove)I am making a Request Feedback system, and I have a uri like this:
https://requests.steadfastinnovations.com/dev/idea/get-requesttrak-up!
It s acting as that isn t found. I haven t messed with Regex. ...
mfoland90
- 1
- Opened on Sep 28, 2023
- #70
Hi! What if I need to wrap one route into another? Let s say based on the request?
Is that possible without moving the implied code to a function and call it from the appropiate routes?
arahn
- 1
- Opened on Aug 9, 2023
- #69
Hi,
i like your Router implementation! Currently i am trying to math a path like this /pictures?page=5 pageSize=10 where the
numbers should be handed to the function but all i get is a 404. My route definition ...
der-jung
- 3
- Opened on Mar 27, 2023
- #68
Hi,
On a particular project, i m using your library on the root of the domain, everything works fine. But now, they install
a folder ( ex: /abc/ ) that doesn t need to be managed by your routing. Is there ...
unikoca
- 5
- Opened on Nov 28, 2022
- #67
Hi, as it says in the title:
You don t have to use echo to output your content. You can also use the return statement. Everything that gets returned
is echoed automatically.
This is not true when the ...
Mutusen
- 1
- Opened on Oct 12, 2022
- #65
` // www.webpage.com/component/blog/... Route::add( /component/(.*) , function($urlComponent){ echo $urlComponent; //
resolt ist blog });
// www.webpage.com/component/blog/option/list
// this link will ...
AleksandarNeustadt
- 1
- Opened on Sep 23, 2022
- #64
Looked at the examples, and reading the php docs about call_user_func_array i was missing the example, how it can be
used with a pre-defined function, including parameters.
I would suggest a rather extensive ...
gnanet
- 1
- Opened on Aug 9, 2022
- #63
Create a group name, which becomes the Prefix for every route inside it.
Or is this already possible somehow?
Route::group( /prefix , function() {
Route::add( / , function () {
echo This ...
compilekaiten
- 2
- Opened on Jul 11, 2022
- #62
Hello, I really like this Router so I used it in my project. Now I have one question:
Router::add( /login , function() {
View::make( Login );
}, [ get , post ]);
View is just a function to require ...
yFlixxx
- 7
- Opened on Apr 11, 2022
- #59
![Issue origami icon](/images/modules/search/issues.png)
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.![Issue origami icon](/images/modules/search/issues.png)
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.