Download the PHP package mrgrain/autobahn without Composer

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

Autobahn

Autobahn is the Ueberholspur for your Composer-based WordPress stack. German Engineering.

Quick start

This requires Composer and Vagrant to be properly set up on your machine. If not, please skip to the documentation.

Create a new project by running:

and start your local Vagrant environment with:

Open your browser and navigate to my.autobahn.rocks. That's all! You can login to the admin panel using admin/password as credentials.

License

The mrgrain/autobahn package is open-sourced software licensed under the GPL-3.0 license.

Documentation

Installation

Use composer to create a new project

... or clone the git repository and run composer install.

Vagrant setup

Provisioning your Vagrant virtual machine will execute all required steps:

Manual setup

After installing composer dependencies, set up the basic configuration by copying .env.example to .env and adjust it to your needs:

This most likely requires you to change the database connection details and set an appropriate WP_HOME URL.

Next generate the WordPress security keys using Autobahn CLI:

Finally, run the WordPress install via wp-cli (change URL to an appropriate value):

Basic usage

.env file

Sensitive environment configuration should be stored in the .env file based in your root directory.

autobahn.json

WordPress configuration has to be set in the autobahn.json file in based in your root directory.

Files setup

Settings

Autobahn constants

WP_ENV - Set the environment, defaults to development. WPMU_LOADER - Path to a mu-plugins loader, see advanced configuration section.

Path constants

PUBLIC_DIR - Absolute or relative (project's root directory) path to the public web server document root directory, defaults to public/. CONTENT_DIR - Relative path (from PUBLIC_DIR) to the WordPress content directory, defaults to app/. WORDPRESS_DIR - Relative path( from PUBLIC_DIR) to the WordPress core, defaults to wpp/.

WordPress constants

All default WordPress constants are available via .env or autobahn.json.

WordPress options

Any WordPress option can be forced to a value using the options section in the autobahn.json file.

PHP configuration

Environments

Advanced Configuration

mu-plugins loader

Change public server directory

The easiest way to achieve this, is setting a symlink to the existing public directory.

However, if you need to move the files, you can do this by changing a few configuration values. First, update the composer installer-paths for plugins, themes and the WordPress install directory in your composer.json file:

Run composer update to move all files to the new location.

Next, add PUBLIC_DIR as well as WORDPRESS_DIR and CONTENT_DIR to your autobahn.json configuration.

PUBLIC_DIR can be an absolute path or relative to the project's root directory. WORDPRESS_DIR and CONTENT_DIR are relative to the PUBLIC_DIR. Both are also added to the end of the website URL to access the WordPress admin area and plugin/themes files.

As last we'll need to change the wp-cli configuration to keep it working. Therefore update the wp-cli.yml file:

wp-content location

By default the wp-conent folder is moved to public/app. If you want to change the location of it in your project, please follow the steps described in Change public server directory, only changing the app related values.

WordPress location

By default WordPress is installed to public/wp. If you want to change the location of WordPress in your project, please follow the steps described in Change public server directory, only changing the wp related values.

wp-cli.yml

You can set any configuration for wp-cli to its wp-cli.yml file. For example you might want to globally set the url value and thus skip passing it on to every command:

Please be aware that changing the path will require further adjustments to keep everything working.


All versions of autobahn with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6
composer/installers Version ^1.0.0
johnpbloch/wordpress Version ^4.5.0
mrgrain/autobahn-config Version ^1.1.1
mrgrain/autobahn-cli Version ~0.2.1
roots/wp-password-bcrypt Version ^1.0
mrgrain/bedrock-autoloader Version 1.0
wpackagist-theme/twentysixteen Version ^1.2
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 mrgrain/autobahn contains the following files

Loading the files please wait ....