Download the PHP package devpontes/route without Composer

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

Route by @Devpontes

Maintainer Source Code PHP from Packagist Latest Version Build Quality Score Total Downloads

About Route componet

Route is a simple route component for small MVC-based projects

Route é um simples componente de rotas para projetos pequenos baseados em MVC.

Highlights

Installation

Installation is available through Composer:

or run

Documentation

To use the route, it is necessary to redirect all application requests to the index.php file, which will be the Front Controller, where all application traffic will be handled, see the example
  1. Para usar o route é necessário redirecionar todas as requisições da aplicação para o arquivo index.php que será o Front Controller, onde todo o tráfego da aplicação será tratado, veja o exemplo:

Apache

Configure an array with the application routes
  1. Configure um array com as rotas da aplicação.
At initialization, enter the route array. Then, use the namespace method passing the path that was configured in the composer.json autoload. Lastly, use rum to execute
  1. Na inicialização, informe o array de rotas. Em seguida, utilize o método namespace passando o caminho que foi configurado no autoload do composer.json. Por último, use o rum para executar.

Usage

To handle unconfigured routes, use the fail method, see

Credits

License

The MIT License (MIT).


All versions of route with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
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 devpontes/route contains the following files

Loading the files please wait ....