Download the PHP package toteph42/filesync without Composer

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

Synconize files and send e-Mail notification to members for Contao Open Source CMS

This small extension replaces to Contao internal contao:filesync command by toteph42:filesync. On top of the file synchronization, e-Mail notifications were send to users if any file has changed or is new.

Installation

Via composer

Via contao-manager

After installing the contao-member-extension-bundle, you need to run a contao install.

Usage

  1. Define Member groups exactly as the folder names were defined (e.g. member group Group1).
  2. Assign this group to a member.
  3. Create a directory below files directory named like your group (e.g. files/Group1).
  4. Then copy any files to the directory and call vendor/contao-console toteph42:filesync.

Disable notification

  1. Uncheck checkbox Notify user about changes in file system in member definition (default=true).

Member configuration

If you want members to give the possibility to select whether they want notification or not in frontend:

  1. Create a frontend module Personal data.
  2. Select field Notify user about changes in file system as Editable fields.
  3. Create an Article and include the module you just created.

Creating message to send

Now you need to create a Forms with the name of the group (e.g. member group Group1).

  1. Click on checkbox Send form data via e-mail in section Send form data.
  2. Enter the sender address in field Recipient address (e.g.[email protected]).
  3. Add your Subject.
  4. Select Data format E-mail.
  5. Save and close
  6. Add a content field with Field type Explanation.
  7. Enter your e-Mail in Text field. Use the placehoder [[files]] where you want the list of files to be inserted.
  8. Save and close

Testing

To test, please go to your web directory and use the command

Production

To start sending notification e-Mails, you need to edit your crontab using crontab -e and enter:

Please enjoy!

If you enjoy my software, I would be happy to receive a donation.

Donate with PayPal


All versions of filesync with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0
contao/core-bundle Version >=5.3.0
symfony/mailer Version ^6.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 toteph42/filesync contains the following files

Loading the files please wait ....