I wrote that pkg I am thinking what to do with it: kill it or document it
Oooh my bad. Will take a look :)
$content = preg_replace('/<div class="dd_post_share">.*/i', '', $content); $content is a php string with html. I want to remove everything after <div class="dd_post_share">. is the syntax I wrote correct?
Distraught: consider using DOM instead of regex to handle html
Doesn't LV use this? https://github.com/illuminate/http I cant find the docs for it. DDG gives me awful results. " The Laravel Illuminate\Http\Request extends the Symfony\Component\HttpFoundation\Request class" so it does.
fu*k laravel (oh, the auto-kick bot has been removed some time in past 5 years)
teresko: Are you looking for examples to implement your own or to use in your own package?
I am looking for example how to dopcument a package well *document
Explain what the package does. Explain how to use it. What requirements it needs. How it solves the problem you're attempting to solve. Be clear. Consise.
How do I get the current app instance in Slim 3? In Slim 2 you just do \Slim\Slim::getInstance(), but that does not work in S3
z4c: can ask in #slimphp or check their docs
Can I please get some help? Why doesn't this work?