Menu

Tree [a04a56] master /
 History

HTTPS access


File Date Author Commit
 _installer 2022-12-23 mirekmarek mirekmarek [1cc19f] Minor code quality improvements
 _profiler 2023-01-07 mirekmarek mirekmarek [0d3b4e] Minor code quality improvements
 _tools 2023-01-08 mirekmarek mirekmarek [a04a56] JetStudio: The newly created page inherits the ...
 application 2023-01-08 mirekmarek mirekmarek [2d6fa5] Minor code quality improvements
 cache 2021-01-14 Mirek Marek Mirek Marek [572c45] PHP8
 css 2022-03-25 mirekmarek mirekmarek [54e99d] ...
 images 2021-01-15 Mirek Marek Mirek Marek [3ce4bf] PHP8
 js 2022-07-09 mirekmarek mirekmarek [6fa64e] ...
 library 2023-01-07 mirekmarek mirekmarek [0d3b4e] Minor code quality improvements
 logs 2021-01-14 Mirek Marek Mirek Marek [572c45] PHP8
 tmp 2021-01-14 Mirek Marek Mirek Marek [572c45] PHP8
 .gitignore 2022-12-30 mirekmarek mirekmarek [464719] Minor code quality improvements
 .htaccess 2021-02-12 mirekmarek mirekmarek [0ef27e] Bug fixes
 README.md 2023-01-02 mirekmarek mirekmarek [76cf9b] ...
 composer.json 2023-01-03 mirekmarek mirekmarek [d08a14] ...
 index.html 2021-01-05 Mirek Marek Mirek Marek [265371] PHP8
 license.txt 2022-02-16 mirekmarek mirekmarek [0ab4b7] ...
 promo.png 2022-08-08 mirekmarek mirekmarek [5f0aad] Readme.md Updated

Read Me

PHP Jet Framework

PHP Jet is a powerful PHP8 framework. Of course, it includes modularity / microservices / micro-app architecture, MVC architecture, ORM, REST API server and so on, but above all, it offers incredible performance, flexibility and freedom.

It is a modern framework that will help you, make your work very efficiently and not limit you.

It is a field-proven framework that has been developed for 12 years and practically used in various kinds of online applications and has recently been fully adapted to PHP8.

Framework places great emphasis not only on security and speed, but also on flexibility and adaptability.

PHP Jet is not only a library of classes, but includes integrated development tools such as Jet Profiler and Jet Studio, which make work incredibly efficient and easy.

This framework is developed for applications operated in the European Union. For this reason, it places great emphasis on the development of localizable and cross-border applications.

This is not a new experimental project, but a practically used and mature framework that leverages more than twenty years of experience with the development of online applications of the author of this framework.

Project website and documentation: https://www.php-jet.net/

Promo image

Installation

PHP Jet is distributed as one package which includes everything:
* PHP Jet library
* Example application
* Example application installer
* Profiler
* Powerful development tool Jet Studio

All you have to do to try PHP Jet is:
* Make sure you have PHP8 installed - PHP Jet requires PHP8 and newer.
* Create some "virtual domain" in yours hosts file. For example: jet.lc.
* You can create database (MySQL / MariaDB) for testing if you want. But it is not necessary, because PHP Jet supports SQLite database, and it's good enough for testing.
* Configure your Apache (add virtual configuration) or NGINX (add server block) webserver.
* Unpack package contains Jet and its example application into the directory which is the root directory of apache virtual / nginx server block.
* Open virtual domain (for example https://jet.lc/) in your web browser and install example application.
* Let's start to discover the world of PHP Jet ;-)

Apache web server

You probably know how to create apache virtual. If not then check documentation.

PHP Jet needs nothing more thanmod_rewrite enabledto run with the Apache web server (see documentation of your system).

And watch out for a possible catch with the necessity to enable AllowOverride All!

NGINX web server

If you are not familiar with NGINX server blocks then check out NGINX documentation.

To run Jet (or your projects already built on Jet), it is necessary to create such a server block.

Below you will find an example of how such a server block should look:

server {
    listen 80;
    listen [::]:80;
    listen 443 ssl;
    listen [::]:443 ssl;
    ssl_certificate /etc/ssl/certs/ssl-cert-snakeoil.pem;
    ssl_certificate_key /etc/ssl/private/ssl-cert-snakeoil.key;

    server_name jet.lc;
    root /home/user/projects/Jet;

    index index.html;

    location ~ /\.ht {
        deny all;
    }

    location ~ ^/(css|js|images)/ {
        try_files $uri $uri/ =404;
    }
    location / {
        include fastcgi_params;
        fastcgi_param SCRIPT_FILENAME $document_root/application/bootstrap.php;
        fastcgi_pass unix:/var/run/php/php8.0-fpm.sock;
    }


    location ~ ^/_tools/studio/(css|js|images)/ {
        try_files $uri $uri/ =404;
    }
    location /_tools/studio/ {
        include fastcgi_params;
        include snippets/fastcgi-php.conf;
        fastcgi_pass unix:/var/run/php/php8.0-fpm.sock;
    }
}

Notes on the NGINX "server block":

  • Of course, you need to set the server_name and root parameters according to the situation on your computer.
  • An example includes the use of SSL certificates intended for local testing offered by NGINX itself. Of course, these must not be used in a production environment.
  • The "location" related to the Jet Studio tool (/_tools/studio/) should not exist at all on a production server as well as the tool itself.
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.