clsystems / phalcms
A Content Management System built with Phalcon v4 and UiKit v3
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 1
Open Issues: 0
Language:JavaScript
Type:project
Requires
- ext-json: *
- ext-mbstring: *
- ext-phalcon: ~4
- ext-zip: *
- clsystems/php-registry: 1.0.0
- facebook/graph-sdk: ^5.7
- google/apiclient: ^2.4
- matthiasmullie/minify: 1.3.63
- phpmailer/phpmailer: 6.1.6
Requires (Dev)
- codeception/codeception: ^4
- friendsofphp/php-cs-fixer: ^2.16
- fzaninotto/faker: ^1.6
- phalcon/dd: ^1
- phpunit/phpcov: ^7
- phpunit/phpunit: ^9
- squizlabs/php_codesniffer: ^2.7
This package is auto-updated.
Last update: 2024-11-17 21:51:32 UTC
README
A Content Management System based on Phalcon v4 and UIKit v3
Requirements
- Apache
- PHP >= 7.2
- MySql >= 5.7
- Phalcon >= 4.0
- PHP JSON extension
- PHP MBSTRING extension
- PHP ZIP extension
- PHP mod-rewrite
- Composer
Included
Core features
- Multilingual
- Categories nested (Nested Set Model)
- Posts
- Products
- Comments
- Custom fields
- Menus
- Widgets
- Plugins
- Mailer
- Users
- Roles
- Custom admin path
- Template override
- Auto compress JS and CSS
- ...
Core assets - a HUGE thank you to
- Jquery v1.12.4
- Jquery ui v1.12.1
- Jquery nested
- UIkit v3.3.2
Installation for Development
Clone this repo
git clone https://github.com/clsystems/phalcms.git
Add current user to www-data group (to allow writing config.ini file during install)
sudo usermod -a -G www-data $USER
Chmod permissions
cd phalcms
sudo chgrp -R www-data src
sudo chmod -R g+w src
sudo chmod -R g+s src
Composer install
cd src
composer install
Run website
Create a database with utf8mb4_unicode_ci collation.
Default database name is phalcms.
Make sure to setup your domain in such a way that 'src/public' is the webdirectory.
ie: "Document Root /var/www/example.tld/src/public"
Browse to http://example.tld and enjoy
OR
Build with Docker
cd ../
docker-compose build
docker-compose up -d
Browse http://localhost:8000 and enjoy
CLI
When located in main folder (1 step above /src) do:
php cli.php task:main
NB: CLI will only function AFTER config.ini has been created.