Download the PHP package raffaelj/wordpress-rlj-blocks without Composer

On this page you can find all versions of the php package raffaelj/wordpress-rlj-blocks. 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 wordpress-rlj-blocks

rlj-blocks

Experimental WordPress Plugin to provide a wrapper block with a background image, a video link block and an extension for image titles

I called the block "Section". It is only a wrapper block, that contains other blocks, but with the ability to add a background image. It adds a handful of classes and adds one style attribute if the section has a background image.

The CSS will not load automatically in the frontend. You have to add your own custom styles. It's a bad design decision, to run tons of requests just to add 10 lines of css for each plugin. I use it with a child theme of Twentynineteen.

The video link block requires the unreleased and legacy addon rlj-wp-utils or the experimental plugin WPMultiplane. I'll fix that later...

The image title extensions are experimental.

Installation

Copy all files of this repository into /wp-content/plugins/rlj-blocks.

I don't know, how to add a plugin to the official WordPress plugins, yet.

Notes

If you use the new, fancy Gutenberg features, Wordpress will try to load a Webfont from Google. They still default to kick their users privacy straight into the ass. So dont't forget to install Disable Google Fonts.

Custom CSS

Add this code to your child theme or copy it to "Additional CSS" of your Customizer.

Trivia

I started to discover the new Gutenberg blocks from WordPress and I missed one very important feature: A simple <div> with background images. I tried multiple plugins, but all of them

After reading and testing multiple tutorials to build custem Gutenberg blocks, I discovered Create Guten Block. I should have used this in the first place. Without any knowledge about Gutenberg, React or ESNext, I was able to built this plugin with a lot of trials and errors, but now it works.

Built with Create Guten Block

This project was bootstrapped with Create Guten Block (@MrAhmadAwais.

Below you will find some information on how to run scripts.

You can find the most recent version of this guide here.

npm start

npm run build

npm run eject


All versions of wordpress-rlj-blocks with dependencies

PHP Build Version
Package Version
Requires composer/installers Version ^1.9
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 raffaelj/wordpress-rlj-blocks contains the following files

Loading the files please wait ....