Skip to content
Source code of phpland community.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
assets
commands
components
config
controllers
helpers
mail
migrations
models
rbac
runtime
server/nginx/conf.d
views
web
widgets
.bowerrc
.gitignore
.htaccess
LICENSE.md
README.md
composer.json
composer.lock
yii

README.md

phpland

Source code of the phpland community.

Clone project via GIT

git clone https://github.com/dignityinside/phpland
cd phpland

Install all dependencies via Composer

composer install

Copy all *.distr files as new files:

cp config/authclients.php-distr config/authclients.php
cp config/console.php-distr config/console.php
cp config/db.php-distr config/db.php
cp config/params.php-distr config/params.php
cp config/web.php-distr config/web.php

Apply post create project script

composer run-script post-create-project-cmd

Apply migrations

Setup DB settings in "config/db.php" and run migrations.

php yii migrate

Apply RBAC

php yii rbac/init 

Register new user and assign the roles

Setup reCAPTCHA settings in config/params.php and after register a new user.

Assign user to group admin or moderator:

php yii rbac/assign admin dignity
php yii rbac/assign moderator dignity

Generate sitemap.xml (cron)

php yii sitemap

Fetch planet (cron)

Add rss feeds in config/params.php and run:

php yii planet

Fetch new videos (cron)

Add rss feeds in config/params.php and run:

php yii video

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contributing

  1. Fork it
  2. Create new issue on Github and copy the id (Example: 1)
  3. Create your feature branch (git checkout -b issue1)
  4. Make your changes
  5. Commit your changes (git commit -am 'Added some feature')
  6. Push to the branch (git push origin issue1)
  7. Create new Pull Request

Donate

See https://phpland.org/about for details.

You can’t perform that action at this time.