=====
I made a book, its one page.
=====
I made a book, its one page.
<?php | |
namespace App\Providers; | |
use Illuminate\Support\Collection; | |
use Illuminate\Support\ServiceProvider; | |
class MacroServiceProvider extends ServiceProvider | |
{ | |
/** |
This checklist is intended to help non-technical people decide if the business is ready to engage the services of an engineer or a consulting firm. It is the goal of this checklist to give non-technical folks a leg up in these conversations so that they are less likely to get into lengthy (and very expensive) engagements.
###Content Content pertains to information that you already provide customers or plan to make available to anyone who comes to your site.
<?php | |
namespace Vehikl\Feature\Tests; | |
use PHPUnit\Framework\TestCase; | |
class FeatureToggleTest extends TestCase | |
{ | |
public function test_it_executes_the_on_method_when_the_feature_is_on() | |
{ |
<?php | |
namespace Vehikl\Feature\Tests; | |
use PHPUnit\Framework\TestCase; | |
class FeatureToggleTest extends TestCase | |
{ | |
public function test_it_executes_the_on_method_when_the_feature_is_on() |
alias homestead='function __homestead() { (cd ~/Documents/Code/Homestead && vagrant $*); unset -f __homestead; }; __homestead' | |
# Usage | |
homestead up | |
homestead halt | |
# etc... |
NOTE: This assumes that you have Valet, Homebrew, Sublime Text and PHP properly installed and functioning and will only focus on the setup and installation and setup of Xdebug. There are other tutorials that go into great depth explaining how to get those tools installed on your mac.
Let's get started right away!
You need to know which version of PHP you are running in your machine. To do so, from the terminal run the command php -v
and this will display something like this
PHP 7.0.14 (cli) (built: Dec 8 2016 23:34:17) ( NTS )
<?php | |
// Create in-memory SQLite database | |
$sqlite = new PDO('sqlite::memory:'); | |
// Generate schema (for whatever tables you want) | |
$sqlite->prepare('CREATE TABLE users(id, family_id, first_name, last_name, email)')->execute(); | |
$sqlite->prepare('CREATE TABLE families(id, name, phone, address)')->execute(); | |
// Insert pre-defined data |
/tests export-ignore | |
/stubs export-ignore | |
/.gitattributes export-ignore | |
/.gitignore export-ignore | |
/.scrutinizer.yml export-ignore | |
/.travis.yml export-ignore | |
/phpunit.xml export-ignore | |
/changelog.md export-ignore | |
/readme.md export-ignore |