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
| { | |
| "require-dev": { | |
| "barryvdh/laravel-ide-helper": "v2.1.4", | |
| "doctrine/dbal": "~2.3" | |
| }, | |
| } |
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 | |
| /* This code to put on | |
| * - artisan.php for Laravel >= 5.2 : Before initializing kernel. | |
| * - bin/console for Symfony project : before initializing the ArrayInput object | |
| */ | |
| //Begin : fixe --xml Symfony console bug : | |
| function listXmlCommandBugFixe() { | |
| $argv = $_SERVER['argv']; | |
| if ( | |
| isset( $argv[1] ) && $argv[1] == 'list' && |
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 | |
| /** | |
| * Created by PhpStorm. | |
| * User: elbachirnouni | |
| * Date: 08/03/15 | |
| * Time: 22:12 | |
| */ | |
| namespace Nouni\String\Utils; |
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
| <!DOCTYPE html> | |
| <!-- | |
| The content of this gist to put on a file on your resource/views directory as layout of other views. | |
| You should also install the theme using bower as follow : on you public directory run bower `install admin-lte` | |
| The header, footer and sidebar files should go in a directory named 'inc' near current file | |
| For more details visit https://almsaeedstudio.com/blog/integrate-adminlte-with-laravel | |
| --> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> |
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 App\Console\Command; | |
| use Illuminate\Console\Application; | |
| use Illuminate\Console\Command; | |
| use Illuminate\Container\Container; | |
| class DebugContainerCommand extends Command { | |
| /** |
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 | |
| /** | |
| * Class BaseAnnotation | |
| */ | |
| abstract class BaseAnnotation { | |
| /** | |
| * ApiDoc constructor. | |
| * |
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 | |
| /* | |
| * Assume that you have a column named "has_header" in your migration as follow | |
| * $table->boolean('has_header'); | |
| * | |
| * To set boolean values in your model you should add the code bellow | |
| */ | |
| /** |
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 | |
| /* | |
| * To add in the boot methode of your app service provider | |
| */ | |
| \Blade::directive( 'date', | |
| function ( $exp ) { | |
| return "<?php echo with($exp)->format('d/m/Y'); ?>"; | |
| } ); |
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 | |
| /** | |
| * Created by PhpStorm. | |
| * User: elbachirnouni | |
| * Date: 13/06/2016 | |
| * Time: 11:20 | |
| */ | |
| namespace Com\NextGen\Business\Common\Events; |
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 | |
| /** | |
| * Created by PhpStorm. | |
| * User: elbachirnouni | |
| * Date: 24/06/2016 | |
| * Time: 01:42 | |
| */ | |
| namespace Com\NextGen\Business\Common\Console; |
OlderNewer