2017 © Pedro Peláez
 

library bearframework-addon

BearCMS addon for Bear Framework

image

bearcms/bearframework-addon

BearCMS addon for Bear Framework

  • Saturday, July 28, 2018
  • by ivopetkov
  • Repository
  • 1 Watchers
  • 0 Stars
  • 251 Installations
  • PHP
  • 3 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 31 Versions
  • 21 % Grown

The README.md

Bear CMS, (*1)

Addon for Bear Framework, (*2)

This addon enables you add CMS functionality to your Bear Framework powered website. Learn more at bearcms.com., (*3)

Build Status Latest Stable Version codecov.io License Codacy Badge, (*4)

Standalone version

There is a standalone version that is easier to install and update. You can download the installer from your bearcms.com account., (*5)

Install via Composer

composer require bearcms/bearframework-addon

Enable the addon

Enable the addon for your Bear Framework application., (*6)

$app->addons->add('bearcms/bearframework-addon');
$app->bearCMS->initialize([
    'serverUrl' => 'https://example.bearcms.com/',
    'appSecretKey' => '...',
    'language' => 'en'
]);

Documentation

Full documentation is available as part of this repository., (*7)

Components

<component src="bearcms-elements" />, (*8)

      Creates an elements block., (*9)

<component src="bearcms-blog-posts-element" />, (*10)

      Creates a block that renders a list of blog posts., (*11)

<component src="bearcms-heading-element" />, (*12)

      Creates a heading., (*13)

<component src="bearcms-html-element" />, (*14)

      Renders HTML code., (*15)

<component src="bearcms-image-element" />, (*16)

      Creates an image., (*17)

<component src="bearcms-image-gallery-element" />, (*18)

      Creates an image gallery., (*19)

<component src="bearcms-link-element" />, (*20)

      Creates a link., (*21)

<component src="bearcms-navigation-element" />, (*22)

      Creates a navigation., (*23)

<component src="bearcms-text-element" />, (*24)

      Creates a text block., (*25)

<component src="bearcms-video-element" />, (*26)

      Creates a video block., (*27)

Configuration

Here is a list of the configuration options of the CMS:, (*28)

serverUrl, (*29)

      The URL of the CMS server. Can be found at your Bear CMS account., (*30)

appSecretKey, (*31)

      The site secret key. Can be found at your Bear CMS account., (*32)

language, (*33)

      The language of the CMS admin interface. Available values: en, bg., (*34)

features, (*35)

      An array containing the enabled CMS features. Available values:, (*36)

            ALL Enables all features., (*37)

            ADDONS Enables addons., (*38)

            FILES Enables user files management (uploads, sharing, etc.)., (*39)

            BLOG Enables blog posts., (*40)

            PAGES Enables managing pages., (*41)

            ELEMENTS Enables creating elements., (*42)

            ELEMENTS_HEADING Enables the heading element., (*43)

            ELEMENTS_TEXT Enables the text element., (*44)

            ELEMENTS_LINK Enables the link element., (*45)

            ELEMENTS_IMAGE Enables the image element., (*46)

            ELEMENTS_IMAGE_GALLERY Enables the image gallery element., (*47)

            ELEMENTS_VIDEO Enables the video element., (*48)

            ELEMENTS_NAVIGATION Enables the navigation element., (*49)

            ELEMENTS_HTML Enables the HTML element., (*50)

            ELEMENTS_BLOG_POSTS Enables the blog posts element., (*51)

            ELEMENTS_COLUMNS Enables the columns element., (*52)

            THEMES Enables themes management., (*53)

            ABOUT Enables viewing the system information about the website., (*54)

            SETTINGS Enables managing settings., (*55)

            USERS Enables users., (*56)

            USERS_LOGIN_DEFAULT Enables users the login the default way (login form, lost password form, etc.), (*57)

            USERS_LOGIN_ANONYMOUS Enables anonymous user login (by calling the CMS server with code)., (*58)

            USERS_MANAGE_ACCOUNT Enables the user to manage his account (change password and emails)., (*59)

adminPagesPathPrefix, (*60)

      The path prefix for the administrators login, lost password and invite pages. The default value is "/admin/"., (*61)

blogPagesPathPrefix, (*62)

      The path prefix for the blog posts pages. The default value is "/b/"., (*63)

autoCreateHomePage, (*64)

      Automatically create editable elements container in the home page if no other response is defined. The default value is true., (*65)

License

This project is licensed under the MIT License. See the license file for more information., (*66)

Author

This addon is created and maintained by the Bear CMS team. Feel free to contact us at support@bearcms.com or bearcms.com., (*67)

The Versions