profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/ryangjchandler/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Ryan Chandler ryangjchandler @surewise Essex, United Kingdom ryangjchandler.co.uk

alpine-collective/awesome 612

🚀A curated list of awesome resources related to Alpine.

alpine-collective/alpine-magic-helpers 590

A collection of magic properties and helper functions for use with Alpine.js

alpine-collective/alpinejs-devtools 307

Chrome/Firefox DevTools extension for debugging Alpine.js applications.

ryangjchandler/alpine-clipboard 149

Simply copy to the users clipboard in your Alpine.js components. 📋

ryangjchandler/alpine-tooltip 74

Add tooltips to your Alpine 3.x components with a custom directive.

ryangjchandler/bearer 69

Minimalistic token-based authorization for Laravel API endpoints.

ryangjchandler/cpx 60

Quickly execute Composer package binaries from anywhere. ⚡️

ryangjchandler/blade-cache-directive 51

Cache chunks of your Blade markup with ease. 🔪

ryangjchandler/color 35

A simple Color object for PHP packages and applications. 🎨

ryangjchandler/blade-tabler-icons 26

A Blade icon pack for the Tabler icon set.

push eventryangjchandler/ryangjchandler.co.uk

Ryan Chandler

commit sha d0f98f68c2dc1942f6973664548d8a0d46175c1c

chore: fathom is back

view details

push time in 15 hours

startedThakeeNathees/pocketlang

started time in 2 days

create barnchryangjchandler/notepal

branch : main

created branch time in 2 days

created repositoryryangjchandler/notepal

My personal note-taking application.

created time in 2 days

startedpulpdrew/rlox

started time in 3 days

delete branch ryangjchandler/microphp

delete branch : feature/interner

delete time in 3 days

push eventryangjchandler/microphp

Ryan Chandler

commit sha 53e7877e7f0a98a7a38e2c6105a45fdc72031898

chore: docs

view details

push time in 3 days

push eventryangjchandler/microphp

Ryan Chandler

commit sha 2bec5d4960b76e0e1591c210d5d242963674d1c5

feature: const statement

view details

push time in 3 days

push eventryangjchandler/microphp

Ryan Chandler

commit sha 8e1cfec5b434958d2284fa8ebe53eb0896aedbca

feature: var dump

view details

push time in 3 days

delete branch ryangjchandler/short-url

delete branch : feature/custom-route-prefix

delete time in 4 days

push eventryangjchandler/short-url

Ryan Chandler

commit sha 03af917842cfb569a573a4b70947009f77a4c1f1

chore: style

view details

push time in 4 days

pull request commentash-jc-allen/short-url

feature: support changing the url prefix

@ash-jc-allen I got the test working - just needed to create a separate file so that I could overwrite the prefix for the entire test file. All passing :)

ryangjchandler

comment created time in 4 days

push eventryangjchandler/short-url

Ryan Chandler

commit sha ce08322958a748bf263d19de303340163c182de4

chore: unused import

view details

push time in 4 days

push eventryangjchandler/short-url

Ryan Chandler

commit sha 5d09ccdc452010e204d3c474cf26f19e7e979366

tests: controller & prefix

view details

push time in 4 days

pull request commentash-jc-allen/short-url

feature: support changing the url prefix

Actually, ignore me. Test isn't actually testing anything because the config isn't being set in the right place.

ryangjchandler

comment created time in 4 days

pull request commentash-jc-allen/short-url

feature: support changing the url prefix

@ash-jc-allen Have added a test for the controller. Also added a composer script for convenience, running composer test will invoke PHPUnit.

ryangjchandler

comment created time in 4 days

push eventryangjchandler/short-url

Ryan Chandler

commit sha 434860537edf37a974a0ed7e81f49c1c7d14147c

chore: add script for tests

view details

push time in 4 days

push eventryangjchandler/short-url

Ryan Chandler

commit sha ba29e49a4a6c86c6364e8b1b3e92a066e1fd6f1e

chore: style

view details

push time in 4 days

push eventryangjchandler/short-url

Ryan Chandler

commit sha 093f5a14eeb0c69c3810fe16b5f069b5d74df109

tests: controller with prefix

view details

push time in 4 days

Pull request review commentash-jc-allen/short-url

feature: support changing the url prefix

 protected function insertShortURLIntoDatabase(): ShortURL     {         return ShortURL::create([             'destination_url'                => $this->destinationUrl,-            'default_short_url'              => config('app.url').'/short/'.$this->urlKey,+            'default_short_url'              => config('app.url').config('short-url.prefix').'/'.$this->urlKey,

Refactored into a dedicated Builder::path() method, available on the facade too.

ryangjchandler

comment created time in 4 days

PullRequestReviewEvent

push eventryangjchandler/short-url

Ryan Chandler

commit sha cf6c8b99df6e3f9b2ffd9113afc52dc3e9d87803

refactor: trim config value

view details

push time in 4 days

Pull request review commentash-jc-allen/short-url

feature: support changing the url prefix

 <?php -Route::get('/short/{shortURLKey}', 'AshAllenDesign\ShortURL\Controllers\ShortURLController')->name('short-url.invoke');+use Illuminate\Support\Facades\Route;++Route::get(config('short-url.prefix', '/short').'/{shortURLKey}', 'AshAllenDesign\ShortURL\Controllers\ShortURLController')->name('short-url.invoke');

Default is more of a safety measure, but you're right. The config will get merged, so having the value in the package's config should be enough.

ryangjchandler

comment created time in 4 days

PullRequestReviewEvent

push eventryangjchandler/short-url

Ryan Chandler

commit sha 930317bd7e7dc43aedd87560fe9e9e736f7af8aa

chore: style

view details

push time in 4 days

push eventryangjchandler/short-url

Ryan Chandler

commit sha 65ad94deef04d116cc7e30b3e4f4cfa9a10d5036

tests: custom prefix

view details

push time in 4 days

PR opened ash-jc-allen/short-url

feature: support changing the url prefix

Adds support for changing the prefix of a short URL via the short-url.prefix configuration option. Defaults to /short to ensure backwards-compatibility with existing applications.

+15 -2

0 comment

3 changed files

pr created time in 4 days

create barnchryangjchandler/short-url

branch : feature/custom-route-prefix

created branch time in 4 days

fork ryangjchandler/short-url

A Laravel package for creating shortened URLs for your web apps.

fork in 4 days

startedzesterer/chumsky

started time in 4 days