Download the PHP package sitecrafting/groot without Composer

On this page you can find all versions of the php package sitecrafting/groot. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package groot

Groot

The official SiteCrafting WordPress starter theme.

Build Status

Migrating from the old, closed-source Groot

For client projects built on top of Groot, there are a few new ways of doing things using more consistent, reliable tooling that comes bundled with the Lando environment. Note that running lando yarn isn't necessary in normal circumstances: the new Lando environment installs everything for you on lando start.

Task New command Notes
Install dependencies lando yarn Lando does this automatically
Add a dependency lando yarn add lib-xyz
Watch LESS/JS lando webpack --watch
Recompile LESS/JS once lando webpack

Asset Paths in LESS files

Webpack handles image paths differently. The simplest way to refer to theme files is to use the absolute path from the webroot.

At build time, webpack will update the @theme-path variable in base/variables.less based on your theme's directory name:

This will enable you to use the @theme-path variable like this:

Development

To start hacking on the Groot starter theme itself, run:

This will prompt you for site info admin credentials to set up. Then it does some setup/cleanup. After this, you should have a fully functional WordPress site running Groot!

NOTE: For now, we don't import the SiteCrafting WP starter database when spinning up Groot locally. This can be imported manually, if desired. Note that this database expected ACF Pro to be in place, which is also not installed automatically for local development. ACF Pro will need to be installed manually if you require it.

SITKA Support

Run commands from the root directory

For compiling LESS/JS assets within Groot itself, you should be able to run commands within the root directory. For example:

Building a new release

Start by updating the Groot release number in the style.less header comment. This is not strictly necessary, but can make things easier to troubleshoot:

Make sure you commit this change before creating the actual release. Otherwise your release download will not include this update.

Groot includes a script for building itself and creating a release. To create a tag and corresponding release called vX.Y.Z:

This will create a .tar.gz and a .zip archive which you can upload to a new release on GitHub.

If you have hub installed, it will also prompt you to optionally create a release directly!


All versions of groot with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
timber/timber Version ^2.2
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package sitecrafting/groot contains the following files

Loading the files please wait ....