===================================================================
Open your terminal using Ctrl+Alt+T
and type the following commands
composer global require "laravel/installer"
Copyright (C) 2016 Donnie Ray Jones | |
Permission is hereby granted, free of charge, to any person obtaining a | |
copy of this software and associated documentation files (the | |
"Software"), to deal in the Software without restriction, including | |
without limitation the rights to use, copy, modify, merge, publish, | |
distribute, sublicense, and/or sell copies of the Software, and to | |
permit persons to whom the Software is furnished to do so, subject to | |
the following conditions: |
While I'm learning how to use Nginx, I was instructed to update the server_names_hash_bucket_size
(/etc/nginx/nginx.conf
) value from 32 to 64, but I don't understand why should I increase the value to 64.
References that have been read so far:
<?php | |
public function foos() { | |
$relation = $this->hasMany('App\Bar'); | |
return $relation; // default behaviour | |
// modify the query builder | |
$relation->where('foo','bar'); | |
return $relation; |
<?php | |
namespace App\Http\Controllers\Api\Auth; | |
use App\Http\Controllers\Controller; | |
use Illuminate\Http\Request; | |
use Illuminate\Foundation\Auth\SendsPasswordResetEmails; | |
use Illuminate\Support\Facades\Password; | |
class ForgotPasswordController extends Controller |
## Sublime Text 3 Serial key build is 3176 | |
> * Added these lines into /etc/hosts | |
127.0.0.1 www.sublimetext.com | |
127.0.0.1 license.sublimehq.com | |
> * Used the license key | |
----- BEGIN LICENSE ----- |
<?php | |
$sites = [ | |
'http://www.google.com/', | |
'http://www.facebook.com/', | |
'http://www.youtube.com/', | |
'http://www.yahoo.com/', | |
'http://www.live.com/', | |
'http://www.wikipedia.org/', | |
'http://www.baidu.com/', |
Problem 1 | |
- laravel/installer v1.4.1 requires ext-zip * -> the requested PHP extension zip is missing from your system. | |
- laravel/installer v1.4.0 requires ext-zip * -> the requested PHP extension zip is missing from your system. | |
- Installation request for laravel/installer ^1.4 -> satisfiable by laravel/installer[v1.4.0, v1.4.1]. | |
To enable extensions, verify that they are enabled in your .ini files: | |
- /etc/php/7.0/cli/php.ini | |
- /etc/php/7.0/cli/conf.d/10-mysqlnd.ini | |
- /etc/php/7.0/cli/conf.d/10-opcache.ini | |
- /etc/php/7.0/cli/conf.d/10-pdo.ini |
Simple contract or interface, call as you wish: | |
interface UnitOfWork | |
{ | |
public function begin(); | |
public function commit(); | |
public function rollback(); | |
} |
After you copy a component from the Tailwind UI library and begin to adapt it from Vue JS to Alpine JS .. you may wonder what to do about the transitions. As I'm exploring this myself, I am documenting it for others in the same boat.