Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Notes on working with October CMS

Working with October CMS

Working with Laravel

Setup PhpStorm

CLI

Run: php artisan october:up

Use DotEnv setup: php artisan october:env

Clear cache: php artisan cache:clear

Themes

Install: php artisan theme:install theme-author.theme-name theme-dir

Activate: php artisan theme:use theme-dir

Plugins

Install & activate: php artisan plugin:install plugin-author.plugin-name

Plugin scaffolding

Create new plugin: php artisan create:plugin Foo.Bar

Create new component: php artisan create:component Foo.Bar Post

Debugging

Logging

Templating

Loops

{% for post in blogPosts.posts %}
    {{ post }}
{% endfor %}

Form validation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment