php-mvc
dispatch
Our great sponsors
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
php-mvc
-
Optimizing my MVC Routing Class
The class is heavily taken from a tutorial - https://github.com/daveh/php-mvc/blob/master/Core/Router.php which reviewing the issues, someone added HTTP method checks here - https://github.com/daveh/php-mvc/issues/33
-
Trying to Learn MVC for Laravel but kind of not sold on it , can someone explain/help?
If you still want to go the custom route, though, Dave Hollingworth has some example code from his PHP MVC Udemy course that I found extremely helpful and was some of the first material that I used to start learning new stuff. Basically, you set up the server, or htaccess, to restructure the URL query string, then use regular expressions to parse it and get the values.
dispatch
-
What are the more unknown frameworks you ever used?
Dispatch - https://github.com/noodlehaus/dispatch
-
Hello I need help with organizing our project files, I'm out of ideas with the pathing of our project.
If OOP too much at this time, here is a procedural framework like Slim - https://github.com/noodlehaus/dispatch
-
Legacy style framework and future of the local PHP market
Why though? If your customer is used to procedural code, you could still use classes, if you choose, in the base framework. Or is this an issue with keeping up with PHP 4 support per the readme? You've tested your "framework" with 5.3, so stick with 5.3 (go higher, please) and cut off PHP 4 support. Then, at least you can use Slim v2 to start. Still want procedural - here is noodlehaus/dispatch as a base.
-
Trying to Learn MVC for Laravel but kind of not sold on it , can someone explain/help?
You can also use this for a simpler API to help you get started- https://github.com/noodlehaus/dispatch
What are some alternatives?
Fast Route - Fast request router for PHP
clean-code-php - :bathtub: Clean Code concepts adapted for PHP
adr - Action-Domain-Responder: a web-specific alternative to Model-View-Controller.
Klein - A fast & flexible router
slim4-skeleton - A Slim 4 Skeleton
no-framework-tutorial - A small tutorial to show how to create a PHP application without a framework.
micro-MVC - An agile, small, productive and robust MVC framework for PHP with high-quality JS extensions and integrated AJAX support.
routing - Maps an HTTP request to a set of configuration variables
learning-oop-in-php - A collection of resources to learn object-oriented programming and related concepts for PHP developers.
phroute - A super fast PHP router, with route parameters, restful controllers, filters and reverse routing.