PHPNews

Clean My Mac and Free Up Storage

Written by vinkla/xml - Published on vinkla/xml
Aggregated on Sunday April 12, 2015 - Permalink

There’s so much you could clean on your Mac to save space. After a couple months with your new Mac, macOS has been building up a big library of logs, backups and other cached data that necessarily isn’t important to save. Below are commands listed which with you can run in order to free up storage and speedup your computer. Following these easy steps gave me back 10 GB of storage. Lets fire up …

Continue reading »


Remove Auto-complete Entries in Google Chrome

Written by vinkla/xml - Published on vinkla/xml
Aggregated on Tuesday May 12, 2015 - Permalink

Whenever I fail to write a URL correctly in Google Chrome the auto-complete will punish me for a long time. Today I’ve learned how to remove entries from the auto-completion list. Linux & Windows Just highlight the entry you want to remove in the drop-down list (using the arrow keys, or your mouse cursor) and press delete on your keyboard. macOS For macOS users this is a little …

Continue reading »


Upload Images to GitHub’s CDN

Written by vinkla/xml - Published on vinkla/xml
Aggregated on Thursday July 16, 2015 - Permalink

I often see developers committing screenshots to their GitHub repositories. This takes up unnecessary space and makes the repositories messy. There is a better solution, using GitHub CDN. Instead of committing the image resource to the repository we’ll take advantage of GitHub’s CDN that is accessible through GitHub issues. First, visit any repository on GitHub and click your way through to …

Continue reading »


Laravel Doesn’t Follow Semantic Versioning

Written by vinkla/xml - Published on vinkla/xml
Aggregated on Saturday April 16, 2016 - Permalink

While browsing repositories on GitHub I often come across Laravel packages which could simple stop working with future versions of Laravel. This can easily be fixed by being more specific. Laravel doesn’t follow Semantic Versioning . Instead Laravel keeps the first number as a name, the second as major release and the third can be both feature and bug-fix. Laravel follows Romantic …

Continue reading »


Find Outdated Packages With Composer

Written by vinkla/xml - Published on vinkla/xml
Aggregated on Sunday April 24, 2016 - Permalink

Composer now features an “outdated” command to find newer versions of your dependencies. The command shows a list of installed packages including their latest version. To list outdated packages in your project, use the outdated command. $ composer outdated If you’re working with a big framework like Laravel or Symfony the list could become quite long. To make it more …

Continue reading »


Generate Fake Localized Data with Laravel

Written by vinkla/xml - Published on vinkla/xml
Aggregated on Thursday April 28, 2016 - Permalink

Instead of populating the database by yourself, Laravel integrates the Faker package which is used to generate fake English data into your database. What if you want to generate data in your own language? When testing, it is common to need to insert a few records into your database before executing your test. In version 5.1 Laravel introduced model factories to easily generate fake …

Continue reading »