stonedz / pff2
A simple yet robust PHP MVC framework
Installs: 534
Dependents: 7
Suggesters: 0
Security: 0
Stars: 1
Watchers: 6
Forks: 5
Open Issues: 2
Type:pff2-core
Requires
- php: >=8.1
- ezyang/htmlpurifier: *
- mobiledetect/mobiledetectlib: 3.*
- pimple/pimple: ~3.5
- swiftmailer/swiftmailer: 5.4.12
- symfony/console: ~5.3
- symfony/yaml: ~5.3
Requires (Dev)
- dev-master
- 4.0.x-dev
- v3.0.2
- v3.0.1
- v3.0.0
- v2.7.1
- v2.7.0
- v2.6.9
- v2.6.8
- v2.6.7
- v2.6.6
- v2.6.5
- v2.6.4
- v2.6.3
- v2.6.2
- v2.6.1
- v2.6.0
- v2.5.0
- v2.4.9
- 2.4.8
- v2.4.7
- v2.4.6
- v2.4.5
- v2.4.4
- v2.4.3
- v2.4.2
- v2.4.1
- v2.4.0
- v2.3.15
- v2.3.14
- v2.3.13
- v2.3.12
- v2.3.11
- v2.3.10
- v2.3.9
- v2.3.8
- v2.3.7
- v2.3.6
- v2.3.5
- v2.3.4
- v2.3.3
- v2.3.2
- v2.3.1
- v2.3.0
- v2.2.3
- v2.2.2
- v2.2.1
- v2.2.0
- v2.1.5
- v2.1.4
- v2.1.3
- v2.1.2
- v2.1.1
- v2.1.0
- v2.0.12
- v2.0.11
- v2.0.10
- v2.0.9
- v2.0.8
- v2.0.7
- v2.0.6
- v2.0.5
- v2.0.4
- v2.0.3
- v2.0.2
- v2.0.1
- v2.0.0
- v2.0.0-beta19
- v2.0.0-beta18
- v2.0.0-beta17
- v2.0.0-beta16
- v2.0.0-beta15
- v2.0.0-beta14
- v2.0.0-beta13
- v2.0.0-beta12
- v2.0.0-beta11
- v2.0.0-beta10
- v2.0.0-beta9
- v2.0.0-beta8
- v2.0.0-beta7
- v2.0.0-beta6
- v2.0.0-beta5
- v2.0.0-beta4
- v2.0.0-beta3
- v2.0.0-beta2
- v2.0.0-beta1
- v2.0.0-alpha5
- v2.0.0-alpha4
- v2.0.0-alpha3
- v2.0.0-alpha2
- v2.0.0-alpha
- v1.0.0-beta7
- dev-dev
This package is auto-updated.
Last update: 2024-12-20 11:20:16 UTC
README
Composer Installation
To setup a new project:
- Create e new directory
- Install composer in the directory (or do a global composer install). See here for the instructions. - Create a composer.json file with the following content:
{ "name": "company/project-name", "description": "", "minimum-stability": "beta", "license": "proprietary", "authors": [ { "name": "", "email": "" } ], "require": { "stonedz/pff2": "~2", "stonedz/pff2-installers": "v2.0.7", "stonedz/pff2-doctrine": "3.0.x-dev" }, "autoload": { "psr-4": { "pff\\models\\": "app/models", "pff\\controllers\\": "app/controllers", "pff\\services\\": "app/services" } } }
- Run
php composer.phar install
- Run
vendor/bin/init
(and follow on screen instructions)
Docker integration
Install docker and docker-compose on your system, then
$ docker-compose up
The first time the containers are generated a new Mariadb admin password will be created and shown on the console, use that to connect your app to the DB. you can also use the same username and password in phpmyadmin to manage your db.
You can modify the file docker-compose.yml to change ports and settings for the containers.
Please see the Wiki for more informations.