Download the PHP package stonedz/pff2 without Composer
On this page you can find all versions of the php package stonedz/pff2. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Vendor stonedz
Package pff2
Short Description A simple yet robust PHP MVC framework
License MIT
Homepage https://github.com/stonedz/pff2
Package pff2
Short Description A simple yet robust PHP MVC framework
License MIT
Homepage https://github.com/stonedz/pff2
Keywords framework
Please rate this library. Is it a good library?
Informations about the package pff2
Pff2 MVC PHP framework
Pff2 is a lightweight MVC framework for PHP 8.1+.
Quick start (Composer)
- Create a new project directory and add
stonedz/pff2tocomposer.json. -
Install dependencies:
-
Scaffold app files:
- Your project entry point is generated from
resources/site_skeleton/index.php.
Generated development files include:
development/compose.yamldevelopment/nginx.confdevelopment/PHP.Dockerfile
Quick start (Docker)
The canonical development compose file is:
development/compose.yaml
Run:
Default service endpoints from this setup:
- Web:
http://localhost:8081 - Mailcatcher UI:
http://localhost:1080 - MariaDB:
localhost:33061
Installation notes
- Composer install no longer auto-creates app symlinks; run
vendor/bin/initexplicitly. vendor/bin/updaterefreshes framework-controlled generated files (for existing projects), including Docker dev files indevelopment/.- Generated writable folders now default to
775permissions (instead of777). vendor/bin/initandvendor/bin/updateskip optional copies when source files are not present, avoiding noisycp: cannot staterrors.
Security defaults
Pff2 now uses safer defaults in the app skeleton:
- Exception details are configurable via
show_exception_detailsand should be disabled in production. - Session/cookie hardening options are available in
app/config/config.user.php:security_cookie_httponlysecurity_cookie_samesitesecurity_cookie_securesecurity_session_strict_mode
- Auth module default hashing is
password_hash/password_verify(legacymd5/sha256remain deprecated compatibility paths).
Upgrade notes
- Mail module has migrated from SwiftMailer to Symfony Mailer.
swiftmailer/swiftmaileris removed from dependencies.- Existing
mail/module.conf.yamlkeys (Type,Host,Port,Username,Password,Encryption) continue to work. sendMail(...)API remains available and returnstrueon success,falseon transport failure.
- If your app still uses auth
passwordType: md5orsha256, plan migration topassword_hash.
Notes on templates
PHP views are the recommended template path for new apps. Smarty templates are considered legacy/best-effort support.
Documentation
- Installation guide
- Smoke app guide
- Security baseline
- Architecture overview
- Upgrade guide
Additional details: Wiki
All versions of pff2 with dependencies
PHP Build Version
Package Version
Requires
ezyang/htmlpurifier Version
*
mobiledetect/mobiledetectlib Version 4.8.*
pimple/pimple Version ~3.5
php Version >=8.1
symfony/mailer Version ~7
symfony/console Version ~7
symfony/yaml Version ~5.3
mobiledetect/mobiledetectlib Version 4.8.*
pimple/pimple Version ~3.5
php Version >=8.1
symfony/mailer Version ~7
symfony/console Version ~7
symfony/yaml Version ~5.3
The package stonedz/pff2 contains the following files
Loading the files please wait ...