Skip to content

Releases: nguyenanhung/codeigniter-basic-helper

Release version 1.0.4

14 Sep 06:15
Compare
Choose a tag to compare

Bản update này bổ sung thêm: NanoID Helper

Helper này sử dụng gói hidehalo/nanoid-php để gen ra 1 mã random Id nhỏ, nhẹ và an toàn hơn nhiều so với UUID. Hiện tại việc sử dụng nanoid đang là xu hướng so với uuid truyền thống

  • Helper Function: randomNanoId

Release version 1.0.3

11 Sep 03:16
Compare
Choose a tag to compare

1 vài helper cơ bản khi sử dụng với CodeIgniter 3.

Có thể đưa vào nhiều bộ code khác, tuy nhiên có 1 số function require framework CodeIgniter, tuy nhiên không ảnh hưởng tới hiệu suất sử dụng

1 số helper được hỗ trợ sẵn

Dưới đây là danh sách các Helper được hỗ trợ trong bộ thư viện này

AlphaID Helper

  • Helper Function: generateAlphaId

Array Helper

  • Helper Function: arrayToObject
  • Helper Function: arrayToXml
  • Helper Function: convertArrayToXml

Assets Helper

  • Helper Function: assets_url
  • Helper Function: templates_url
  • Helper Function: editor_url
  • Helper Function: favicon_url
  • Helper Function: assets_mobile
  • Helper Function: assets_themes
  • Helper Function: assets_themes_dashboard
  • Helper Function: assets_themes_comingsoon
  • Helper Function: assets_themes_error

Common Helper

  • Helper Function: isEmpty

Debug Helper

  • Helper Function: dd
  • Helper Function: ddd

File Helper

  • Helper Function: formatSizeUnits
  • Helper Function: genarateFileIndex
  • Helper Function: genarateFileHtaccess
  • Helper Function: makeNewFolder
  • Helper Function: new_folder

HTML Helper

  • Helper Function: meta_dns_prefetch
  • Helper Function: meta_property
  • Helper Function: tachPage
  • Helper Function: stripHtmlTag
  • Helper Function: strip_only_tags
  • Helper Function: tracking_google_analytics

Image Helper

  • Helper Function: google_image_resize
  • Helper Function: wordpress_proxy

IP Helper

  • Helper Function: getIPAddress
  • Helper Function: validateIP
  • Helper Function: validateIPV4
  • Helper Function: validateIPV6
  • Helper Function: getIpInformation

Paging Helper

  • Helper Function: view_paginations
  • Helper Function: view_more
  • Helper Function: select_page
  • Helper Function: get_paginations_title
  • Helper Function: get_paginations_number

Text Helper

  • Helper Function: convert_string_utf8_to_vietnamese
  • Helper Function: clean_allowfullscreen
  • Helper Function: clean_text
  • Helper Function: clean_title
  • Helper Function: clean_text_mobile
  • Helper Function: bodautru
  • Helper Function: bodaunhay
  • Helper Function: searchs_snippets
  • Helper Function: tags_snippets
  • Helper Function: tags_clean

URL Helper

  • Helper Function: share_url
  • Helper Function: encodeId_Url_byHungDEV
  • Helper Function: decodeId_Url_byHungDEV
  • Helper Function: convertToLatin
  • Helper Function: specialCharToNormalChar
  • Helper Function: alphabetOnly
  • Helper Function: boDauTiengViet
  • Helper Function: removeSpecialChar
  • Helper Function: getPermalinksSEO

UUID Helper

  • Helper Function: generate_uuid_v4

XML Helper

  • Helper Function: parse_sitemap_index

Maintainer & Supporter

STT Name Email Github
1 Hung Nguyen dev@nguyenanhung.com @nguyenanhung

Release version 1.0.2

04 Sep 00:11
Compare
Choose a tag to compare
v1.0.2

Deploy

Release version 1.0.1

20 Aug 02:16
Compare
Choose a tag to compare

Fix array helper

Release version 1.0.0

06 Aug 18:23
Compare
Choose a tag to compare

Init Basic helper for CodeIgniter