One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
<?php | |
namespace TrustTattoo\Http\Controllers\Admin; | |
use TrustTattoo\Contact; | |
use TrustTattoo\Http\Controllers\Controller; | |
use TrustTattoo\Http\Requests\CsvImportRequest; | |
class ImportCsvController extends Controller | |
{ |
<?php | |
namespace TrustTattoo; | |
use Illuminate\Database\Eloquent\Model; | |
use Illuminate\Support\Carbon; | |
class Contact extends Model | |
{ | |
public $timestamps = false; |
<?php | |
namespace TrustTattoo; | |
use TrustTattoo\Presenters\ContactPresenter; | |
use Laracasts\Presenter\PresentableTrait; | |
use Illuminate\Database\Eloquent\Model; | |
use Illuminate\Support\Carbon; | |
class Contact extends Model |
<?php | |
namespace TrustTattoo\Presenters; | |
use Illuminate\Support\Carbon; | |
class ContactPresenter extends BasePresenter | |
{ | |
public function getFullName() | |
{ |
#!/bin/bash | |
# Params | |
dir=${1} # Name Project Dir | |
version=${2} # Version Themosis 2.0-beta3 | |
# Change your Params | |
user='root' | |
pass='root' | |
db='mysql' |
<?php | |
namespace App\Widgets; | |
use App\Post; | |
use Illuminate\Support\Str; | |
use TCG\Voyager\Widgets\BaseDimmer; | |
use Illuminate\Support\Facades\Auth; | |
class Posts extends BaseDimmer |
{ | |
"type": "collective", | |
"content": [ | |
{ | |
"title": "Título", | |
"description": "Descrição", | |
"members": [ | |
{ | |
"photo": "user-1.jpg", | |
"name": "Nome" |
# em docker-compose.yml usar o código para novas pastas do fpm | |
### PHP-FPM ############################################## | |
php-fpm: | |
build: | |
context: ./php-fpm | |
args: | |
- CHANGE_SOURCE=${CHANGE_SOURCE} | |
- LARADOCK_PHP_VERSION=${PHP_VERSION} | |
- LARADOCK_PHALCON_VERSION=${PHALCON_VERSION} |
<?php | |
use Illuminate\Database\Migrations\Migration; | |
use Illuminate\Database\Schema\Blueprint; | |
use Illuminate\Support\Facades\Schema; | |
class CreateCouponsTable extends Migration | |
{ | |
/** | |
* Run the migrations. |