Skip to content

userfrosting/monorepo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Mar 26, 2025
e4956aa · Mar 26, 2025
Mar 8, 2025
Feb 9, 2025
Mar 26, 2025
Dec 8, 2024
Jan 22, 2025
Dec 10, 2024
Dec 10, 2024
Dec 10, 2024
Mar 20, 2025
Jan 21, 2025
Dec 8, 2024
Mar 2, 2025
Mar 2, 2025
Mar 25, 2025
Dec 24, 2024
Dec 10, 2024
Mar 20, 2025
Dec 11, 2024
Mar 8, 2025
Dec 23, 2024

Repository files navigation

UserFrosting 6

License Build PHPUnit PHPStan Codecov StyleCI Join the chat Donate Donate

Setup

  1. Clone this repo

    git clone https://github.com/userfrosting/monorepo.git
    
  2. Run Composer

    composer install
    
  3. Run Bake

    php bakery serve
    
  4. Run at the same time the PHP server and the Vite server is two terminals:

    php bakery assets:vite
    
    php bakery serve
    

    ...or use the VSCode ==> Serve pre-configured task.

The app will be available at http://localhost:8080.

Composer

The monorepo is managed by Monorepo-builder on the Composer side.
It's important to edit the individual package composer.json, not the root one. After each update, run this command.

vendor/bin/monorepo-builder merge

Release

To release a new version, for example 6.0, run this command. Composer will be updated, as well as NPM and a git tag will be pushed using the local user :

vendor/bin/monorepo-builder release 6.0

Or:

vendor/bin/monorepo-builder release patch

You can use minor and major too.