Download the PHP package zippovich2/wordpress without Composer
On this page you can find all versions of the php package zippovich2/wordpress. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download zippovich2/wordpress
More information about zippovich2/wordpress
Files in zippovich2/wordpress
Download zippovich2/wordpress
More information about zippovich2/wordpress
Files in zippovich2/wordpress
Vendor zippovich2
Package wordpress
Short Description Developing Wordpress app in modern way using composer.
License MIT
Package wordpress
Short Description Developing Wordpress app in modern way using composer.
License MIT
Please rate this library. Is it a good library?
Informations about the package wordpress
Wordpress Wrapper
Developing Wordpress app in modern way using composer.
Features
- Better folder structure.
- Dependency management with Composer.
- Easy WordPress configuration with environment specific files.
- Environment variables with Symfony Dotenv.
- Filters and actions configuration in .yaml files.
Requirements
- Docker
or
- PHP >= 7.3
- Composer - Install
- MySql
- Nginx or Apache2
Installation
-
Create a new project:
- Update variables in the
.env
files and constants in the.const
files (you can use.env
,.env.local
,.env.dev
,.env.dev.local
and.const
,.const.local
,.const.dev
,.const.dev.local
files depends on yourAPP_ENV
):APP_ENV
- set to environment (dev
,prod
ortest
).DB_TABLE_PREFIX
- use this environment variable to change database table prefix, default iswp_
.- Database constants:
DB_NAME
- database name.DB_USER
- database user.DB_PASSWORD
- database password.DB_HOST
- database host.
WP_HOME
- full URL to WordPress home (https://example.com).WP_SITEURL
- full URL to WordPress including subdirectory (https://example.com/wp).- Wordpress salts will be generated after the project is created (if you used
composer create-project
), but you can regenerate them:composer salts
make salts
wp dotenv salts regenerate --file=.env
- or generate with roots WordPress salts generator
- Add a theme(s) in
public/app/themes/
as you would for a normal WordPress site - Set the document root on your webserver to
public
folder:/path/to/site/public/
- Access WordPress admin at
https://example.com/wp/wp-admin/
- For enabling WordPress Config - add to begin of
functions.php
:
If you are using Docker - you can skip 3, 4 and 5, just run make up
or docker-compose up
then you can access you site by
uri http://localhost:8080
.
Folder structure
.docker/
- contain files which are used to build docker environment, you can delete this folder if run app without Docker.config/
- contain .yaml config files, at this moment WordPress Wrapper Config support:filters.yaml
actions.yaml
public/
- this is root folder, contain:app/
- same as defaultwp-content
WordPress folder.wp/
- contain WordPress core, you should not edit files from this directory.index.php
- WordPress core loads here.wp-config.php
- here.env*
and.const*
files are load.
tests/
- app tests.var/
- contain docker data(if you use Docker) and logs.vendor/
- composer dependencies.
All versions of wordpress with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.3
roots/wordpress Version ^5.0
symfony/dotenv Version ^5.0
zippovich2/wordpress-config Version ^1.1
zippovich2/wordpress-loader Version ^1.1
roots/wordpress Version ^5.0
symfony/dotenv Version ^5.0
zippovich2/wordpress-config Version ^1.1
zippovich2/wordpress-loader Version ^1.1
The package zippovich2/wordpress contains the following files
Loading the files please wait ....