Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chrismademe/phpsf2-cms
https://github.com/chrismademe/phpsf2-cms
Last synced: 2 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/chrismademe/phpsf2-cms
- Owner: chrismademe
- Created: 2015-11-28T23:10:20.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-01T14:45:09.000Z (almost 9 years ago)
- Last Synced: 2023-03-06T14:22:09.071Z (over 1 year ago)
- Language: PHP
- Size: 1.87 MB
- Stars: 0
- 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
```## Theme Cache
Twig caches rendered templates. To do so, it requires permissions to write to the cache folder. Make sure the permissions are set to 775 in the `app/theme/.cache` folder.## Use it in other projects
PHPSF2 is available as a Composer package so you can use it in your own projects. Just require it:
```
composer require chrismademe/php-site-framework-2
```Then, include it in your project:
```php