Download the PHP package peterstollenwerk/auf-grid without Composer

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

auf-grid

Installation

CSS Setup

  1. Login to your panel, open the »grid«-panel and hit the »generate CSS«-Button at the bottom.

  1. Include the generated grid styles in the head of your document:

Important!

After you changed any grid setting, you have to generate CSS in the grid-panel again!

  1. Copy the test images from folder to your sites assets folder:

  2. Go to our test page and check if everyting is working. It should look like this Complete Test Page Screenshot:

  1. Add the hash '#grid' to any page url and you get a grid overlay to check your settings

  2. Please read the auf-grid.css for all available classes which you can use in your components.

Grid Column Presets Site Setup

If you want to create custom column presets you can do so.

  1. Implement our grid_settings section somewhere in your site.yml:

  2. Add some meaningfull presets.

Add »grid__column--full« to the presets, if you want use the full page width. This preset will be handled a little differently for you.

  1. Important: (Re-)Generate the grid CSS in the grid-panel to create the new preset css classes!!!!

Setup Grid Fields

Setup your component blueprint (i.e. builder-block) with the grid-fields found in blueprints/fieldgroup/grid_component_settings.yml


Use the Grid in your snippets

If you use grid_column_presets in your site configuration, you can pass the structure field as an argument:


Test the grid

The plugin sets up a custom route with a virtual testpage at:


Grid--Overlay

To check if everything is in perfect grid-condition you can show a little grid-overlay by adding the hash '#grid' behind your url.

For this to work, you need to include the grid-overlay-snippet before the body-tag.


Todos


All versions of auf-grid with dependencies

PHP Build Version
Package Version
Requires getkirby/composer-installer Version ^1.1
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 peterstollenwerk/auf-grid contains the following files

Loading the files please wait ....