Download the PHP package onepix/bedrock without Composer

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

Bedrock for OnePix (BOP)

A fork of roots/bedrock tailored for OnePix.

This fork is designed as a foundation for developing WordPress themes and plugins. All project code should be located in the web/app/{plugins,themes} directory.

A single BOP-based project can include multiple related themes and plugins under development. In such cases, BOP serves as the foundation for a monorepo. Component code can be included directly in the monorepo or added as Git submodules.

Differences from the Original

Getting Started

Basic Setup

  1. Run composer create-project onepix/bedrock to install BOP.
  2. Create an .env file by running cp .env.example .env.
  3. Update the required variables in the .env file.
  4. Start Docker with docker-compose up -d.

Adding a Theme Under Development

  1. Copy your theme directory into web/app/themes, or start developing a theme based on our template onepix/wordpress-template.
  2. Add the theme directory to the .gitignore file under the section "Themes under development".
  3. Commit the new code to the monorepo.

Adding a Plugin Under Development

  1. Copy your plugin directory into web/app/plugins, or start developing a plugin based on our template onepix/wordpress-template.
  2. Add the plugin directory to the .gitignore file under the section "Plugins under development".
  3. Commit the new code to the monorepo.

Adding Plugins as Dependencies

To add plugins as project dependencies, use Composer and WPackagist. WPackagist is already configured in the project's composer.json. All plugins installed this way will automatically be placed in the web/app/plugins directory.

You can find available plugins on the WPackagist search page. For example, to install the WooCommerce plugin, run: composer require wpackagist-plugin/woocommerce

This will:

  1. Add the plugin to composer.json.
  2. Install it.
  3. Place it in the web/app/plugins/woocommerce directory.

Adding Themes as Dependencies

The process for adding themes is the same as for plugins. By default, the latest official WordPress theme is installed, but you can choose another theme if you're not developing your own.

This is especially useful when developing WooCommerce plugins. For example, you can install the official WooCommerce theme "Storefront" alongside the WooCommerce plugin by running: composer require wpackagist-theme/storefront


All versions of bedrock with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
ext-mysqli Version *
composer/installers Version ^2.2
vlucas/phpdotenv Version ^5.5
oscarotero/env Version ^2.1
roots/bedrock-autoloader Version ^1.0
roots/bedrock-disallow-indexing Version ^2.0
roots/wordpress Version 6.7.1
roots/wp-config Version 1.0.0
roots/wp-password-bcrypt Version 1.2.0
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 onepix/bedrock contains the following files

Loading the files please wait ....