php7

Simple System With GraphGL, Reactjs, PHP

Post Views: 420 simple system with GraphQL, Reactjs, PHP Tools used: PHP v7.3^ , Symfony 4.4^ , React 16^ , VPS, SQL , Docker , overblog/GraphQLBundle Preview: as gif – video GraphiQL: http://146.71.79.164:85/graphiql GraphQL: http://146.71.79.164:85/graphql/?query=query{buyers{id,name}} UI: http://146.71.79.164:85 note: this is my first time to use GraphQL & Reactjs GraphiQL: Example Query: query { buyer(id: 20){ id, name, authToken }, products{ id, […]

Firebase Logger

Post Views: 383 Firebase Logger is a simple firebase PHP logger package to monitor and save the users activities. Installation Use composer to install firebase-logger:composer require khaledalam/firebase-logger Preview Usage example.php <?php // PHP 7.1^ //error_reporting(0); include_once ‘./FirebaseLogger.php’; $serviceFile = __DIR__ . ‘/serviceAccountKey.json’; $databaseUri = ‘https://{EDIT_THIS}.firebaseio.com’; $firebaseLogger = new FirebaseLogger([ ‘service_account_key_json’ => $serviceFile, ‘database_uri’ => $databaseUri, ‘database_realtime_name’ => ‘Logger’, […]

Scroll to top