Creating a Laravel 5 Package

Published on

For this example we will use the vendor craigzearfoss and the package bullets. In your project folder create the package folder packages/VENDOR_NAME/PACKAGE_NAME. Inside of the package folder create a directory named src. Use artisan to create a service provider. php artisan make:provider BulletsServiceProvider The service provider will be in the app/Providers directory. Move it to … Continue reading Creating a Laravel 5 Package

Symfony2 .gitignore Sample File

Published on

/web/bundles/ /app/bootstrap.php.cache /app/cache/* /app/config/parameters.yml /app/config/parameters_dev.yml /app/logs/* !app/cache/.gitkeep !app/logs/.gitkeep /build/ /vendor/ /bin/ /.idea/ /web/css/ /web/js/ /web/apc.php /app/spool/*

GitHub Cheat Sheet

Published on

Checkout a remote branch Before you can start working locally on a remote branch, you need to fetch it as called out in answers below. To fetch a branch, you simply need to: git fetch origin This will fetch all of the remote branches for you. You can see the branches available for checkout with: … Continue reading GitHub Cheat Sheet