Resolve Shopify Passkey Login Issue -- 2

I’m locked out of my Shopify store because the login screen insists on a passkey that I can’t supply. I’ve already gone through the usual first-line fixes—basic troubleshooting and a ticket with Shopify support—but they couldn’t get me back in… (Budget: $10 – $30 USD, Jobs: API Integration, Data Protection, HTML, PHP, Shopify, Technical Support, Web Security, Website Design)

Read more here:: https://www.freelancer.com/projects/api-integration/Resolve-Shopify-Passkey-Login-Issue-40277680.html

      

High-Traffic Website Optimization & Security Enhancements -- 2

Hi, I am looking for an experienced DevOps / Linux server optimization expert for a LIVE high-traffic production website. Please apply only if you have real experience handling 50,000+ concurrent users, Cloudflare setups, and strong security hardening… (Budget: ₹1500 – ₹12500 INR, Jobs: Apache, Cloudflare, DevOps, Linux, Nginx, Performance Tuning, PHP, Security)

Read more here:: https://www.freelancer.com/projects/devops/High-Traffic-Website-Optimization-40277669.html

      

Full-Featured Ecommerce Website Build

I’m looking for a developer to create a clean, modern ecommerce site for selling physical goods. The build has to cover the entire shopping flow—from an intuitive product catalogue to a fast, secure checkout—while keeping future growth in mind… (Budget: ₹75000 – ₹150000 INR, Jobs: API Integration, Backend Development, eCommerce, Frontend Development, HTML, Payment Gateway Integration, PHP, Web Development, Website Design, WordPress)

Read more here:: https://www.freelancer.com/projects/web-development/Full-Featured-Ecommerce-Website-Build.html

      

Google Play Integrity Tokens Retrieval

I’m ready to start pulling device authentication tokens from Google’s Play Integrity service for my Android-only mobile app. All I need is a clean, reproducible way to request the token on the device and return it to my backend for later verification… (Budget: ₹1500 – ₹12500 INR, Jobs: Android, API Development, API Integration, Backend Development, Java, Kotlin, Mobile App Development, Mobile Development, PHP, RESTful API)

Read more here:: https://www.freelancer.com/projects/kotlin/Google-Play-Integrity-Tokens-Retrieval.html

      

Build Custom AI SEO Platform

I am ready to commission a complete SaaS solution that automates B2B SEO tasks and keeps every line of code under my ownership. The stack I have in mind is straightforward: Bubble will power the customer-facing… (Budget: $30 – $250 USD, Jobs: API, Internet Marketing, Machine Learning (ML), n8n, PHP, SaaS, SEO, Software Architecture)

Read more here:: https://www.freelancer.com/projects/n8n/Build-Custom-SEO-Platform.html

      

Instalando Laravel Framework

laravelLaravel utiliza o composer para gerenciar suas dependências. Então, antes de usar o Laravel, você precisa ter o composer instalado em sua máquina. Caso não tenha veja como fazer a instalação neste post anterior: Instalando Composer

 

1. Baixe o instalador do laravel via composer

php composer.phar global require "laravel/installer=~1.1"

 

2. Criar projeto

php composer.phar create-project laravel/laravel phpConference 4.2 --prefer-dist

 

3. Configurar ambiente laravel

Nesses arquivos você poderá configurar a URL para os diferentes ambientes como também o local, timezone, chave para criptografia, entre outros.

Produção:

phpConference/app/config/app.php

Local:

phpConference/app/config/local/app.php

 

4. Permitir escrita ao servidor web para o seguinte diretório:

phpConference/app/storage

 

Requisitos:

PHP >= 5.4
Extensão PHP MCrypt
Modulo apache mod_rewrite

Referência: http://laravel.com/docs/4.2

Instalando Composer

composer
Composer: ferramenta para gerenciamento de dependências em PHP. Ele permite que você declare as bibliotecas dependentes que seu projeto precisa e vai instalá-los.

Pré-Requisito: versão minima do PHP 5.3.2.

Para instalar a última versão do composer digite a seguinte linha no terminal do Linux/Unix/OSX.

Instalação via cURL:

curl -sS https://getcomposer.org/installer | php

Ou instalação via PHP:

php -r "readfile('https://getcomposer.org/installer');" | php

 

Referencia: https://getcomposer.org/doc/00-intro.md

Instalando PHPUnit no Windows com XAMPP

Partindo do principio de que o XAMPP já está instalado e configurado abra o painel de controle do XAMPP (XAMPP Control Panel) e clique no botão Shell.

Painel de controle do XAMPP
Painel de controle do XAMPP

 

 

 

 

 

 

 

 

 

Quando abrir o terminal/prompt de comando digite os seguintes comandos:

pear config-set auto_discover 1
pear install pear.phpunit.de/PHPUnit
pear install phpunit/PHPUnit_SkeletonGenerator

Pronto ao final destes três comandos deverá retornar a mensagem: install ok

Para verificar se o PHPUnit está executando e qual a versão digite o comando abaixo:

phpunit --version

 

Agora você já pode começar a escrever seus testes.

Somar dias em uma data

/**
 * função pra somar dias em uma data
 * @param string $date formato YYYY-MM-DD
 * @param integer $dias quandidade de dias que deseja somar
 * @param string $tipo formato do retorno
 * @return string
 */
function SomaDiasData($date, $dias, $tipo) { 
	if ($date != '') {
		$sel_dia  = substr($date, 8, 2); # retorna dia
		$sel_mes  = substr($date, 5, 2); # retorna mes	
		$sel_ano  = substr($date, 0, 4); # retorna ano

		//$result	= $sel_dia."/".$sel_mes;
		$result	= date($tipo, mktime(12, 0, 0, $sel_mes, $sel_dia + $dias, $sel_ano));

	} else {
		$result = "";
	}
	return $result; 
    }