Download the PHP package mpm/routing without Composer

On this page you can find all versions of the php package mpm/routing. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package routing

mpm-rounting

Simple and Powerful PHP Routing for Your Web Applications

Table of Contents

Introduction

mpm-routing is your go-to solution for routing in PHP web applications. It simplifies the process of defining routes, matching requests, and handling routing errors.

Features

Choose mpm-routing for a powerful yet easy-to-use routing solution in your PHP web applications.

Getting Started

Prerequisites

Installation

Usage

1. Define basic routes using HTTP methods like GET and POST.

  Specify the route URI and the associated controller or handler function. 

2. Handling Dynamic Routes

    Match dynamic routes using route parameters enclosed in curly braces `{}`. These parameters capture values from the URL for further processing.

Examples

1. Define Routes

2. Handling Dynamic Routes

    Match dynamic routes using route parameters enclosed in curly braces `{}`. These parameters capture values from the URL for further processing.

3. Including Additional Routes

        Organize your routes by including additional route files. This helps keep your codebase clean and maintainable.

4. Listing Registered Routes

Retrieve a list of all registered routes programmatically to understand your application's routing structure.

Contributing

We welcome contributions from the community to enhance and improve the mpm-routing module. Whether you want to report a bug, propose new features, or submit code changes, your contributions are valuable. To contribute to this project, please follow these guidelines:

  1. Fork the Repository: Start by forking this repository to your GitHub account.
  2. Create a Branch: Create a new branch for your contribution. Use a descriptive branch name related to your fix or feature.
  3. Make Changes: Make your desired changes or improvements to the codebase. Ensure that your code adheres to the project's coding standards.
  4. Write Tests: If your contribution involves code changes, write relevant tests to ensure the functionality works as expected.
  5. Commit Changes: Commit your changes with clear and concise commit messages.
  6. Push to Your Fork: Push the changes to your forked repository on GitHub.
  7. Create a Pull Request (PR): Open a pull request against the main branch of this repository. Provide a detailed description of your changes, why they are necessary, and any related issues.
  8. Review and Collaboration: Participate in the discussion on your PR. Address any feedback or concerns raised during the review process.
  9. Continuous Integration: Ensure that your changes pass the automated tests and do not introduce any new issues.
  10. Merging: Once your PR is approved, it will be merged into the main branch. Congratulations on your contribution!

License

This project is licensed under the MIT License - see the LICENSE file for details.


All versions of routing with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
mpm/http Version ^1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package mpm/routing contains the following files

Loading the files please wait ....