Download the PHP package laravel-admin/wordpress without Composer
On this page you can find all versions of the php package laravel-admin/wordpress. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download laravel-admin/wordpress
More information about laravel-admin/wordpress
Files in laravel-admin/wordpress
Package wordpress
Short Description The Laravel Framework with a Wordpress CMS
License MIT
Informations about the package wordpress
Laravel setup with Wordpress as CMS
Note: This project is just a default Laravel 5.4 setup added with some scaffoling to get wordpress as your project setup.
This project has two main goals
- Get Wordpress as a depency within your Laravel App.
- Access the Wordpress data on a Eloquent like approach.
To achieve this we combined two great libraries from Github. For Wordpress as a dependency we use John P. Bloch's [composer added Wordpress] (https://github.com/johnpbloch/wordpress).
To access the data with an Eloquent Approad we use the outstanding library from Junio Grossi; [Corcel] (https://github.com/corcel/corcel)
Installation
Create a new composer project
Fill in your .env file. Notice 2 things:
- Add the unique Wordpress salts to the .env from [https://api.wordpress.org/secret-key/1.1/salt/]
- Change the APP_URL to your actual host name. This is important for running Wordpress
Run the following artisan command to create a symbolic link for the public storage. Wordpress attachments will be stored in the default public Laravel storage.
Now you can run the Wordpress admin from your host with the path /wp/wp-admin. The first time you have to setup your site.
Usage
...
All versions of wordpress with dependencies
composer/installers Version ^1.2
laravel/framework Version 5.4.*
laravel/tinker Version ~1.0
johnpbloch/wordpress Version ^4.7
jgrossi/corcel Version 1.4.*
corcel/acf Version 0.1.*
laravel-admin/wordpress-helpers Version 0.1.*