Download the PHP package wp-forge/wp-site without Composer
On this page you can find all versions of the php package wp-forge/wp-site. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download wp-forge/wp-site
More information about wp-forge/wp-site
Files in wp-forge/wp-site
Package wp-site
Short Description Create a new WordPress site via Composer.
License GPL-3.0-or-later
Informations about the package wp-site
WordPress Site
Easily create a new Composer-based WordPress site.
Requirements
Installation
Run this command in the terminal:
Optionally append a directory name to the end of the command to customize the folder name that your project will be installed into.
The installation process will check your environment for the required PHP version and PHP extensions. If this presents a problem and you want to force install anyway, just add the --ignore-platform-reqs flag to the command.
Usage
With Laravel Valet
- Install Homebrew
- Install Laravel Valet
- Install MySQL using Homebrew:
brew install mysql - Start MySQL using Homebrew:
brew services start mysql - Set password to be
rootfor the root user:$(brew --prefix mysql)/bin/mysqladmin -u root password root - Run
composer create-project wp-forge/wp-site local - Run
valet link local(unless you've already runvalet parkand are in your Valet root directory) - Run
valet secure local - Run
cd local - Run
composer run wp db create- You may need to rename the database in your.envfile first if you don't want your database to be namedlocal. - Visit
https://local.test(unless you set a different top level domain) in the browser to finish the WordPress installation.
If you want your site's domain to be something different, just replace all instances of the word local above with your desired name.
With Local
- Install Local
- Create a new WordPress site using the UI
- Navigate to the site's
appdirectory in the terminal. - Run
rm -rf publicto delete thepublicdirectory. - Run
composer create-project wp-forge/wp-site public - Click the link in Local to visit the site in the browser.
Configuration
Open up the .env file to edit database credentials or other WordPress constants.
Reminders
Don't forget to:
- Update the project's meta data in the composer.json file.
- Customize the readme.md file for your project.
All versions of wp-site with dependencies
johnpbloch/wordpress Version @stable
wpscholar/phpdotenv Version ^1.0
php Version >=5.6
ext-curl Version *
ext-date Version *
ext-dom Version *
ext-filter Version *
ext-ftp Version *
ext-gd Version *
ext-hash Version *
ext-iconv Version *
ext-json Version *
ext-libxml Version *
ext-mbstring Version *
ext-mysqli Version *
ext-openssl Version *
ext-pcre Version *
ext-posix Version *
ext-simplexml Version *
ext-sockets Version *
ext-spl Version *
ext-tokenizer Version *
ext-xml Version *
ext-xmlreader Version *
ext-zlib Version *