-
Notifications
You must be signed in to change notification settings - Fork 1
Home
A slim and very flexible framework for PHP
Important notice!!! This document is for Lollipop-PHP version 3 and above only. I'll be leaving version 2 behind.
You can use Lollipop when you're creating a simple and powerful web application. Lollipop removed the weight of large frameworks. Also Lollipop was created to offer cool functionalities and speed.
Configure .htaccess. Use below code as the default for your
.htaccess
Or see LMVC for routing using Lollipop
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ index.php [QSA,L]
A simple Hello World
Page
<?php
require('/path/to/lollipop-php/autoload.php');
// or if using composer
// require('./vendor/autoload.php');
// Your index page
\Lollipop\HTTP\Router::get('/', function($request, $response) {
return $response->set('Hello World!');
});
Get the latest version of Lollipop-PHP framework from our Git repository hosted on GitHub
git clone https://github.com/jabernardo/lollipop-php.git lollipop-php
or get it via composer
composer require "jabernardo/lollipop-php"
and start the development of your projects.
The LMVC framework is open-sourced software licensed under the MIT license.
The lollipop-php
is open-sourced software licensed under the MIT license.