Download the PHP package jacerider/neo_config_file without Composer

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

CONTENTS OF THIS FILE

INTRODUCTION

Provides the ability to store files in config.

REQUIREMENTS

This module requires no modules outside of Drupal core.

INSTALLATION

Install as you would normally install a contributed Drupal module. Visit https://www.drupal.org/node/1897420 for further information.

Add to .gitignore:

HOW IT WORKS

Use the 'neo_config_file' element an upload form can be added to FAPI. This element will return the neo config file entity id and not the file entity id. This allows the correct file to always be used even if the file id changes from one environment to another.

When a file is uploaded, a file entity is created. When this happens, an exportable neo config file entity is also created which stores the uri of this file entity among other things. The actual file data is also stored temporarily in the database. At this point in time, the file entity is a temporary file.

When a config export is run, all the neo config file entities about to be exported will clone the file their uri points to into the config directory. At this time any database cache data is purged and the associated file entity is set as permanent.

When a config import is run, all the Neo config file entities being imported will create a file entity if needed and clone the actual file from the config directory into the public files directory.

If a file has been uploaded and a config export has not been run we use the database cache to recreate the file. Say, for example, a new file is added on a remote environment and that database is immediately pulled down. In this case, we have the file entity, and the neo config file entity, but we do not have the actualy file in either the config or files directory. However, the file has been temporarily stored in the database cache and it will be cloned into both directories when a config export is run.

NOTES

There is no usage tracking on the uploaded files and it is recommended that files are not re-used. Via the UI, when a file is removed from the 'neo_config_file' FAPI element, the public file, file entity and neo config file are deleted. The config file will persist until the next export/import. It can be restored running a config import.


All versions of neo_config_file with dependencies

PHP Build Version
Package Version
Requires drupal/core Version ^10.3
jacerider/neo Version ^1.0
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 jacerider/neo_config_file contains the following files

Loading the files please wait ....