This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @author samark chaisanguan | |
* @email [email protected] | |
*/ | |
namespace App\Http\Requests\Blog; | |
use Lumpineevill\Request\APIRequest; | |
class CreateBlogRequest extends APIRequest |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Illuminate\Http\Request; | |
/* | |
|-------------------------------------------------------------------------- | |
| API Routes | |
|-------------------------------------------------------------------------- | |
| | |
| Here is where you can register API routes for your application. These |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @author samark chaisanguan | |
* @email [email protected] | |
*/ | |
namespace App\Models\Blog; | |
use Illuminate\Database\Eloquent\Model; | |
# use Illuminate\Database\Eloquent\SoftDeletes; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Illuminate\Database\Migrations\Migration; | |
use Illuminate\Database\Schema\Blueprint; | |
use Illuminate\Support\Facades\Schema; | |
class CreateTableBlog extends Migration | |
{ | |
/** | |
* Run the migrations. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
samark | |
samark:genfile Generate file |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @author samark chaisanguan | |
* @email [email protected] | |
*/ | |
namespace App\Repository\Good; | |
use App\Models\Good\Good; | |
use Lumpineevill\BaseRepository; | |
use App\Models\Good\GoodModel; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @author samark chaisanguan | |
* @email [email protected] | |
*/ | |
namespace App\Http\Requests\Good; | |
use Lumpineevill\Request\APIRequest; | |
class GetGoodRequest extends APIRequest |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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 |