Download the PHP package ianchanning/wp-insella without Composer

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

WP in-sella

Based on WordPress Skeleton but replacing Git Submodules with Composer.

In sella is Italian for 'in the saddle' and was initially used for http://insella.co.uk.

This tries to make the benefits of WordPress Skeleton available for a wider audience:

  1. This readme should get you fully started with WordPress installed and uploads working
  2. Composer in my view is easier to understand than learning about Git Submodules
  3. Composer should be able to install on hosts that don't have Git
  4. I agree with the idea that Composer is a more appropriate tool to use than Git Submodules
  5. The directory structure remains compatible with WordPress Skeleton, so you should be able to mix in the extra WordPress Skeleton goodies when you get to them
  6. There's a separate wp-config-skeleton.php file so that you don't have to fork this repo which makes it easier to get WordPress updates
  7. This is a Composer Package so instead of cloning you can call composer create-project ianchanning/wp-insella . in your httpdocs directory
  8. It still encourages local development with the local-config.php file and allows all the other great stuff you can do with WordPress-Skeleton

This setup relies on having SSH access and running the PHP commands to install composer on your webserver.

If you don't have Git on your webserver, follow the Media Temple installation guide at the bottom as that happens to be what I'm using.

Quick start

Skip this section if you don't have git or composer installed.

Create your database and edit wp-config.php with your database config and salts.

Configuration

Then go to http://www.example.com/wp/wp-admin/ - beware of going directly to www.example.com as it will try going to http://www.example.com/wp-admin which misses out the wp directory and ends up in an infinite redirect.

Once WordPress is installed, go to Settings | General and change the Site Address (URL) to http://www.example.com

Site Address (URL) example

Uploads

WordPress Skeleton suggests that you should only use the 'shared' directory for uploads locally. Given that we're not using capistrano we'll keep the directory structure the same but just use the shared directory in production.

Make sure uploads directory is writable by your webserver.

Future updates

  1. I'll update, commit and push the composer.json file to https://github.com/ianchanning/wp-insella
  2. On your site:

No git and no composer setup

This is assuming that you have the most basic web host that doesn't allow anything except SSH / PHP / MySQL.

Database

Using your hosting admin:

  1. Create the MySQL database
  2. Create a database user
  3. Give the database read and write access on the database
  4. Have the details handy

Composer

From the main composer installation guide, I'm going to assume that you probably don't have the rights to install it globally so we'll install it locally. N.B. the -d allow_url_fopen=On which is to modify one of the php.ini settings which may be turned off by your host (e.g. Media Temple)

Log in via SSH. Install composer in the httpdocs parent directory and httpdocs must be empty.

WordPress

This should set up the entire WordPress Skeleton installation and the wp directory with all the WordPress files.

Edit wp-config.php with your database config and salts.

Follow the above Create the shared uploads directory sections above.

Future updates

  1. I'll update, commit and push the composer.json file to https://github.com/ianchanning/wp-insella
  2. Download https://raw.githubusercontent.com/ianchanning/wp-insella/master/composer.json
  3. FTP it to your httpdocs directory and overwrite the composer.json
  4. Run php -d allow_url_fopen=On ../composer.phar update

Media Temple (Grid Service) installation

Database

In media temple admin go to:

  1. Create a database
  2. Create a database user
  3. Give the user permission on the database

Composer

Composer can't be installed globally so it has to be installed locally. Based off this guide:

Login via SSH, this assumes that your html directory is empty. You will get warnings when you install comopser, but it should still install correctly.

WordPress

This should set up the entire WordPress Skeleton installation and the wp directory with all the WordPress files.

Edit wp-config.php and change the database settings to (N.B. the DB_HOST isn't localhost):

Update the salts.

Follow the above Create the shared uploads directory sections above.

Future updates

  1. I'll update, commit and push the composer.json file to https://github.com/ianchanning/wp-insella
  2. On your site:

All versions of wp-insella with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.0
wordpress Version 4.9.6
fancyguy/webroot-installer Version 1.0.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 ianchanning/wp-insella contains the following files

Loading the files please wait ...