Download the PHP package droptica/droopler-project without Composer

On this page you can find all versions of the php package droptica/droopler-project. 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 droopler-project

Droopler

Droopler template for new project


About

Droopler is a Drupal 10 profile designed to kickstart a new webpage in a few minutes. It's based on the latest frontend technologies, including Bootstrap 5. The maintainer of Droopler is Droptica.

For the latest news, follow us on Facebook and Twitter.

What is this Droopler template?

It's a skeleton, a boilerplate for new projects based on Droopler. If you wish to use Droopler - fork (or download) this repository. It contains a minimal set of code to start your new site. Threat it the same way as drupal/recommended-project or drupal-composer/drupal-project.

This repository includes:

Deploy on Platform.sh

You can deploy and host your Droopler installation on Platform.sh.

Deploy Droopler on Platform.sh

Quick start

Fork this repository and clone the newly created to your local machine.

Local development

This section provides instructions for running the Droopler distribution locally.

Using custom development environment

  1. Run composer create-project droptica/droopler-project:^4.0-alpha <path> to install the project and its dependencies.
  2. Run npm to download the theme dependencies and compile assets.

    Droopler uses the npm stack to speed up the development of new sites. It compiles SCSS to CSS, allows Autoprefixer to handle browser compatibility, and minimizes all JavaScript files. Install Node v18 and npm on your computer and run the following commands in the root directory of your project:

  3. Run Drupal installation.
    Go to http://yourserver.local/install.php and follow the steps of configuration.

Using DDEV

  1. Install ddev.
  2. Run ddev config to configure the project.
  3. Run ddev start to start the project.
  4. Run ddev composer install to download the project dependencies.
  5. If you notice problems with accessing to the repository, run ddev auth ssh to add the keys from your ~/.ssh directory to the web container and run ddev composer install command once again.
  6. Run ddev theme to install the theme dependencies and compile assets. By default, production assets are compiled. You can run ddev theme dev to compile assets for development. You can also run ddev theme watch to watch for changes in SCSS and JS and process them on the fly.
  7. Go to the URL provided by ddev and finish installing the website. You can also run ddev build-profile to build the Droopler profile from the CLI (you will get a fully featured version, with blog, products and demo content).

Using Lando

  1. Install lando.
  2. Run lando start to start the project.
  3. Run lando prepare to build the project's code. Alternatively, you can run lando composer install to download the project dependencies, and then lando theme-production and lando subtheme-production to compile assets.
  4. Go to the URL provided by lando info and finish installing the website. You can also build the Droopler profile from the CLI. Run lando build-full-profile for the fully-featured version, or lando build-full-profile for the minimal one.

Using DDEV connected to a database instance on an active Platform.sh environment

This is instructions for running the template locally, connected to a live database instance on an active Platform.sh environment.

In all cases for developing with Platform.sh, it's important to develop on an isolated environment - do not connect to data on your production environment when developing locally. Each of the options below assume that you have already deployed this template to Platform.sh, as well as the following starting commands:

DDEV provides an integration with Platform.sh that makes it simple to develop Drupal locally. Check the providers documentation for the most up-to-date information.

In general, the steps are as follows:

  1. Install ddev.
  2. A configuration file has already been provided at .ddev/providers/platform.yaml, so you should not need to run ddev config.
  3. Retrieve an API token for your organization via the management console.
  4. Update your ddev global configuration file to use the token you've just retrieved:

  5. Run ddev restart.
  6. Get your project ID with platform project:info. If you have not already connected your local repo with the project (as is the case with a source integration, by default), you can run platform project:list to locate the project ID, and platform project:set-remote PROJECT_ID to configure Platform.sh locally.
  7. Update the .ddev/providers/platform.yaml file for your current setup:

  8. Get the current environment's data with ddev pull platform.
  9. When you have finished with your work, run ddev stop and ddev poweroff.

Note:

For many of the steps above, you may need to include the CLI flags -p PROJECT_ID and -e ENVIRONMENT_ID if you are not in the project directory or if the environment is associated with an existing pull request.

How to work with the subtheme?

Using DDEV

There are several comands that help you to work with the subtheme. You can run them from the root directory of your project.

Using lando

There are several comands that help you to work with the subtheme. You can run them from the root directory of your project.

Running npm on your own

First run npm run watch in your subtheme's directory. It will track all the changes in theme source files and compile assets in the fly.

There are also other npm commands for theme developers, here's the full reference:

SCSS structure

You can use any SCSS structure you like. We recommend dividing files into layout/ and components/ directories. Just remember to include your files in main.style.scss.

SCSS Configuration

Droopler is designed to make your work easier. You don't have to override SCSS or CSS code to make your own adjustments. In most cases it is enough to modify the configuration.

Just look into variables definitions in the subtheme.

Use src/scss/bootstrap/_variables.scss file to overwrite base bootstrap variables.

Use src/scss/base/_themes.scss file to overwrite project specific colors in each theme.

Use src/scss/base/_variables.scss file to overwrite components/paragraphs variables.

When you save this config file, npm run dev will recompile all SCSS with your own config.

Extending and overwriting components

Instead of overwriting the particular component through the CSS variables in the _variables.scss file, you can extend or overwrite it in the src/components directory.

See: components/README.md

Updating Droopler

See the UPDATE.md file from the Droopler profile.

How to install Google Fonts?

By default Droopler uses free Inter webfont. If you wish to install your own fonts from Google - put their definitions into droopler_subtheme.libraries.yml like this:

How to install icon fonts?

If you wish to install FontAwesome or Glyphicons from the CDN - just grab their URLs and follow the steps described in previous chapter about Google Fonts. You'll find a FontAwesome example in droopler_subtheme.libraries.yml and droopler_subtheme.info.yml.

Setup git hooks

​ In the .githooks directory you can find the pre-commit hooks to run the quality tools and to make sure that the front-end has been compiled in the production mode.

To set-up git hooks run:

​ For the first time or when you get no permission error add +x to those scripts.


All versions of droopler-project with dependencies

PHP Build Version
Package Version
Requires composer/installers Version ^2.2
droptica/droopler Version 4.0.0-alpha3
drupal/better_exposed_filters Version ^6.0
drupal/core-composer-scaffold Version ^10.0
drupal/core-recommended Version ^10.0
drupal/facets Version ^2.0
drupal/redis Version ^1.7
drupal/search_api Version ^1.29
drupal/tvi Version 2.0.x-dev@dev
drush/drush Version ^12
oomphinc/composer-installers-extender Version ^2.0
platformsh/config-reader Version ^2.4
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 droptica/droopler-project contains the following files

Loading the files please wait ....