Download the PHP package wkhayrattee/wordpress-with-composer without Composer

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

Using WordPress With Composer & GIT workflow

This project is production ready.

If that matters, I have deployed several WooCommerce-based shops using this setup for the last 4yrs, as well as numourous WordPress blogs.

I obviously also use it on the high production shops/websites for my professional work-place. So far, no issue or constraints. It makes working and developing in WordPress a joy. It makes automated deploy very neat { helps achieve part of the goals for 12-factor principle }.

Now go rock your WordPress development workflow with confidence!

How To Use

1) Use Composer to setup the project:

NOTE: if on DEV environment, omit the --no-dev --optimize-autoloader --prefer-dist

2) Setup your Config & .env files:

Inside the folder www/env, do:

==> Then point your webServer to: path/to/your_main_folder/www/public

3) Add any packages through Composer's require and enjoy building WordPress in a new flexible way, without using the dashboard - you control everything :)

Intro

This is not a "project" (as in a framework) per se, but more of an attempt to adjust the structure of WordPress for PHP developers to be able to add & use Composer and GIT in their workflow.

I'm a PHP developer and like to stay current. I had to embark into DEV-ing with WordPress.

In so-doing, I now feel differently positive about coding with WordPress as well, although I have been using WordPress since 2007 like crazy at a functional level for online purposes (like blogging..etc).

While the code is not 5 star, WordPress in the philosophy is indeed amazing.

Think about it, it's the _onlyproject that has not (never?) made its user-base suffer from upgrading.

It is always highly easy to upgrade. That, in itself is incredible! Anyway, so I wanted to be able to use GIT & a composer approach to my workflow and hence came up with this.

Your Feedback

If you use this project, I would love to hear from you as well. I may feature your project in here to showcase. So get in touch.

NOTE:

I know & have seen roots.io, but it goes way too far in their approach - modifying the structure of WordPress, it's too risky of an approach. It's kinda overdoing it. (No offence, but that's how I feel)

Objectives

CHANGELOG

REFERENCE


All versions of wordpress-with-composer with dependencies

PHP Build Version
Package Version
Requires vlucas/phpdotenv Version 5.5.0
composer/installers Version 2.2.0
johnpbloch/wordpress Version 6.3.2
wpackagist-theme/twentytwentythree Version 1.2
wpackagist-plugin/akismet Version 5.3
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 wkhayrattee/wordpress-with-composer contains the following files

Loading the files please wait ....