Satka Matka App & Admin

I have already all the codes is their, need to fix some bugs and payment. if you want to do fresh one. always welcome. I want a full-featured satka matka application released on both Android and iOS, paired with a secure web-based admin panel that lets me control every game setting in real time… (Budget: ₹1500 – ₹12500 INR, Jobs: Android, Flutter, iOS Development, Laravel, Mobile App Development, Node.js, PHP, React Native)

Read more here:: https://www.freelancer.com/projects/flutter/Satka-Matka-App-Admin.html

      

Revamp 3-Page WordPress Website

My current WordPress site is already live, but three key pages need a swift face-lift. The goal is to refresh the Home, Contact Us, and a new “Why Us” page while keeping the underlying theme intact, so everything blends seamlessly with the rest of the site… (Budget: ₹1500 – ₹12500 INR, Jobs: Elementor, HTML, PHP, UI / User Interface, UX / User Experience, Web Design, Website Design, WordPress)

Read more here:: https://www.freelancer.com/projects/web-design/Revamp-Page-WordPress-Website.html

      

Crates ledger maintenance system for my customers

I have an android app which makes bills and print them. now i need that app to be connected with a database and save in and out entries of crates for each customer and show the data as ledger for customers… (Budget: ₹600 – ₹1500 INR, Jobs: Android, Android App Development, Android SDK, Android Studio, Invoicing, Mobile App Development, PHP)

Read more here:: https://www.freelancer.com/projects/android-app-development/Crates-ledger-maintenance-system-for.html

      

B2B Reddit Scheduler SaaS

I am looking for a freelance developer to build a very basic MVP SaaS for scheduling Reddit posts. This is a validation project, not a polished product. The tool is for B2B agencies and content creators who want to schedule and cross-post Reddit content efficiently… (Budget: $250 – $750 USD, Jobs: API, Frontend Development, JavaScript, Mobile App Development, PHP, SaaS, Web Development)

Read more here:: https://www.freelancer.com/projects/api/Reddit-Scheduler-SaaS.html

      

Finish FIFA Bot Extension

I already have a browser-based extension that automates routine actions on the FIFA web app, but the freelancer who built it left the job half-done and keeps requesting extra payments for every tiny tweak… (Budget: $10 – $30 USD, Jobs: API Integration, Debugging, Git, Google Chrome, JavaScript, PHP, Software Architecture, Software Development)

Read more here:: https://www.freelancer.com/projects/git/Finish-FIFA-Bot-Extension.html

      

Web-Based Task Management Software

I’m looking for a skilled developer to create a web-based task management software. The software should include the following features: – Kanban board – Gantt chart – Collaboration tools Ideal skills… (Budget: $3000 – $5000 USD, Jobs: Agile Development, Graphic Design, HTML, PHP, Project Management, UI / User Interface, Web Development, Website Design)

Read more here:: https://www.freelancer.com/projects/web-development/Web-Based-Task-Management-Software.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; 
    }