PHPackages                             bartoszmajczak/speedy - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. bartoszmajczak/speedy

ActiveLibrary[Framework](/categories/framework)

bartoszmajczak/speedy
=====================

Simple web routing library for php, similar to express framework

214PHP

Since Dec 30Pushed 4y ago2 watchersCompare

[ Source](https://github.com/bartoszmajczak/speedy)[ Packagist](https://packagist.org/packages/bartoszmajczak/speedy)[ RSS](/packages/bartoszmajczak-speedy/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Simple web routing library for php, similar to express framework
----------------------------------------------------------------

[](#simple-web-routing-library-for-php-similar-to-express-framework)

### Instalation

[](#instalation)

Installation is done using the `composer`:

```
composer require bartoszmajczak/speedy:dev-master
```

Add ".htaccess" file in index.php directory or to apache configuration file "httpd.conf"

```
RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f

RewriteRule ^(.*)$ index.php [QSA,L]

```

### Basic examples

[](#basic-examples)

#### HTML response

[](#html-response)

```
