Version: 2.0.1
Environment | Status |
---|---|
Production | ❌ |
Staging | ❌ |
- Add deployment status badges and environment URLs to
README.md
- Add project details to
README.md
- Add version number to
README.md
- Add project details to
package.json
- Add version number to
package.json
- Find and replace all instances of 'project-name'
- Find and replace all instances of 'Project Name'
- Find and replace all instances of 'theme-name'
- Replace
resources/img/logo-mark.svg
with project logo - Replace all favicons and configurations in
resources/img/favicons/
- PHP 8.1
- Composer
- Laravel Mix
- Node 20
- Git-Flow to be used for git branching
- PHP PSR-12 coding standards
.editorconfig
rules used to maintain coding styles
We use PHP CodeSniffer to enforce the PSR12 coding style, any PHP code style issues must be resolved before committing. Buddy.works will fail a deployment if code quality checks don't pass.
Start by installing all npm dependencies:
npm install
Laravel Mix provides various commands to compile front-end assets:
npm run watch # watch all files and compile
npm run hot # watch all files, compile with live reload
npm run development # compile without minify
npm run production # compile with minify
SVG files within the /resources/svg
directory will be combined into a single SVG sprite, and can be referenced using the following snippet, where a filename of icon-twitter.svg
is referenced as:
<svg><use xlink:href="#icon-twitter"></use></svg>
SVGs used like this can be interacted with JavaScript and styled with CSS.
All SVGs must be optimised before being added to the codebase, tools such as svgomg can be useful for this.
Composer is used for back-end libraries, use the following command to install dependencies.
composer install
Both npm and composer lock files are to be committed.