2017 © Pedro Peláez
 

library framework

Slight is an MVC framework that will assist you in the development of rest applications, containing tools for routing, authentication and validation for data models.

image

slight.mvc/framework

Slight is an MVC framework that will assist you in the development of rest applications, containing tools for routing, authentication and validation for data models.

  • Tuesday, July 17, 2018
  • by mehah
  • Repository
  • 1 Watchers
  • 0 Stars
  • 7 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Slight Framework

Slight is an MVC framework that will assist you in the development of rest applications, containing tools for routing, authentication and validation for data models., (*1)

Installation

You can use an already ready structure that is found here: Sample Project, (*2)

Or, (*3)

If you want to build your own structure, just sweat the Composer., (*4)

composer require slight.mvc/framework:dev-master

Project Structure (folders)

  • src, (*5)

    • config.php
    • router.php
  • vendor, (*6)

    • ...
  • view
    • index.html
      .htaccess

```.htaccess RewriteEngine On RewriteCond %{REQUEST_URI} ^((?!\.).)*$ [NC] RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php?$url=$1 [QSA,L] RewriteEngine On RewriteCond %{REQUEST_URI} \.*$ RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ view/$1 [QSA,L] RewriteEngine on RewriteCond %{REQUEST_URI} (/src/|/vendor/|/build/) RewriteRule ^.*$ /404 [L] ``` , (*7)

, (*8)

index.php
, (*9)

```php , (*10)

, (*11)

License

Slight is licensed under the MIT license., (*12)

The Versions

17/07 2018

dev-master

9999999-dev

Slight is an MVC framework that will assist you in the development of rest applications, containing tools for routing, authentication and validation for data models.

  Sources   Download

MIT

The Requires

  • php >=7.1.0

 

api authentication framework rest validation mvc light restful router slight