Skip to content
Extraits de code Groupes Projets
Sélectionner une révision Git
  • 56de9a2325a266782c4917a75d900483d16c7859
  • main par défaut protégée
2 résultats

lineEditEventFilter.h

Blame
  • README.markdown 4,92 Kio

    Slim Framework

    Build Status

    Slim is a PHP micro framework that helps you quickly write simple yet powerful web applications and APIs. Slim is easy to use for both beginners and professionals. Slim favors cleanliness over terseness and common cases over edge cases. Its interface is simple, intuitive, and extensively documented — both online and in the code itself. Thank you for choosing the Slim Framework for your next project. I think you're going to love it.

    Features

    • Powerful router
      • Standard and custom HTTP methods
      • Route parameters with wildcards and conditions
      • Route redirect, halt, and pass
      • Route middleware
    • Resource Locator and DI container
    • Template rendering with custom views
    • Flash messages
    • Secure cookies with AES-256 encryption
    • HTTP caching
    • Logging with custom log writers
    • Error handling and debugging
    • Middleware and hook architecture
    • Simple configuration

    Getting Started

    Install

    You may install the Slim Framework with Composer (recommended) or manually.

    Read how to install Slim

    System Requirements

    You need PHP >= 5.3.0. If you use encrypted cookies, you'll also need the mcrypt extension.

    Hello World Tutorial

    Instantiate a Slim application:

    $app = new \Slim\Slim();

    Define a HTTP GET route:

    $app->get('/hello/:name', function ($name) {
        echo "Hello, $name";
    });

    Run the Slim application:

    $app->run();

    Setup your web server

    Apache