Download the PHP package rbdwllr/wordpress-starter without Composer

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

WordPress Starter Repo

A simple Wordpress starter repo that uses Composer to install WordPress, plugins, themes and vendor packages. The wp-config has been extended so that it is powered by PHP DotEnv and makes use of .env files which are much better for deployments.

WordPress is pulled in from JohnPBloch's WordPress packagist project that reflects the latest release of WordPress.

Thanks must go to Chris Sherry for his excellent tutorial on modern WordPress development that inspired this project two years ago. See Chris' talk from PHP UK 17 to learn more about this subject.

System Requirements

Installation

To install the WordPress starter run the following Composer command:

If you download the project manually it will include some testing features such as Behat and Travis that may be of no interest to you and you may need to delete them.

DotEnv Setup

After the composer create-project command is run your .env file will be created automatically based on the .env.example file. Also the relevant WordPress salts and keys will be appended to the end of the .env file via the wordpress-salts-generator library.

You will need to edit the .env file to match your specific environment in regards to database, etc.

If you have installed this package manually rather than via Composer we advise that you just copy the .env.example file. Also you can append the required salts to the end of .env file using this following command:

Yarn Setup

This project makes use of Yarn rather than NPM directly, we find Yarn generally works better.

To install the required dependencies run the following command:

Once Yarn has installed all the required dependencies you can build your JavaScript and SASS files by running the below command. Note you will need to run this command to get the base theme working.

Theme

The WordPress starter project comes with a pre-built base theme stored in the ./public/wp-content/themes/project-theme directory.

This theme is turned on by default in the wp-config.php file. See the constant WP_DEFAULT_THEME.

We have tightly coupled the theme to the project so that JavaScript and SASS files can be built at the root level as this makes site deployments far easier.

Authors


All versions of wordpress-starter with dependencies

PHP Build Version
Package Version
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 rbdwllr/wordpress-starter contains the following files

Loading the files please wait ....