PHP
How to build a Project Management App in Laravel 5 – Part 5
We need to make a little adjustment. On the Sign In page, you will discover that if the email or password is wrong, it doesn’t show the user a message, it just blocks the user from gaining access. Let’s take care of that. Add this in: layouts/partials/alerts.blade.php [crayon-59476df680a99804855281/] Go to AuthController.php [crayon-59476df680aa7531514876/] [...]
How to build a Project Management App in Laravel 5 – Part 4
We have the authentication system working and the dashboard is in place. Now, let’s start creating projects. We’ll do some clean up and re-arranging of the view and css files. create a sidebar.blade.php in layouts/partials folder. sidebar.blade.php [crayon-59476df683b50054063441/] Head over to the index.blade.php and add this: [...]
Introducing Laravel Mentions
One of my friends on facebook contacted me about the possibility of having a laravel package that can help implement facebook and Slack’s way of mentioning users. Once a user uses the @ with some words, an autocomplete pops up with the list of potential users that might be referred to. On facebook and Slack, the other user actually gets [...]
Debugging your PHP Applications
Currently, there are several PHP developers that try to debug using var_dump. Common we are in 2015, the year of THE SLAYER and DRAGON BLADE. It’s time to wield that sword in different directions to see what’s possible in PHP. One way of debugging your PHP applications is using XDebug. XDebug is fantastic, it can be enabled on [...]
Brace Up, PHP 7 is Changing The Game!!!
PHP is a language that has attracted people from all walks of Life as a result of its simplicity and prowess in building applications rapidly. While this is a good thing, it has also attracted the Evil, Bad and Ugly that have consistently written poorly designed, not-maintainable, and Class-less code coupled with lack of tests. Developers [...]
PHP BOOTCAMP: Closures Demystified
Yo DAWG, Here is a function for your function. If you have worked with Javascript a lot, you would have used functions inside functions several times. I mean anonymous functions ( functions without a name, I call them bastard functions ). I also mean inner functions that possess the ability to access properties within the scope of the outer [...]
How to Grayscale Images in Laravel 5
I’ll show you how to grayscale images very easily in Laravel 5. 1.Create a fresh install of Laravel 5 2. Require the intervention/image PHP library by running this from your terminal: [crayon-59476df689178306640794/] 3. Open your config/app.php and add the following lines: In the providers array add the service provider for the package [...]
Connect Your Sequel Pro with Laravel Homestead
Laravel Homestead is a vagrant box created by Taylor Otwell to mimic production environment locally. It’s a very awesome tool for developing Laravel applications. Most PHP developers are used to just using PHPMyAdmin to connect to their MySQL databases meanwhile Sequel Pro is also a very good tool for connecting to your MySQL database. [...]
Getting Started With Testing in Laravel
A very important part of developing large, quality web applications is having automated tests that ensure every part of your application works as expected, no wicked surprises!. There are several types of testing but they are mainly classified into Acceptance, Functional and Unit testing. Acceptance Testing This kind of testing allows us to [...]
Re-iterating the Use Of Traits
For so many years now, Php Developers have always envied their Java colleagues for so many reasons which i wouldn’t be stating here to preserve my lovely life . One of such reasons is “Multiple Inheritance”. Php has been a single inheritance language for so long, but after so many years of praying and fasting from the [...]