2017 © Pedro Peláez
 

library betong

Concrete5 CMS Boilerplate for spinning up new projects.

image

adamlindqvist/betong

Concrete5 CMS Boilerplate for spinning up new projects.

  • Sunday, August 27, 2017
  • by adamlindqvist
  • Repository
  • 1 Watchers
  • 3 Stars
  • 12 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Deprecated..., (*1)

Betong

betong-logo A modern Concrete5 starting point. Trying to make it as easy as possible to get started with a Concrete5 site., (*2)

composer create-project adamlindqvist/betong

Features

  • Gulp with Laravel Elixir
  • Clean project structure
  • Package boilerplate
  • Theme boilerplate
  • PHP Helpers

Gulp

Betong has integrated Elixir. It provides a clean, fluent API for defining basic Gulp tasks for your Betong application., (*3)

Installation

Before triggering Elixir, you must first ensure that Node.js is installed on your machine., (*4)

node -v

If you don't have Node on your machine you can install it by visiting their download page., (*5)

Within a fresh installation of Betong, you'll find a package.json file in the root. Think of this like your composer.json file, except it defines Node dependencies instead of PHP. You may install the dependencies it references by running:, (*6)

npm install

If you are developing on a Windows system or you are running your VM on a Windows host system, you may need to run the npm install command with the --no-bin-links switch enabled:, (*7)

npm install --no-bin-links

Usage

To use Elixir and Gulp, please run one of the following commands:, (*8)

Development
gulp watch
Production
gulp --production

For more information about Elixir please visit the official document page., (*9)

Package boilerplate

Betong ships with a example package which contains code to accomplish common tasks directly from the code: - Install pagetypes - Install pagetemplates - Install custom-blocks - Install attributes - Install composer-fields and attach them to a pagetype, (*10)

See the controller.php in public/package/betong/controller.php, (*11)

Helpers

Below is a list of all supported helper methods., (*12)

Arrays Strings Miscellaneous
array_add camel_case collect
array_collapse class_basename dd
array_divide e dump
array_dot ends_with elixir
array_except snake_case value
array_first starts_with
array_flatten str_contains
array_forget str_finish
array_get str_is
array_has str_limit
array_last str_plural
array_only str_random
array_pluck str_singular
array_prepend str_slug
array_pull studly_case
array_set title_case
array_sort
array_sort_recursive
array_where
head
last

The Versions

27/08 2017

dev-master

9999999-dev

Concrete5 CMS Boilerplate for spinning up new projects.

  Sources   Download

MIT

The Requires

 

boilerplate concrete5 concrete5 cms concrete5boilerplate concete5 boilerplate

16/11 2016

v1.0.2

1.0.2.0

Concrete5 CMS Boilerplate for spinning up new projects.

  Sources   Download

MIT

The Requires

 

boilerplate concrete5 concrete5 cms concrete5boilerplate concete5 boilerplate

16/11 2016

v1.0.1

1.0.1.0

Concrete5 CMS Boilerplate for spinning up new projects.

  Sources   Download

MIT

The Requires

 

boilerplate concrete5 concrete5 cms concrete5boilerplate concete5 boilerplate

15/11 2016

v1.0.0

1.0.0.0

Concrete5 CMS Boilerplate for spinning up new projects.

  Sources   Download

MIT

The Requires

 

boilerplate concrete5 concrete5 cms concrete5boilerplate concete5 boilerplate