1. Go to this page and download the library: Download emsifa/stuble library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
emsifa / stuble example snippets
namespace {? model_namespace["App\Models"] ?};
use Illuminate\Database\Eloquent\Model;
/**
* Model {? entity ?}
*/
class {? entity.pascal ?} extends Model
{
protected $table = "{? entity.snake.plural ?}";
}
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
/**
* Model product category
*/
class ProductCategory extends Model
{
protected $table = "product_categories";
}