Categories
General

MySQL 8.0 and comparison with MySQL 5.7

What Is New in MySQL 8.0 Feature Mysql 5.7 Mysql 8.0 Data Dictionary Stored in metadata files and non-transactional tables Transactional data dictionary that stores information about database objects. Atomic Data Definition Statements (Atomic DDL) ————- Dictionary updates, storage engine operations, and binary log writes associated with a DDL operation into a single, atomic transaction […]

Categories
General

What is Laravel-websockets?

Laravel WebSockets is a php package for Laravel 5.7 and up, which handles the server-side of WebSockets for you. It has a web-server, implemented in PHP, that handles incoming WebSocket connections. Laravel WebSockets has been built on top of Ratchet. Also there is support for multi-tenancy, which let you set up a webSockets server and […]

Categories
Laravel

Whats new in Laravel 5.7.15 ?

Laravel 5.7.15 is available with a new Eloquent relationship getters and validation rules Eloquent relationship getters: BelongsToMany::getParentKeyName BelongsToMany::getRelatedKeyName HasManyThrough::getFirstKeyName HasManyThrough::getForeignKeyName HasManyThrough::getSecondLocalKeyName HasOneOrMany::getLocalKeyName MorphToMany::getInverse Validation Rules: starts_with – allows you to validate start of input strings For example: $request->validate([       ‘greeting’ =>’starts_with:hello,hi; ]); And date_equals validation rule is now translatable For example: ‘date_equals’ => ‘The :attribute […]

Categories
Laravel PHP

Razorpay Payment Gateway Integration for Laravel 5+

Currently several payment gateways are available for online payments like Paypal, Stripe, CCAvenue and many more. For Indian market,  Razorpay is best for make online payment due its simplicity. Follow the given steps for easy Integration, Create Razorpay Account To create Razorpay account , click this link Razorpay Account,and get your razor_key and razor_secret from the account.  Install package : Razorpay Next, we need to […]

Categories
PHP

Whats new in PHP 7.3 ?

The PHP team announced the release of the first PHP 7.3 version RC5 with added following features, syntax updates and deprecations. Syntax Flexible Heredoc and Nowdoc syntax Allow a Trailing Comma in Function Calls list() reference assignment New features Option to make json_encode and json_decode throw exceptions on errors Introduced is_countable() function Introduced array_key_first() and […]