dev-master
9999999-devPackage to sync a Wordpress blog with a Laravel app
MIT
Package to sync a Wordpress blog with a Laravel app
The purpose of this package is to allow you to duplicate an existing Wordpress blog into a Laravel application. It is not a full blog package, it doesn't have a backend. You will have to publish your posts to an existing Wordpress and then sync them to your Laravel app., (*1)
composer require dsampaolo/wordpress-to-laravel
, (*2)
php artisan vendor:publish
, (*3)
Edit your .env file (or the package's configuration file) to match your desired configuration :, (*4)
In the configuration file, you will also find a local_img_storage_path variable, which defines the path where the post's images will be saved., (*5)
That's it. Go to http://example.org/blog to visit your blog., (*6)
This package will replicate all posts in ONE category of your Wordpress remote blog to your Laravel app. Eaech post can be in only ONE sub-category of the parent category., (*7)
Example : Let's say your Laravel App is named A. Your blog posts MUST be in A/First Cat or A/Second Cat in order for them to be synced. Also, they must be published., (*8)
The package will download images (featured and inside the post) to your app's server, and change URLs inside the post accordingly., (*9)
Your blog will extend layouts.app - feel free to edit your blog's views if you use something else., (*10)
This package doesn't sync posts automatically. You have to launch the importer manually., (*11)
Package to sync a Wordpress blog with a Laravel app
MIT