Is this #PSR4 setup wrong? It works perfectly, but #PhpStorm is unable to create test classes in the correct namespace. For a class inside "tests/Application" it will generate "namespace Application;" when I expect "namespace Acme\Tests\Application;".

{
"autoload": {
"psr-4": {
"Acme\\": "src/Acme/"
}
},
"autoload-dev": {
"psr-4": {
"Acme\\Tests\\": "tests/"
}
}
}

#php

Quick insane remote-autoloader "Doorkick"

Quick insane remote-autoloader "Doorkick". GitHub Gist: instantly share code, notes, and snippets.

Gist

Finally configured my server to correctly accommodate the functionality of my "PHP Static content management" system thing from wayback machine.

https://centrewebdesign.com/anniedebrowsa/public/index.php

So this is what it's been. The whole idea is to use the i-frame part to generate paths on your "localhost" or dev server. That's the meat and potatoes of why anyone would want to use it.

I mess w/ python stuff mostly now, so this is just an old project i wanted to "complete", also for understanding #PHP #PSR4 #Autoload

Alt Lead paragraph:
For those of you who think i'm nuts (which is most of you, i realize that), here's proof that I'm at least not a liar!

i believe the two of you provided useful commentary @AceArsenault no more "Access Denied"

@aspensmonster
Cheers!

/home/admin/web/centrewebdesign.com/public_html/anniedebrowsa

Conventions:
What would a #Zettelkasten #ZettelkastenBoxes theorist suggest?
Maybe not the correct theory to apply...

What if I read from Right to Left ( #RTL ), like many of your acquaintances at least have considered.

Perhaps is more efficient in this circumstance to use an #RTL approach to an #LTR problem?
#PSR #autoload #PSR4

@zombiewarrior

executed "composer dump-autoload", so the #PSR4 auotoload magic should be in place now

see: https://www.php-fig.org/psr/psr-4/
"PHP Coding Standards"

PSR = Standard Rec (like W3c? )
Believe it or not i do know a thing or two
:D

https://wordpresscenter.net/semantic-markup-and-html/#context-related-list

#WordPress @photomatt doesn't subscribe to #PSR standards ⁂ why use it?

PSR-4: Autoloader - PHP-FIG

We're a group of established PHP projects whose goal is to talk about commonalities between our projects and find ways we can work better together.

Believe it or not, ths is actually an improvement!

https://giterator.statecollegeguitarlessons.com/

Note, i simply made the subdomain which reminded me how to do it on this type of system. maybe? @zombiewarrior
realizing, it has been-- literally-- painful to do intense research stuff.

Note: there is no ./public/ in the URL now. This helps with confidence in configuring the "Composer.json" stuff, so the #PHP #PSR4 #Autoloader will function as desired after #composer #dumpautoload (which i've yet to exectute! [ 10:42 EST ]

at least now, i can fix it, and know it will "work" on any system. basically. PHP 7+ at least. LOL

:(

#HEADLESSCMS #headless #LOL

NONE

In all honesty though, #Mastofriends
I'd better gets me a #JobbyJob !!

So, yeah. want to put that old #php #refactored #PSR4 thing as a "showcase" #CV type item for this round of Indeed BS.

yea. you know the routine.

my project: it's cr@p still.
:(

bha hum bug!
@zombiewarrior

hmph. well? that's unexpected!

#namespace #php #psr4 #autoload

This is where I am w/ the github repo @zombiewarrior

It's really close to being "right", so to speak.

compare that to e.g.
http://statecollegeguitarlessons.com/adb/index.php

Note: my server is #LiteSpeed and i don'[t mess w/ it. But, that should not have the /public/ in the URL. If you've ever worked w/ #laravel it's like the ./index.php of the proj dir there. where there's ./index.php "reditrecting" to ./public/index.php
but you need to mod the #NGINX server {} location {} stuff for the... mod_rewrite type stuff.
i.e. the URL should be .com/giterator/ , accomplished in nginx w/ "@alias"
(sans the ./public part). you see the same thing either way. pet peeves.

EDIT: ALSO! CORRECTION -do NOT see the same! ARGGH! w/out that #mod_rewrite bit #htaccess whatever!~ the #CSS #asset paths mess up as well. Prob explains the missing SVG (masthead.php) forgot about that. oh well. hey. gimme a damn break! brain damage!
SEE "new" version here, ( i can fix that path thing. i forget the quick path top of my head momentarily. i prefer to be correct instead, anyway!)
this is NOT correct! http://statecollegeguitarlessons.com/giterator/public/index.php

first time w/ the #namespace #php8 #composer #autoloader #PSR4 #MVC #refactoring.

i must admit, it was more challenging that i expected.

but yea. feel free to hop in there at any time, and help me polish that old turd already!
Sheesh!

statecollegeguitarlessons.com/adb/index.php