Download the PHP package symbioquine/farmos_vue_demo_page without Composer

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

farmOS_vue_page_demo

A contrib module for farmOS demonstrating a packaging strategy for a page built with Vue.js

Note: Some branches and tags include only the built module. See the development branch for the full source code.

Installation

Use Composer and Drush to install farmOS_vue_page_demo in farmOS 2.x;

Available released versions can be viewed at https://packagist.org/packages/symbioquine/farmos_vue_page_demo

FAQs

How does this work?

The Javascript part of this module gets built by npm run build and placed within the Drupal module directory's `js/' folder.

The Drupal part of this module registers a simple controller which renders a page that includes the built javascript and a DOM node for Vue.js to bind to.

What about installation via Composer?

There are two branches for this repository development and release. The development workflow for this package involves only pushing changes to the development branch and to tags with a unbuilt- prefix.

A Github action is triggered by pushes to the development branch and tags with the unbuilt- prefix. That action performs the npm run build step and pushes the resulting built module code either to the release branch or to regular semantically versioned tags.

The Composer package.json file is intentionally not included at the root of the repository for the unbuilt source code.

Due to how Packagist works, the main branch for the Git repository must be set to release to ensure Packagist can find the Composer package.json file.

Okay, but how about live reload for development?

The docker/ directory of the development branch of this repository contains a docker-compose.yml file which mounts the farmos_vue_demo_page/ directory of this repository into the container. That directory is then used as a repository source for Composer to install the Drupal module from. If the Javascript part of this package has already been built, then the module will function correctly when accessing the farmOS server at http://localhost:80/vue_demo_page, but will not have live-reloading for the Vue.js code.

Next, the Webpack Dev server is used to proxy the farmOS container but replace requests for the assets associated with this module with the development versions - which have special code injected in them to support live reloading whenever the Vue.js source code changes.

How do you push new versions?

From the development branch of this repository:

Development

From the development branch of this repository:

Start/recreate the farmOS container;

Run the dev proxy server;

Access the demo page at http://localhost:8080/vue_demo_page


All versions of farmos_vue_demo_page 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 symbioquine/farmos_vue_demo_page contains the following files

Loading the files please wait ....