Download the PHP package faithcatholic/custom_tweaks without Composer

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

Custom Tweaks

A grab bag of site-specific adjustments for the Faith Catholic site. It has no settings form and no configuration of its own. Once enabled it silently changes personal contact mail, the action URL of two exposed filter forms, the time input on every date and time widget, and the buttons on node forms, and it adds one block, three field formatters and one route. Read the Usage section before enabling it, because most of what it does is invisible until it surprises you.

Requirements

Drupal 10.3 or newer, or Drupal 11.

These are declared in custom_tweaks.info.yml and Drupal installs them for you:

Not declared, because nothing breaks without them. The module adjusts these when present and does nothing when they are not:

The module also assumes site configuration that it does not ship. These are the things that bite on a fresh install:

None of that configuration is enforced at install time, so check the list above first if a feature does not appear.

Installation

Install as usual at /admin/extend, or drush en custom_tweaks. The declared dependencies are installed with it.

Usage

There is nothing to configure. This is what the module does:

Development

The repository is the module itself. DDEV builds a Drupal site around it, so web/ and vendor/ are ignored and the module is symlinked into web/modules/custom/custom_tweaks.

ddev start runs the bootstrap: it fetches core and dependencies with ddev poser, installs the site on first run with the admin password 1, symlinks the project into the docroot, enables devel, date_recur and custom_tweaks, and prints a one time login link. ddev drush uli gives you another link later.

Checks:

Pass -c explicitly. Plain ddev phpstan silently ignores the repository config, because the wrapper symlinks phpstan.neon into the module directory using a path that does not resolve in this layout. Without the config it runs at level 0 and skips the ignoreErrors entries.

DDEV add-ons in use: ddev-drupal-contrib, drupal-contrib-extras, pimp-my-shell and ddev-drupal.

Known issues and notes


All versions of custom_tweaks with dependencies

PHP Build Version
Package Version
No informations.
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 faithcatholic/custom_tweaks contains the following files

Loading the files please wait ...