rantes / dumbophp
PHP Framework project built with MVC architecture, OOP paradigm and full ORM (native, not vendor).
Installs: 163
Dependents: 0
Suggesters: 0
Security: 0
Stars: 6
Watchers: 3
Forks: 0
Open Issues: 0
Type:framework
Requires
- php: ^7.3.0
- ext-json: *
- ext-pdo: *
- dev-master
- v2.8.2.21
- v2.8.2.20
- v2.8.2.19
- 2.8.2.18
- v2.8.2.17
- v2.8.2.16
- v2.8.2.15
- v2.8.2.14
- v2.8.2.13
- v2.8.2.12
- v2.8.2.11
- v2.8.2.10
- v2.8.2.9
- v2.8.2.8
- v2.8.2.7
- v2.8.2.6
- v2.8.2.5
- v2.8.2.4
- v2.8.2.3
- v2.8.2.2
- v2.8.2.1
- v2.8.2
- v2.8.1
- v2.8.0
- v2.7.9
- v2.7.8
- v2.7.7
- v2.7.6
- v2.7.5
- v2.7.4
- v2.7.3
- v2.7.2
- v2.7.1
- v2.7
- v2.6
- v2.5.3
- v2.5.2.3
- v2.5.2.2
- v2.5.2.1
- v2.5.2
- v2.5.1
- v2.5
- v2.4
- v2.3.10
- v2.3.10_rc1
- v2.3.9
- v2.3.9_rc1
This package is auto-updated.
Last update: 2025-01-05 17:05:59 UTC
README
Summary
PHP Framework project built with MVC architecture, OOP paradigm and full ORM (native, not vendor).
Setup
- Get the latest version, clone it or download the zip.
- Unzip if is needed.
- Go to the folder and run the install script:
cd /path/to/DumboPHP/
sudo ./install.php
via composer
composer require rantes/dumbophp
Server configuration
-
PHP: Enable short open tags.
-
Apache: enable mod_rewrite.
-
Consider to set a local domain up with a virtual host).
- Remember to enable virtual host mod.
- You can use this config as a sample:
#!apache
<VirtualHost *:80>
ServerAdmin webmaster@localhos.com
ServerName myproject.local
ServerAlias myproject.local
DocumentRoot /path/to/myproject
<Directory /path/to/myproject/>
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
allow from all
</Directory>
</VirtualHost>
#!nginx
server {
root /path/to/myproject/app/webroot;
index index.php;
server_name myproject.local;
set $token "";
if ($is_args) { # if the request has args update token to "&"
set $token "&";
}
location / {
set $args "${args}${token}url=${uri}";
rewrite ^/(.*\.(png|gif|jpg|jpeg|js|pdf|css|ico|svg|json|webp|woff|ttf))$ /$1 break;
try_files $uri $uri/ /index.php$is_args$args;
}
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/run/php/php7.4-fpm.sock;
}
location ~ /\.ht {
deny all;
}
}
Go Further
For more info, please visite homepage DumboPHP.