Skip to content

Files

Latest commit

35d775c · Dec 1, 2023

History

History
78 lines (57 loc) · 1.62 KB

README.md

File metadata and controls

78 lines (57 loc) · 1.62 KB
layout
title description tableOfContents outline pagination
visible
true
visible
true
visible
true
visible
visible
true

👋 Introduction

Fastvolt is a simple, fast and minimal MVC (Model View Controller) PHP web framework, used for building web applications and APIs. this framework is best suited for entry-level PHP developers because of it simplicity. Our framework is your ideal companion for creating powerful, modern, and minimal web applications.

"Hello World" Comparison

⚡ Fastvolt:

<?php

use FastVolt\Router\Route;

Route::get('/home', function() {
   return out('Hello, World');
});

🌀 Slim Framework:

<?php
use Psr\Http\Message\ResponseInterface as Response;
use Psr\Http\Message\ServerRequestInterface as Request;
use Slim\Factory\AppFactory;

require __DIR__ . '/../vendor/autoload.php';

$app = AppFactory::create();

$app->get('/home', function (Request $request, Response $response, $args) {
    $response->getBody()->write("Hello world!");
    return $response;
});

$app->run();

📦 Laravel:

<?php

use Illuminate\Support\Facades\Route;
 
Route::get('/home', function () {
    return 'Hello World';
});

🌟 Features

PHP has alot of frameworks you can choose from, but what exactly made FastVolt framework more better than them?

  • Simple Installation
  • Low Learning Curve
  • Built-in Simple Http Router
  • Middleware
  • Max Security
  • MVC Architecture
  • Less Development Time
  • Developer Tool (Automatic Code Generation)
  • Support Various Templating Engines (Smarty, PHP).