SocialiteProviders is a massive collection of 70+ OAuth 1 & 2 packages that extend Laravel Socialite.
This is going to be awesome for Laravel!
Programing Coderfunda
May 02, 2021
Packages, php
No comments
Programing Coderfunda
May 02, 2021
Packages, php
No comments
Joe Ferguson released a new Homestead Skeleton that allows you to have a homestead environment per project.
The purpose of this is package is to easily provide the Laravel Homestead Vagrant environment without having to rely on using the homestead command line application. Another use case would be if you do not have / do not want PHP locally installed on your system.
I always liked the multiple projects in Homestead. When I first started with Vagrant having one for each project was confusing for me and I think that comes from the old glory days of using Mamp and Xampp. It’s really great that packages like this come out, that way it can be suited to your workflow.
Programing Coderfunda
May 02, 2021
Packages, php
No comments
Pushman is an open source web socket event manager. It allows you to push events over HTTP to your own Pushman server which will push event information down to a client via a Web Socket.
Pushman requires the ZeroMQ binary and it works great with Forge. Check out the GitHub Repo and a demo on their website.
Programing Coderfunda
May 02, 2021
Packages, php
No comments
The HTTP Pushstream Module for Nginx is a powerful Websocket system and this package helps create a bridge between the module and Laravel’s event broadcaster.
How it works:
Once you setup all your routes for the pub/sub requests to the HTTP routes in in the location directives for Nginx, then you’ll be able to quickly open a socket on your client use the pushstream.js and push your broadcasts out using websocket or long-polling.
The pub/sub requests are internally called by the GuzzleHttp package. The broadcasting.php config file will use the pushstream driver where you can control the HTTP requests to the to your pub/sub endpoints.
You can lock down your pub/sub nginx endpoints using the Access Key Module. Here you can configure the key
Visit the Laravel Pushstream Broadcaster documentation for more details.
Programing Coderfunda
May 02, 2021
Packages, php
No comments
Out of the box, Laravel provides pagination but they are opinionated in how the url’s are generated. This pagination package allows you to customize the links by using translations and removes the query string parameter.
For an example, here is what your new links can look like:
http://example.com/news/page/2
Or fully translatable:
http://example.com/nieuws/pagina/2
http://example.com/nachrichten/seite/2
Programing Coderfunda
May 02, 2021
Packages, php
No comments
Telegram recently launched a new API to allow developers to create their bots. Once created users can interact with bots by sending command messages in private or group chats. The official release of the bot API didn’t include an official Telegram PHP SDK, but Syed Irfaq R. created a PHP version that can be used standalone or within Laravel.
Looking at the Telegram documentation you can do a lot with their bot system including:
The system seems to be pretty advanced and you can find more about what all it can do in the Telegram docs.
Programing Coderfunda
May 02, 2021
Packages, php
No comments
Jens Segers has a created a Laravel package to obfuscate ids named Optimus:
With this library, you can transform your internal id’s to obfuscated integers based on Knuth’s integer hash. It is similar to Hashids, but will generate integers instead of random strings. It is also super fast.
When I asked Jens about where the name Optimus came from he said, “I came up with the name Optimus when I was looking at the constructor of the class: new Optimus($prime);“.
Programing Coderfunda
May 02, 2021
Packages, php
No comments
Duilio Palacios launched a new package that allows you to easily style the pagination links created by Laravel. After installing the package you can simply edit a config file and define which framework you are using then everything else is handled automatically:
return array(
'theme' => 'bootstrap'
);
The current release support Bootstrap, Foundation, and Materialize.
Programing Coderfunda
May 02, 2021
Packages, php
No comments
This Laravel 5.1 package provides an easy way to associate all sorts of files with Eloquent models. Storage of the files is handled by Laravel’s Filesystem, so you can easily use something like S3. Additionally the package can create image manipulations on images and pdfs that have been added in the media library.
Some additional features of this package include:
For more information check out the official repo and the companion blog post announcement.
Programing Coderfunda
May 02, 2021
Packages, php
No comments
Freek Van der Herten has a new Laravel package named “laravel-responsecache” that enables you to speed up your site, by caching the entire response. Here are the benefits you gain by installing this package:
All successful responses (that is a response with a status code in the 200 or 300 range) to a GET-requests will now be cached for a week. If the response of a specific route or controller should never be cached middleware can be added it that prevents caching. Furthermore, each logged in user will have their own separate cache. Cached responses can be stored in any configured repository in Laravel. You could easily share a cache between servers by using memcached.
Programing Coderfunda
May 02, 2021
Packages, php
No comments
This Laravel package is designed to make creating secure URLs with a limited lifetime easy. The accompanying blog post also includes more back story on why it was created. Basically to use in emails for generating unique unsubscribe links. This prevents an easily guessable URL like site.com/user/1/unsubscribe.
Programing Coderfunda
May 02, 2021
Packages, php
No comments
Laravel Mandrillhooks is a package that includes a simple Mandrill webhook base controller for catching bounced, rejected, etc mail events:
A simple Mandrill webhook controller to help with email events. Useful for notifying users that you cannot reach them via email inside your application. Compatible with Laravel 5+ and Lumen 5+.
After installing, you can setup your controller that extends MandrillWebhookController and then add methods that follow a specific format to match Mandrills hooks. In the code this is:
'handle' . studly_case(str_replace('.', '_', $event['event']));
I was unable to find a list of webhooks from Mandrills side so it would be nice if the readme included a full list of web hooks or at least linked to a list.
Programing Coderfunda
May 02, 2021
Packages, php
No comments
Freek Van der Herten has updated his search index Laravel package to now support the Algolia search API.
Earlier this year I made a package to easily work with a searchindex in Laravel. Basically, it provides:
* an interface that makes your objects searchable
* some easy to use functions to put those objects into the search index
* a function to retrieve search results from the indexThe only supported index was Elasticsearch. I’ve now added support for Algolia to that package. It makes working with Algolia a cinch.