Download the PHP package 32d/wordpress-project without Composer
On this page you can find all versions of the php package 32d/wordpress-project. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download 32d/wordpress-project
More information about 32d/wordpress-project
Files in 32d/wordpress-project
Package wordpress-project
Short Description An out-of-the-box composer-powered WordPress package inspired by John P Bloch's WordPress Skeleton
License MIT
Homepage https://www.32-decembre.fr/
Informations about the package wordpress-project
WordPress Project
This is a WordPress project handled mostly by Composer.
Installation
Pre-requisites
- PHP >= 8.1
- Composer
Composer
To install the project on your local environment, make sure you have Composer installed on your machine, and from the project root folder in a terminal, run:
That command alone should handle most of what's necessary for the project to be able to run.
Database
- Grab a database dump from another working environment for this project
- Create a new database in your local environment
- Import the dump
- Replace the URLs, especially in the wp_options table, so they match the URL of your local environment
- Duplicate the the .env.example file to create a .env file
- Edit the newly created .env file to replace the default values with the correct ones
Local Web Server
Whether you are using WAMP, MAMP, LAMP or something custom, you might need to configure it so you can access this project.
If your thing is to just have all your projects as subfolders and your URLs look like localhost/project1/
, then it is very likely you will not have anything to do at all! Just know that the URL for this project will probably feature an extra "wp/", like localhost/project1/wp/
.
If you'd rather configure a new vhost for each project, then you have two options:
- Create a classic Wordpress vhost configuration that points to the "public" folder. Your final URL will feature a "/wp" in it, that's normal
- If you don't want the "/wp" in your URL, you have to configure your vhost accordingly, and it can be very tricky depending on your level of knowledge. Here is an example of a working nginx configuration for this architecture:
Images and Stuff
If you fancy having pretty media showing on your local version of this project, then feel free to open Filezilla or equivalent and download the "uploads" folder to the "public/content" folder of this project. It is already gitignored.
All versions of wordpress-project with dependencies
illuminate/support Version ^8.83
johnpbloch/wordpress-core Version @stable
johnpbloch/wordpress-core-installer Version ^2.0
johnpbloch/wp-cli-phar Version ^2.6
laravel/helpers Version ^1.5
vlucas/phpdotenv Version ^5.4