chrismademe / php-site-framework-2
PHP Framework for building interactive apps/websites
Installs: 14
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/chrismademe/php-site-framework-2
Requires
- twig/twig: ^1.22
- vlucas/phpdotenv: ^2.1
This package is not auto-updated.
Last update: 2025-10-11 23:59:16 UTC
README
- Clone this repo to your project folder
- Edit
package.jsonwith your project name and description. - Rename the default theme, found in
app/theme/defaultto suit your project. - Update
app/config.phpwith your new theme name. - PHPSF2 will attempt to copy
.env.examplefor you. If this fails, copy and rename it to.env.
Install Dependencies
npm install
composer install
Deploying
When you upload your site, make sure you're using the production tag in .env so that errors are not displayed on screen.
Theme Cache
Twig has the ability to cache rendered templates. To do so, it requires permissions to write to the cache folder. You can set a directory for caching in youe .env file. If you do, don't forget to chmod 775 on that directory.
To do
- Add Bower support