Skip to content

Instantly share code, notes, and snippets.

View simioluwatomi's full-sized avatar

Simi Oluwatomi simioluwatomi

  • Lagos, Nigeria
View GitHub Profile
@simioluwatomi
simioluwatomi / Cart.php
Created December 19, 2020 21:35
Custom Shopping Cart class that calculates weight of items in the cart
<?php
namespace App\Helpers;
use Darryldecode\Cart\Facades\CartFacade;
class Cart
{
/**
* @var bool|CartFacade
@simioluwatomi
simioluwatomi / .php_cs
Last active August 20, 2020 13:00
My php cs fixer configuration
<?php
/*
* This document has been generated with
* https://mlocati.github.io/php-cs-fixer-configurator/#version:2.15|configurator
* you can change this configuration by importing this file.
*/
return PhpCsFixer\Config::create()
->setRiskyAllowed(true)
->setLineEnding("\r\n")
@simioluwatomi
simioluwatomi / README-Template.md
Created July 28, 2018 02:18 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites