Deprecated...
A modern Concrete5 starting point. Trying to make it as easy as possible to get started with a Concrete5 site.
composer create-project adamlindqvist/betong
- Gulp with Laravel Elixir
- Clean project structure
- Package boilerplate
- Theme boilerplate
- PHP Helpers
Betong has integrated Elixir. It provides a clean, fluent API for defining basic Gulp tasks for your Betong application.
Before triggering Elixir, you must first ensure that Node.js is installed on your machine.
node -v
If you don't have Node on your machine you can install it by visiting their download page.
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:
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:
npm install --no-bin-links
To use Elixir and Gulp, please run one of the following commands:
gulp watch
gulp --production
For more information about Elixir please visit the official document page.
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
See the controller.php in public/package/betong/controller.php
Below is a list of all supported helper methods.