adamlindqvist / betong
Concrete5 CMS Boilerplate for spinning up new projects.
Requires
- php: >=5.6
- illuminate/support: 5.3.*
- symfony/var-dumper: ^3.1
This package is not auto-updated.
Last update: 2020-01-24 16:45:12 UTC
README
Deprecated...
Betong
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
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.
Installation
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
Usage
To use Elixir and Gulp, please run one of the following commands:
Development
gulp watch
Production
gulp --production
For more information about Elixir please visit the official document page.
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
See the controller.php in public/package/betong/controller.php
Helpers
Below is a list of all supported helper methods.