this starter kite inspired by laravel & Geo and mvc pattern. it's wrap for Wordpress built in classes.

Overview

WordpressStarterKite

PHP Composer

Introduction

  • this starter kite inspired by laravel & Geo and mvc pattern.
  • it's wrap for Wordpress built in classes.
  • why I started building this kit because of the following:-
    • what I saw in the documentation was not clear enough for any developers whom used to code in modern pattern.
    • if the plugin require a lot of logic it was mess to write every thing index file which isn't clean and would be hard to be maintained by the time.
    • last thing I build it clean and separate as possible based on my knowledge of any one knows to do it better im really open for it.

Built With

  • php
  • js

Prerequisite

  1. php >= 8.0
  2. composer

Directory Structure

├───Src
│   ├───Controllers
│   ├───Database
│   │   ├───Initialization
│   │   ├───Migrations
│   │   └───Seeders
│   ├───Exceptions
│   ├───Helpers
│   ├───Langs
│   │   ├───de
│   │   └───en
│   ├───Middlewares
│   ├───Models
│   ├───Requests
│   ├───Resources
│   │   ├───css
│   │   ├───js
│   │   └───Views
│   │       ├───admin
│   │       └───website
│   ├───Services
│   ├───Support
│   │   ├───Route
│   │   └───Template
│   └───Validations
└───tests
    └───Unit

Guidelines

  • src directory the where the developer will write his logic based on the plugin requirements.
  • for database we have to main directories
    1. database
      • Here we create table with it's columns which will create our tables
      • has migrations directory which contains the tables that will be created on the database when the plugin will be enabled
      • all the developer has to do is just create new php file following the example in the migrations directory with the same code styling if table columns data type not supported he have to add the new type into the Initialization/Table class then it will be allowed to use in his migration file.
    2. models
      • Here we create models
      • has main class which is model which hold all basic queries for table insert/update/delete/select/order By/paginate and if the plugin require more advanced queries he have to add it
      • will make his models which is refer to the table and columns he need to query on it the model have to extend the model class he can use it on created table by the migration or on existing table of the project.
  • Request directory
    • Here we create request validation rules

Getting Started

composer require reneknox/wordpress

Authors

You might also like...
A small, modern, PSR-7 compatible PSR-17 and PSR-18 network library for PHP, inspired by Go's net package.

Net A small, modern, PSR-7 compatible PSR-17 and PSR-18 network library for PHP, inspired by Go's net package. Features: No hard dependencies; Favours

A small, modern, PSR-7 compatible PSR-17 and PSR-18 network library for PHP, inspired by Go's net package.

Net A small, modern, PSR-7 compatible PSR-17 and PSR-18 network library for PHP, inspired by Go's net package. Features: No hard dependencies; Favours

Ied plugin composer - Inspired Plugin Composer: Create, publish and edit plugins from within Textpattern CMS.

ied_plugin_composer Create, publish and edit plugins from within Textpattern CMS. Creates a new page under the Extensions tab where you can edit and e

A news website inspired from IEEE and MIT CSAIL's homepage

News-Website I made this website as a side project in April 2022. The goal was to learn PHP and implement backend features to a scientific news websit

High performance view templating API for PHP applications using tags & expressions inspired by Java JSTL and C compiler

View Language API Table of contents: About Expressions Tags Configuration Compilation Installation Unit Tests Examples Reference Guide About This API

Laravel style FormRequests for Symfony; inspired by adamsafr/form-request-bundle

Somnambulist Form Request Bundle An implementation of form requests from Laravel for Symfony based on the original work by Adam Sapraliev. Requirement

Glob-like file and pattern matching utility.

Glob-like file and pattern matching utility.

Simple repository pattern for laravel, with services!

With repository and service you can separate business logic and query logic, slim controller and DRY. Simple generate repository and service with artisan command, automatically bind interface with repository

A data transfer object inspired by Rust's serde

Data Transfer Object Want to deserialize an object with data on the fly? Go for it by using the From trait. How is this package any different from spa

Releases(v0.0.1)
Owner
Omar Hossam Eldin Kandil
I'm Full Stack Developer trying to be Software Engineer.
Omar Hossam Eldin Kandil
YCOM Impersonate. Login as selected YCOM user 🧙‍♂️in frontend.

YCOM Impersonate Login as selected YCOM user in frontend. Features: Backend users with admin rights or YCOM[] rights, can be automatically logged in v

Friends Of REDAXO 17 Sep 12, 2022
YL MVC Structure (PHP MVC) is a pattern made in PHP used to implement user interfaces, data, and controlling logic.

YL MVC Structure (PHP MVC) is a pattern made in PHP used to implement user interfaces, data, and controlling logic. It is built based on the combination of ideas from the Yii framework and Laravel framework (yl).

Tan Nguyen 3 Jan 3, 2023
Mvc - Phalcon MVC Examples

Phalcon MVC Examples These are examples of MVC file structures you can employ using Phalcon >= 3.0.x For further documentation, check out the Phalcon

The Phalcon PHP Framework 804 Jan 3, 2023
Developer-friendly framework heavily inspired by Laravel and based on Timber and Wpemerge solutions for WordPress themes development with Bedrock folder structure

Lightweight Brocooly (Brocket) Improved Controllers, Middleware and Routers, but slightly less powerful Container Open beta. Package in development Cr

Ihar Aliakseyenka 3 Mar 4, 2022
An opinionated extension package for Laravel Orchid to extend its table handling capabilities, and some further useful helper methods.

OrchidTables An opinionated extension package for Laravel Orchid to extend its table handling capabilities, and some further useful helper methods. In

null 25 Dec 22, 2022
A research raw data repository for researchers of Arba Minch University built using Codeigniter which follows MVC architecture. The front-end is build using Bootstrap.

Arba Minch University Dataset Repository This system is a research dataset repository for Arba Minch University researchers and is build using Codeign

Wuletaw Wonte 8 Jul 1, 2022
Generally, a graceful shutdown is preferable in the case of any OS that saves its state

Graceful Shutdown with PHP Generally, a graceful shutdown is preferable in the case of any OS that saves its state.

Leonardo Carmo 17 Oct 14, 2022
This project has reached its end-of-life (EOL).

EOL Notice This project has reached its end-of-life (EOL). README Requirements The supported Magento version is 1.9.x Features ajax navigation using h

Catalin Ciobanu 136 Apr 2, 2022
yform 4 usability addon (temporary until yform gets its own)

massif_usability Package für REDAXO CMS >= 5.10.0 temporäres Ersatz-Plugin für yform_usability für yform >=4 – bietet ähnliche Funktionalität wie yfor

Yves Torres 6 Mar 4, 2022
WordPress plugin starter/boilerplate.

Howdy WordPress plugin starter. Based on "Service Provider" design pattern. Environment setup composer install npm install Plugin Backend Architecture

CodesVault 18 Jan 3, 2023