PlaygroundCore
This library contains the following features :
- 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
Migration Laminas
- 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();
- Remplacer
public function setUp()
par
protected function setUp(): void
- Remplacer
public function tearDown()
par
protected function tearDown(): void
- Remplacer
\PHPUnit_Framework_TestCase
par
\PHPUnit\Framework\TestCase
- Les annotations PHPUNIT
- Remplacer
'MvcTranslator' => 'Laminas\Mvc\I18n\TranslatorServiceFactory',
par
'MvcTranslator' => 'Laminas\I18n\Translator\TranslatorServiceFactory',