Fork de https://github.com/bludit/bludit pour mes sites personnels
Find a file
2022-02-21 22:56:58 +01:00
.github bug fixes 2021-09-05 16:18:01 +02:00
.vscode vscode configuration 2021-09-12 20:57:59 +02:00
bl-kernel Add custom fields 2022-02-21 16:21:32 +01:00
bl-languages Merge pull request #1398 from ltGuillaume/patch-1 2022-01-10 10:41:46 +01:00
bl-plugins Easymde insert image and insert image at cursor position #1405 2022-02-21 22:56:58 +01:00
bl-themes Refactor Alternative theme for Bludit v4 and include plugin for settings 2021-11-22 10:59:38 +01:00
.gitignore bug fixes 2021-09-05 16:18:01 +02:00
.htaccess
composer.json Install via composer #752 2021-10-27 23:17:14 +02:00
index.php
install.php bug fix for #1334 2021-10-16 15:55:33 +02:00
LICENSE change in metadata for Bludit v4.0, plugin for popeye theme updated, refactor 2021-06-02 22:48:30 +02:00
phpstan.neon move vendors to vendors folder, include tinymce languages, update vendors, include vendors in the helper 2021-10-23 18:07:15 +02:00
README.md bug fixes in tags 2021-09-23 18:51:07 +02:00

Bludit

Dear developers

Frameworks and libraries included in Bludit v4

Bludit will include the following frameworks, please use them with they native functions.

Frontend:

  • Bootstrap v5.
  • Boostrap icons.
  • jQuery, you can use vanilla Javascript but for events in the views please use jQuery.

Backend:

  • bl-kernel/functions.php provides the global function for Bludit; These functions provide connectivity between different objects and databases; These functions should provide different checks and logic before add/edit/delete into the databases.
  • PHP SimpleImage for processing images: https://github.com/claviska/SimpleImage

Comments for functions and methods

Please add the following structure commenting what it does the function, also add the stamp === Bludit v4 so I know what is new.

/**
 * Create a new category. === Bludit v4
 * @param		array		$args			[string $name, string $template, string $description]
 * @return		string|bool					Returns the category key on successful create, FALSE otherwise
 */
function createCategory($args) {
   ...
}

Documentation for Bludit v4

There is a new branch for the Documentation in english for Bludit v4.

https://github.com/bludit/documentation-english/tree/v4.0

PHPStan

https://phpstan.org/

docker run --rm -v $(pwd):/app ghcr.io/phpstan/phpstan:0.12.99 analyse -c /app/phpstan.neon /app