Bedigit
  • Products
  • Add-Ons
  • Support
A Software Development Company A Software Development Company A Software Development Company
  • Products
  • Add-Ons
  • Support

PHP

0
By admin
In JavaScript, Laravel, PHP, Tools
Posted January 2, 2021

Date ISO format pattern

Here is the complete list of available replacements: (Examples given with 2017-01-05 17:04:05.084512) Code Example Description OD 5 Day number with alternative numbers such as 三 for 3 if locale [...]

READ MORE
0
By admin
In Apache, CSS/HTML, PHP
Posted October 30, 2020

How do we control web page caching, across all browsers?

Introduction The correct minimum set of headers that works across all mentioned clients (and proxies): Cache-Control: no-cache, no-store, must-revalidate Pragma: no-cache Expires: 0 [...]

READ MORE
0
By admin
In Laravel, MySQL, PHP, Programming, Tools
Posted June 13, 2019

Calculating distance using MySQL

One of the cool things about MySQL 5.7 is the fact that it supports a few spatial convenience functions (since 5.7.6), allowing one to do operations on geometric values. One of those convenience [...]

READ MORE
0
By admin
In PHP
Posted March 27, 2019

Sorting array with special character (accent)

What’s the easiest way to sort array with accent? Since PHP 5.3 you can use the Internationalization extension (intl). It’s a wrapper for ICU library. So you have to check the PHP [...]

READ MORE
0
By admin
In PHP
Posted March 14, 2019

The most useful php composer commands

Composer is dependency manager for php package. PHP developers are known about packagist and composer. Most used php composer commands that will be helpful for you. # require require is the most [...]

READ MORE
0
By admin
In Laravel, PHP
Posted March 3, 2019

Developing Laravel Packages with Local Composer Dependencies

Developing Composer packages locally through a local file symlink speeds up development immensely when you want to create Laravel packages and try them out on a real application. I was reading [...]

READ MORE
0
By admin
In PHP
Posted September 17, 2018

PHP – Delete files which has the same prefix

You can use glob and array_map function like below: $mask = 'something_prefix*.*'; array_map('unlink', glob($mask)); p.s. glob() requires PHP 4.3.0+ You can also use glob for this. Something like [...]

READ MORE
0
By admin
In PHP
Posted September 17, 2018

Using your own fork of a public library (without publishing anything to packagist.org)

You’re working away and you hit a bug in one of your Composer dependencies. You quickly find the problem, it’s a one line fix, back to work. The problem now is: how do you push that [...]

READ MORE
0
By admin
In PHP
Posted September 17, 2018

Using local packages as composer dependencies

Composer changed pretty much everything when it comes to including dependencies in PHP projects. No more SVN externals or copying large library folders into your project. This is really great, [...]

READ MORE
0
By admin
In PHP
Posted September 17, 2018

What is the difference between PSR-0 and PSR-4?

They are very similar so it is not surprising that it’s a bit confusing. The summary is that PSR-0 had some backwards compatibility features for PEAR-style classnames that PSR-4 dropped, as [...]

READ MORE
1 2 3 4 5
page 1 of 5
Categories
  • Apache (19)
  • Bash (9)
  • CSS/HTML (3)
  • Git (1)
  • JavaScript (7)
  • jQuery (4)
  • Laravel (18)
  • Linux (6)
  • MySQL (18)
  • Nginx (2)
  • PHP (42)
  • Programming (3)
  • Regex (6)
  • Tools (10)
  • Uncategorized (1)
  • Vue.js (1)
  • WordPress (1)




© Bedigit - All Rights Reserved.
  • Icon Generator
  • Support Policy
  • Terms and Conditions
  • Blog