Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chrismademe/php-site-framework-2
Version 2 of my PHP site framework, now with Twig :)
https://github.com/chrismademe/php-site-framework-2
Last synced: 2 days ago
JSON representation
Version 2 of my PHP site framework, now with Twig :)
- Host: GitHub
- URL: https://github.com/chrismademe/php-site-framework-2
- Owner: chrismademe
- Created: 2015-10-11T15:15:43.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-14T11:45:35.000Z (almost 9 years ago)
- Last Synced: 2024-04-30T05:44:54.191Z (7 months ago)
- Language: PHP
- Size: 726 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PHP Site Framework 2
1. Clone this repo to your project folder
2. Edit `package.json` with your project name and description.
3. Rename the default theme, found in `app/theme/default` to suit your project.
4. Update `app/config.php` with your new theme name.
5. PHPSF2 will attempt to copy `.env.example` for 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