Skip to the content.

Laravel Wordpress CMS

Welcome to GitHub Pages

Install & setup

###OPTION 1:

php artisan install

###OPTION 2:

Login Admin

Theme

1. Create new theme

	default/
        ├── README.md
        ├── lang
        │   └── vi
        │   └── en
        ├── public
        │   ├── css
        │   ├── img
        │   ├── js
        │   ├── manifest.json
        │   ├── screen_shot.png
        │   └── vendor
        └── views
            ├── home
            ├── layouts
            ├── page
            ├── post
            ├── product
            ├── search
            └── tag

2. Remove theme

    	php artisan theme:remove {--name=}

Plugin

  1. Laravel Package Woocommerce

Generate

- create controller
    + php artisan make:controller Admin/SchoolCollegeTypeController --resource --model=Models/SchoolCollegeType
    + php artisan make:controller Site/SitemapController

- create model:
    + php artisan generate:modelfromtable --table=master_plugins --folder=App/Models --singular

- create mail
    + php artisan make:mail ShoppingCart

- create job
    + php artisan make:job ShoppingCartJob

PHP auto fix cs

- preview
    + ./vendor/bin/php-cs-fixer fix --diff --dry-run -v

- auto fixed
    + ./vendor/bin/php-cs-fixer fix

Queue

Integrate third-party