May 12, 2022 in Php, Tips and Tricks
Phone number validation using regular expression Phone number validation using is_numeric function is_int or is_integer is_numeric regular expressions ctype_digit filter_var is_integer() for this function these values are are not valid: “0010”, “123” is_numeric() for this function these values are valid: 1.3, +1234e44 and 0x539 filter_var() for this function a value as “00123” is not valid […]
composer fundDo not run Composer as root/super user! See https://getcomposer.org/root for det ailsContinue as root/super user [yes]? yInfo from https://repo.packagist.org: #StandWithUkraineThe following packages were found in your dependencies which publish funding inf ormation: brickmathhttps://github.com/sponsors/BenMorelhttps://tidelift.com/funding/github/packagist/brick/math doctrineinflector, instantiator, lexerhttps://www.doctrine-project.org/sponsorship.htmlhttps://www.patreon.com/phpdoctrineinflectorhttps://tidelift.com/funding/github/packagist/doctrine%2Finflectorinstantiatorhttps://tidelift.com/funding/github/packagist/doctrine%2Finstantiatorlexerhttps://tidelift.com/funding/github/packagist/doctrine%2Flexer dragonmantankcron-expressionhttps://github.com/sponsors/dragonmantank eguliasemail-validatorhttps://github.com/sponsors/egulias facadeflare-client-phphttps://github.com/sponsors/spatie filpwhoopshttps://github.com/sponsors/denis-sokolov fruitcakelaravel-corshttps://fruitcake.nlhttps://github.com/sponsors/barryvdh graham-campbellresult-typehttps://github.com/sponsors/GrahamCampbellhttps://tidelift.com/funding/github/packagist/graham-campbell/result-type guzzlehttpguzzle, promises, psr7https://github.com/sponsors/GrahamCampbellhttps://github.com/sponsors/Nyholmguzzlehttps://tidelift.com/funding/github/packagist/guzzlehttp/guzzlepromiseshttps://tidelift.com/funding/github/packagist/guzzlehttp/promisespsr7https://tidelift.com/funding/github/packagist/guzzlehttp/psr7 lcobuccijwthttps://github.com/sponsors/lcobuccihttps://www.patreon.com/lcobucci leaguecommonmarkhttps://www.colinodell.com/sponsorhttps://www.paypal.me/colinpodell/10.00https://github.com/sponsors/colinodellhttps://tidelift.com/funding/github/packagist/league/commonmarkflysystemhttps://offset.earth/frankdejongeflysystem, mime-type-detectionhttps://github.com/sponsors/frankdejongehttps://tidelift.com/funding/github/packagist/league/flysystemoauth2-serverhttps://github.com/sponsors/sephsteruri, uri-interfaceshttps://github.com/sponsors/nyamsprod monologmonologhttps://github.com/sponsors/Seldaekhttps://tidelift.com/funding/github/packagist/monolog/monolog myclabsdeep-copyhttps://tidelift.com/funding/github/packagist/myclabs/deep-copy nesbotcarbonhttps://opencollective.com/Carbonhttps://tidelift.com/funding/github/packagist/nesbot/carbon nunomadurocollisionhttps://www.paypal.com/paypalme/enunomadurohttps://github.com/sponsors/nunomadurohttps://www.patreon.com/nunomaduro nyholmpsr7https://github.com/sponsors/Zegnathttps://github.com/sponsors/nyholm […]
April 29, 2022 in Laravel, Php
Direct Permissions A permission can be given to any user: A permission can be revoked from a user: Or revoke & add new permissions in one go: You can check if a user has a permission: Or you may pass an integer representing the permission id You can check if a user has Any of […]
April 25, 2022 in Php, Technology, Tips and Tricks
Explore powerful AI-driven tools for daily guidance, spirituality, fun quizzes, and self-discovery.
Reveal insights about your future, love, and career with AI tarot readings.
Read TarotView daily Panchang, auspicious timings, tithi, nakshatra, and festivals.
View PanchangDiscover your destiny number, life path, and numerology predictions.
Calculate Now