Download the PHP package tivwp/skeleton-project without Composer

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

skeleton-project

FOR TIV.NET PROJECTS ONLY

Usage Example

cd /var/www
composer create-project tivwp/skeleton-project my-site.com

Composer will install the project and then will run the configuration script:

> tivwp_composer::post_create_project
Please enter the configuration values:
DB_NAME [my-site] :
DB_USER [my-site] (max. 16 chars) :
DB_PASSWORD :mysecretpassword
Domain name [my-site.com] :
Array
(
    [{{DB_NAME}}] => my-site
    [{{DB_USER}}] => my-site
    [{{DB_PASSWORD}}] => mysecretpassword
    [{{SITE_NAME}}] => my-site.com
    [{{PROJECT_ROOT}}] => /var/www/my-site.com
)

OK [Y/n]?
Processing files:
internal/dist/dbcreate.sql => internal/dbcreate.sql
internal/dist/wp-config.php => public/wp-config.php
internal/dist/httpd.conf => apache/httpd.conf

Go to the project folder:

cd /var/www/my-site.com

Run mysql to create the database and the user:

mysql -u root -p < internal/dbcreate.sql
Enter password: **********

Edit the public/wp-config.php file and replace the "Authentication Unique Keys and Salts" section with the content of https://api.wordpress.org/secret-key/1.1/salt/.

Edit the .gitignore file in the project root and uncomment the line:

/public/tivwp-local-config.inc.php

If on development server, edit the /etc/hosts file and put the following line there:

127.0.0.1 my-site.com www.my-site.com

Open the site in a browser to let WordPress set up the database tables:

https://my-site.com/wp/wp-admin/install.php

Note that if you did not install the real SSL certificate, your browser will issue a warning.

Complete the WordPress installation, login to the admin and then go to the General Settings:

https://my-site.com/wp/wp-admin/options-general.php

and change the Site Address (URL) so that it does not end with wp:

https://my-site.com

Keep the above part, WordPress Address (URL) as-is.

Alternatively, if you have WP-CLI installed, you can use it:

wp option update home 'https://my-site.com'

Clean-up

Edit the composer.json file:

That's All

The site is ready. Make a Git repo for it, commit and push.

Author

Gregory Karpinsky TIV.NET INC.


All versions of skeleton-project with dependencies

PHP Build Version
Package Version
Requires wpackagist-plugin/dummy-gateway-for-woocommerce Version @stable
wpackagist-plugin/tivwp-email Version @stable
wpackagist-plugin/woocommerce Version @stable
wpackagist-plugin/wordpress-seo Version @stable
wpackagist-plugin/wp-maintenance-mode Version @stable
wpackagist-plugin/wpforms-lite Version @stable
wpackagist-theme/storefront Version @stable
composer/installers Version @stable
composer-plugin-api Version @stable
johnpbloch/wordpress Version @stable
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 tivwp/skeleton-project contains the following files

Loading the files please wait ....