2017 © Pedro Peláez
 

library core

Playground Core Module

image

playground/core

Playground Core Module

  • Friday, June 29, 2018
  • by gregorybesson
  • Repository
  • 1 Watchers
  • 1 Stars
  • 8,920 Installations
  • PHP
  • 20 Dependents
  • 0 Suggesters
  • 9 Forks
  • 3 Open issues
  • 100 Versions
  • 7 % Grown

The README.md

PlaygroundCore

SensioLabsInsight, (*1)

Develop Branch Build Status Scrutinizer Quality Score Coverage Status, (*2)

Latest Stable Version Total Downloads Latest Unstable Version License, (*3)

This library contains the following features :, (*4)

  • Google Analytics : Tagging Google Analytics (fork of Jurian Sluiman project : https://github.com/juriansluiman/SlmGoogleAnalytics)
  • Facebook Tags
  • Twilio
  • CKEditor : Wysiwyg editor (fork of https://github.com/Celtico/QuCKEditor from Celtico)
  • ELFinder : Added to CKEditor to manage assets on server. (fork of https://github.com/Celtico/QuElFinder).
  • Cron : Cron Engine (fork of https://github.com/heartsentwined/zf2-cron with deep refactoring so that it's now based on ZF2 events)
  • ShortenUrl : URL Shortener based on Bit.ly
  • MailService : Templating mails.
  • Slugify : Transform text into slug (useful for creating url)
  • Core layout : The base for creating the structure layout of a website.

Each feature is explained in the wiki : https://github.com/gregorybesson/PlaygroundCore/wiki, (*5)

Migration Laminas

  1. Màj bootstrap de /tests avec
  $config = ArrayUtils::merge($baseConfig, $testConfig);

  $smConfig = new ServiceManagerConfig($config);
  $serviceManager = new ServiceManager();
  $smConfig->configureServiceManager($serviceManager);

  $serviceManager->setService('ApplicationConfig', $config);
  $serviceManager->get('ModuleManager')->loadModules();
  1. Remplacer
public function setUp()

par, (*6)

protected function setUp(): void
  1. Remplacer
public function tearDown()

par, (*7)

protected function tearDown(): void
  1. Remplacer
\PHPUnit_Framework_TestCase

par, (*8)

\PHPUnit\Framework\TestCase
  1. Les annotations PHPUNIT
  2. Remplacer
'MvcTranslator'                      => 'Laminas\Mvc\I18n\TranslatorServiceFactory',

par, (*9)

'MvcTranslator'                      => 'Laminas\I18n\Translator\TranslatorServiceFactory',

The Versions