Download the PHP package kgaut/drupal-makefile without Composer

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

Makefile for Drupal

Generic makefile rules to manage a drupal 8+ project

Installation

Edit your .env file and copy / paste the following vars, do not forget to change values according to your setup :

Edit Makefile and add just after the line include .env (or after the line include docker.mk, depending on your docker4drupal version) :

Mount your local dump folder to /var/db within your mariadb container.

Sample of mariadb service definition :

Availables rules

db-dump

Create a local database gziped dump.

db-preprod-dump

Create a preproduction database gziped dump.

db-prod-dump

Create a production database gziped dump.

db-prod-import

Empty local database, import the most recent database dump from production, rebuild caches, run database updates, import configuration and provide an authentification url as user 1.

db-preprod-import

Empty local database, import the most recent database dump from preproduction, rebuild caches, run database updates, import configuration and provide an authentification url as user 1.

db-prod-get

Download the most recent database dump from production.

db-preprod-get

Download the most recent database dump from preproduction.

db-import

Empty local database, import the most recent dump available localy, rebuild caches, run database updates, import configuration and provide an authentification url as user 1.

db-post-import

Rebuild caches, run database updates, import configuration and provide an authentification url as user 1.

db-empty

Empty local database.

dd-tail

Tail the drupal-debug.txt files.

watchdog

Tail the watchdog entries.

Note : for this command to works, you'll need to patch drush/drush by adding the following lines to the patches section of your composer file :

For more informations : https://kgaut.net/blog/2016/drupal-8-composer-appliquer-un-patch-dans-le-fichier-composerjson.html

ssh-prod

Open a ssh connexion to production server.

ssh-preprod

Open a ssh connexion to preproduction server.

sapi

Rebuild Search API indexes


All versions of drupal-makefile 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 kgaut/drupal-makefile contains the following files

Loading the files please wait ....