Skip to content

Instantly share code, notes, and snippets.

View maxca's full-sized avatar
🏠
Working from home

samark chaisanguan maxca

🏠
Working from home
View GitHub Profile
<?php
/**
* @author samark chaisanguan
* @email [email protected]
*/
namespace App\Http\Requests\Blog;
use Lumpineevill\Request\APIRequest;
class CreateBlogRequest extends APIRequest
<?php
use Illuminate\Http\Request;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
<?php
/**
* @author samark chaisanguan
* @email [email protected]
*/
namespace App\Models\Blog;
use Illuminate\Database\Eloquent\Model;
# use Illuminate\Database\Eloquent\SoftDeletes;
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateTableBlog extends Migration
{
/**
* Run the migrations.
samark
samark:genfile Generate file
<?php
/**
* @author samark chaisanguan
* @email [email protected]
*/
namespace App\Repository\Good;
use App\Models\Good\Good;
use Lumpineevill\BaseRepository;
use App\Models\Good\GoodModel;
<?php
/**
* @author samark chaisanguan
* @email [email protected]
*/
namespace App\Http\Controllers\Good;
use App\Http\Controllers\Controller;
use App\Http\Requests\Good\GetGoodRequest;
use App\Http\Requests\Good\CreateGoodRequest;
<?php
/**
* @author samark chaisanguan
* @email [email protected]
*/
namespace App\Http\Requests\Good;
use Lumpineevill\Request\APIRequest;
class GetGoodRequest extends APIRequest
Package name (<vendor>/<name>) [samark/packgist]:
Description []: test
Author [Samark Chaisanguan <[email protected]>, n to skip]:
Minimum Stability []: 1.0
Invalid minimum stability "1.0". Must be empty or one of: stable, RC, beta, alpha, dev
<?php
namespace PHPInsight;
use App\Libraries\thsplitlibx\THSplitLib\Segment;
/*
phpInsight is a Naive Bayes classifier to calculate sentiment. The program
uses a database of words categorised as positive, negative or neutral
Copyright (C) 2012 James Hennessey