plinct / cms
Cms for Plinct app
3.0.7
2024-06-26 20:03 UTC
Requires
- php: ^7.4 || ^8.0
- ext-dom: *
- ext-json: *
- gitonomy/gitlib: ^1.3
- plinct/middleware: *
- plinct/tool: ^1.4
- slim/psr7: ^1.0
- slim/slim: ^4.0
- tuupola/slim-jwt-auth: ^3.0
Requires (Dev)
- ext-gettext: *
- ext-intl: *
- dev-master
- 3.x-dev
- 3.0.7
- 3.0.6
- 3.0.5
- 3.0.4
- 3.0.3
- 3.0.2
- 3.0.1
- 3.0.0
- 2.x-dev
- 2.6.1
- 2.6.0
- 2.5.2
- 2.5.1
- 2.5.0
- 2.4.1
- 2.4.0
- 2.3.0
- 2.2.1
- 2.2.0
- 2.1.0
- 2.0.14
- 2.0.13
- 2.0.12
- 2.0.11
- 2.0.10
- 2.0.9
- 2.0.8
- 2.0.7
- 2.0.6
- 2.0.5
- 2.0.4
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0.0
- 1.10.7
- 1.10.6
- 1.10.5
- 1.10.4
- 1.10.3
- 1.10.2
- 1.10.1
- 1.10.0
- 1.9.0
- 1.8.2
- 1.8.1
- 1.8.0
- 1.7.7
- 1.7.6
- 1.7.5
- 1.7.4
- 1.7.3
- 1.7.2
- 1.7.1
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.5
- 1.4.4
- 1.4.3
- 1.4.2
- 1.4.1
- 1.4.0
- 1.3.5
- 1.3.4
- 1.3.3
- 1.3.2
- 1.3.1
- 1.3.0
- 1.2.1
- 1.2.0
- 1.1.3
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.15
- 1.0.14
- 1.0.13
- 1.0.12
- 1.0.11
- 1.0.10
- 1.0.9
- 1.0.8
- 1.0.7
- 1.0.6
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- 0.9.4
- 0.9.3
- 0.9.2
- 0.9.1
- 0.9.0
- 0.8.6
- 0.8.5
- 0.8.4
- 0.8.3
- 0.8.2
- 0.8.1
- 0.8.0
- 0.7.7
- 0.7.6
- 0.7.5
- 0.7.4
- 0.7.3
- 0.7.2
- 0.7.1
- 0.7.0
- 0.6.12
- 0.6.10
- 0.6.9
- 0.6.8
- 0.6.7
- 0.6.6
- 0.6.5
- 0.6.4
- 0.6.3
- 0.6.2
- 0.6.1
- 0.6.0
- 0.5.10
- 0.4.3
- 0.3.3
- 0.2.9
- 0.1.21
This package is auto-updated.
Last update: 2024-11-05 21:14:44 UTC
README
CMS for Plinct application
Admin panel to manage API Plinct
According to Schema.org standards
Enabled types:
- User;
- Person;
- PostalAddress;
- ContactPoint;
- Place;
- Organization;
- LocalBusiness;
- ImageObject;
- WebPage (with WebPageElement);
- Product;
- Taxon;
- Event;
- Order;
- Invoice
###Installation
composer install plinct/cms
###Dependencies
- php: >=7.2
- Slim/slim: 4.*
- plinct/api
- plinct/web
- plinct/middleware
- plinct/tool
###Get starting On index.php
<?php declare(strict_types=1); use \Slim\Factory\AppFactory; use Plinct\Middleware\RemoveEndBar; use Plinct\Middleware\RedirectHttps; use Plinct\Api\PlinctApiFactory; use Plinct\Cms\CmsFactory; // autoload include '../vendor/autoload.php'; // error error_reporting(E_ALL); /******* SLIM ********/ $slimApp = AppFactory::create(); // for enable routes PUT and DELETE $slimApp->addBodyParsingMiddleware(); //******* PLINCT *********/ // middlewares $slimApp->add(new RedirectHttps()); $slimApp->add(new RemoveEndBar()); // api $api = PlinctApiFactory::create($slimApp); $api->setAdminData("dbAdminUser", "dbEmailUser", "dbAdminPassword"); // optional $api->connect("dbDriver", "dbHost", "dbDatabase", "dbUser", "dbPassword"); $api->run(); // cms on https://domain/admin $cms = CmsFactory::create($slimApp); $cms->setLanguage("pt_BR"); $cms->setTitle("PirenĂ³polis Hospedagem"); $cms->setTypesEnabled([ "webPage", "product" ]); $cms->run(); //******* END PLINCT ***********/ // public routes for website on https://domain $publicRoutes = include './App/routes.php'; $publicRoutes($slimApp); // run $slimApp->run(); ``