This package has been deprecated

Author message:

Use @friendsofflarum/create-flarum-extension instead

@reflar/create-flarum-extension

1.4.3 • Public • Published

Create Flarum Extension by ReFlar

npm version node npm downloads

Create a Flarum extension from a boilerplate in minutes!

asciicast

Quick Overview

Using npx (npx comes with npm 5.2+ and higher):

npx @reflar/create-flarum-extension [dir]

Normally:

npm install -g @reflar/create-flarum-extension
create-flarum-extension [dir]

Creating an Extension

You’ll need to have Node >= 6.4.0 on your local development machine. You can use n to interactively manage your node versions.

To create a new app, run a single command:

npx @reflar/create-flarum-extension my-extension

(npx comes with npm 5.2+ and higher, see quick overview for older npm versions)

It will create a directory called my-extension inside the current folder. Inside that directory, it will generate the initial project structure:

my-extension
├── .gitignore
├── bootstrap.php
├── composer.json
├── LICENSE.md
├── README.md
├── js
│  ├── admin.js
│  ├── forum.js
│  ├── package.json
│  ├── src
│  │  ├── admin
│  │  │  └── index.js
│  │  └── forum
│  │     └── index.js
│  └── webpack.config.js
└── resources
   ├── less
   │  ├── admin.less
   │  └── forum.less
   └── locale
      └── en.yml

Flarum Resources

Dependencies (7)

Dev Dependencies (2)

Package Sidebar

Install

npm i @reflar/create-flarum-extension

Weekly Downloads

0

Version

1.4.3

License

MIT

Unpacked Size

17.9 kB

Total Files

21

Last publish

Collaborators

  • datitisev