Skip to content

Instantly share code, notes, and snippets.

:octocat:
Looking for a team

voidfire

:octocat:
Looking for a team
Block or report user

Report or block voidfire

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@voidfire
voidfire / List.md
Created May 29, 2019 — forked from msurguy/List.md
List of open source projects made with Laravel
View List.md

Other people's projects:

My projects (tutorials are on my blog at http://maxoffsky.com):

View laravel 5 create custom facade.php
<?php
///////////////////////////////////////////////////
// STEP 1 - CREATE CLASS THAT WILL BE USED GLOBALY
///////////////////////////////////////////////////
namespace App\MyApp;
class MyApp {
public function sayHello($data = [])
{
echo "Hello World from Facade!";
}
@voidfire
voidfire / newEntity.sh
Created Jan 21, 2019
Create Model, Migration and Nova Resource files ./newEntity.sh modelName
View newEntity.sh
#!/bin/bash
if [ $# -eq 0 ]; then
echo -e "No arguments provided, \nTry: ./newEntity.sh modelname \nThe script will generate Model and migration file as well as nova resource file for you"
exit 1
fi
cd ~/alupress-backend
ENTITY=$1
php artisan make:model $ENTITY -m
php artisan nova:resource $ENTITY
View test2.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View test.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
You can’t perform that action at this time.