Skip to main content

Installation

[1] Installing the package requires to add these fields to your composer.json:
[2] Then require it:
[3] could be either a version number, or dev-master to always grab latest. [4] Run composer update (On windows you need to add -–ignore-platform-reqs ext-pcntl, because this extension is not available on windows) [5] Run php artisan cms:install

Installation Development Environment

There are two approaches to set up the development environment: This approach allows you to maintain separate Git repositories while keeping them connected:
  1. From your Laravel project root, initialize the submodule:
  1. Initialize and update the submodule:
  1. Add to composer.json:
  1. Run composer update
  2. Extend your user model from the Firepit User model:
Working with the submodule:
  • To update the submodule to latest: git submodule update --remote
  • To commit changes in the submodule:
  • Don’t forget to commit the submodule reference in your main project:

Option 2: Simple Clone (For Quick Testing)

  1. Run the following commands from Laravel project root:
  1. Follow steps 3 and 4 from Option 1.
Note: This method doesn’t maintain the connection between repositories. Use Option 1 (Git Submodules) for proper version control.

Production

Initiate the submodule: git submodule set-url packages/firepit-cms git@github.com:WebBuildsNL/firepit-cms.git Deploy script: