Download the PHP package benson/route-me without Composer

On this page you can find all versions of the php package benson/route-me. 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 route-me

benson/router-me

Description

Route-Me is a lightweight and flexible PHP router package for creating RESTful APIs. It supports route parameters, middleware, and PSR-7 request/response handling. Route-Me is built using the PSR-7 HTTP message interfaces and can be used with any PSR-7 implementation. It is also framework-agnostic and can be used with any PHP framework or standalone application. Route-Me is developed and maintained by Benson Osei-Mensah.

Installation

To install Route-Me, run the following command in your project directory:

Table of Contents

Features

Usage

To use Route-Me in your project, follow these steps:

  1. Import the composer autoloader into your PHP file:

  2. Create a new instance of the Router class:

  3. Add routes to the router using the addRoute() method:

  4. Handle incoming requests by calling the run() method:

Contribution

Contributions are welcome! To contribute to Route-Me, follow these steps:

  1. Fork the repository.
  2. Create a new branch.

  3. Make your changes.
  4. Commit your changes and push them to your branch. Make sure to add a clear commit message and include any relevant documentation updates. Since Route-Me follows the PSR-2 coding standards, please ensure that your code adheres to these standards. If you are not sure, you can use the PHP Coding Standards Fixer

  5. Submit a pull request. Please ensure that you adhere to the coding standards and write clear commit messages.

License

Route-Me is open-source software released under the MIT License. See LICENSE for details.

Author

Route-Me is developed and maintained by Benson Ose-Mensah.


All versions of route-me with dependencies

PHP Build Version
Package Version
Requires phpunit/phpunit Version ^10
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 benson/route-me contains the following files

Loading the files please wait ....