I started using MailCatcher which can catch sending emails because my client inform me of that I seemed to mistakenly sent some messages to him in development.
Yes, I guess that web developer should have a similar experience.
So MailCatcher have been helping me out since that.
However, I was confused.
It was for production environment.
Of course I can install MailCatcher on the production server but my client should not want to use it because it's actual messages through email system.
Umm, how can I solve it???
So, I created and released a package which can catch all emails from Laravel app and which easily can switch between test mode and ordinary mode by setting `mail.php`.
The package name is "laravel-mail-catcher".
Haha, this is a strait way.
Anyway, this package can catch all emails that your Laravel app sends in testing.
I'm glad if this package would help you guys.
Thank you!
Thursday, May 19, 2016
Thursday, April 28, 2016
PackageCreator for Laravel 5+.
I release a Laravel package called PackageCreator.
This package can help to develop own brandnew package for Laravel.
I manually needed to prepare some files and to set some paths in configuration files until I had developed it.
That was absolutely boring...so I developed the package.
Anyway, after installing PackageCreator, your Laravel app has php artisan command like so.
And PackageCreator's way to develop new package is based on Developing your packages in Laravel 5.
I guess the above page can help you to understand it more.
That's all!
This package can help to develop own brandnew package for Laravel.
I manually needed to prepare some files and to set some paths in configuration files until I had developed it.
That was absolutely boring...so I developed the package.
Anyway, after installing PackageCreator, your Laravel app has php artisan command like so.
php artisan package_creator:make vendor package
This command can make some files in your app and you will get an instruction to start developing your package.And PackageCreator's way to develop new package is based on Developing your packages in Laravel 5.
I guess the above page can help you to understand it more.
That's all!
Tuesday, April 19, 2016
I added demo page to Surpass which manage to upload images through ajax.
I've been releasing my own package called Surpass which can upload images and generate thumbnail using ajax around since a year ago.
Fortunately, the package got most stars from users as of now in packages of mine.
(Thank you, guys!)
(Thank you, guys!)
However, the package have not had any demo pages.
So I decided to develop a simple demo page to easily be able to know what the package really is.
If you have interest in it, please try it out. :)))
By the way, I felt that the package is kind of complicated to use.
Someday I might refact it.
Someday I might refact it.
Thank you!
Saturday, April 16, 2016
Laravel package which manages WHERE clause automatically released!
I have coded a new Laravel (4 & 5) package called Smoothness which can manage WHERE clause automatically by setting configuration values in you model.
After calling smoothness() method as a query scope, you also can use a specific argument called $smoothness in your view for many sakes like appending values to pagination.
This is a basic way to use this package.
After calling smoothness() method as a query scope, you also can use a specific argument called $smoothness in your view for many sakes like appending values to pagination.
This is a basic way to use this package.
$items = \App\Item::smoothness()->paginate(5);
And in your view..
$items->appends($smoothness->appends)->links()
and so on.
That's it. (Please see more details on Github)
Oh, come to think of it.
I wonder how other developers make their mind when naming their own package.
In my case, I don't have a lot of vocabularies because I'm not a native English speaker.
So I sometimes use thesaurus dictionary that we can use free online.
However, I am sometimes scared to adopt unknown names for my own package because it possibly has other meanings that are not proper as a package name.
Umm...I should have started learning English more earlier, haha.
Thursday, April 14, 2016
I've just released Neatness!
I've just released a package for Laravel 4 and 5 called Neatness.
Using this package you can easily set ORDER BY clause.
Besides, this package can provide URLs that switch column and direction to sort.
Try it!
By the way, I've been wondering why we can't use orderBy() method for related columns through eager loading...
Or this means only I don't know the way?
In fact, I recommend to use join() method if we need to sort by related columns using Neatness.
If you know better tips, please tell me!
Thank you.
Using this package you can easily set ORDER BY clause.
Besides, this package can provide URLs that switch column and direction to sort.
Try it!
By the way, I've been wondering why we can't use orderBy() method for related columns through eager loading...
Or this means only I don't know the way?
In fact, I recommend to use join() method if we need to sort by related columns using Neatness.
If you know better tips, please tell me!
Thank you.
Subscribe to:
Comments (Atom)




