Download the PHP package lin3s/wordpress-standard without Composer

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

WordPress Standard Edition

The "WordPress Standard Edition" distribution in the LIN3S way.

SensioLabsInsight Scrutinizer Code Quality Total Downloads      Latest Stable Version Latest Unstable Version

Why?

WordPress is the most important CMS around the world, but its PHP code is dark and unmaintainable. In LIN3S we implement this solution providing some useful features that the standard edition of WordPress doesn't come with:

  1. Composer
  2. PHP namespaces
  3. Capistrano deploy
  4. WPFoundation made by LIN3S
  5. Coding standards library made by LIN3S

Prerequisites

The above sounds great so, now, to start developing WordPress project based on this repo, you need the the following requirements:

  1. PHP 7.1 or higher
  2. MySQL
  3. Composer: curl -sS https://getcomposer.org/installer | php
  4. Ruby: gem install bundler && bundle

Getting Started

After installing all the prerequisites, to create a WordPress project based on this Wordpress Standard you should check the following steps.

Firstly, you need to create the project:

You should remove the header licenses and LICENSE itself, because we are not going to be the authors of your awesome project :).

Create the wp-config-custom.php copying the wp-config-custom-sample.php and customizing with your values.

Configure the web server to serve this project. With PHP 5.4 or higher you don't need to configure the web server for this project, because you can use the "built-in-server":

Use an Apache, Nginx or other web server of your choice for production environments. If you choose Apache, remember that you should create the .htaccess copying the base .htaccess.dist file.

Considerations

If all goes well you should have your project on top of WordPress Standard running like a charm. However, there are few tips that you should read.

Deployment

To automate deployment process this project is using Capistrano. All related configuration is inside located inside the deploy directory. You can customize deployment tasks simply, modifying the deploy/deploy.rb file.

You should update the wordpress-standard application name for your awesome project name and the repo url with your project git url.

Inside deploy/stages directory there two files that can be considered as pre-production stage and production stage. There is no logic, these files only contain few parameters that you should customize for your proper deployment.

After all, and following the Capistrano [documentation][11] to configure the server, you can deploy executing:

In the Capistrano shared directory you should create the uploads folder, the .htaccess file (if you are using Apache), the robots.txt and the wp-config-custom.php files.

Downloading database dump

To download the file just run cap dev1 database:download. A sql file will be downloaded to your local environment

Replacing uploads with remote ones

To steps are required to get all the uploads located in the remote environment, download and extract.

cap dev1 uploads:download will download a .tar.gz file to the root of your local environment and cap dev1 uploads:extract will extract the downloaded file into src/uploads folder, replacing all the existing uploads.

Ensuring remote files and folders

The first time you deploy the project, all linked files must be created in order to be symlinked. In order to autocreate folders and uploads your local files to the remote server (very handy when using W3 Total Cache), just run:

cap dev1 server:ensure

After this, just deploy without any problem.

Clearing remote caches

When working with PHP7 & Opcache, for example, you won't see all changes after deploying. Caches need to be flushed with the correct website domain. If you need this feature, just open the deploy.rb file and remove the commented line:

You also need to configure the website domain in each stage file. If the website is password protected, the curl command must use the -u user:password given in the dev1.rb example file.

Licensing Options

License


All versions of wordpress-standard with dependencies

PHP Build Version
Package Version
Requires php Version ^5.5 || ^7.0
johnpbloch/wordpress Version ^4.7
lin3s/distribution Version ^2.4
lin3s/wp-foundation Version ^1.6
lin3s/wp-routing Version ^2.0
timber/timber Version ^1.1
wpackagist-plugin/wordpress-seo Version ^3.0.7
wpackagist-theme/twentysixteen 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 lin3s/wordpress-standard contains the following files

Loading the files please wait ....