It's not a Laravel adaptation of SOLID principles, patterns etc. Here you'll find the best practices which are usually ignored in real life Laravel projects.
This file contains 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
/** | |
* Returns an string clean of UTF8 characters. It will convert them to a similar ASCII character | |
* www.unexpectedit.com | |
*/ | |
function cleanString($text) { | |
// 1) convert á ô => a o | |
$text = preg_replace("/[áàâãªä]/u","a",$text); | |
$text = preg_replace("/[ÁÀÂÃÄ]/u","A",$text); | |
$text = preg_replace("/[ÍÌÎÏ]/u","I",$text); | |
$text = preg_replace("/[íìîï]/u","i",$text); |
This file contains 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 | |
/** | |
* Lietuviškų vardų linksniai. | |
* | |
* @author Maug Lee <[email protected]> | |
* @copyright Copyleft (ↄ) 2011, Maug Lee | |
* @version 0.3 | |
* @package Vardai | |
*/ |
All rules and guidelines in this document apply to PHP files unless otherwise noted. References to PHP/HTML files can be interpreted as files that primarily contain HTML, but use PHP for templating purposes.
The keywords "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.
Most sections are broken up into two parts:
- Overview of all rules with a quick example
- Each rule called out with examples of do's and don'ts
This file contains 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
@echo off | |
:====================================================================================================================================================== | |
:Thanks to abbodi1406 for SppExtComObjPatcher-kms\2-Activate-Local.cmd, which used as base in this script | |
:Thanks to rpo for the Great and Continued help in improving this script. | |
:Thanks to AR_Alex for the ideas and suggestions. | |
:====================================================================================================================================================== | |
::=========================================================================== | |
fsutil dirty query %systemdrive% >nul 2>&1 || ( |