start new:
tmux
start new with session name:
tmux new -s myname
Create a folder /packages in our root, and we will put our package there. Every package has a name, which consists of two parts; vendor or creator/package name.
Example Laravel itself has a full name of laravel/laravel. Let’s call our package sapioweb/larets
Now we create a folder inside our /packages:
/package
To begin, copy the below command. Make sure to replace curly bracket values with your proper project names.
$ composer create-project laravel/laravel --prefer-dist {projectName}
&& cd {projectName}
&& sudo chown -R andreas:www-data .
&& composer require sapioweb/crudhelper
&& composer require spatie/laravel-tail
In your event function of EventsController add \Request $request as the last parameter. This way you can grab all data for that given session.
Example URL: HTTP://siteurl.com/event/cameo?code={yourCode}
public event(\Request $request) {
// Grab code
if (isset($request->code)) {
Working on a project for a client, we have decided instead of using the traditional IDX and restricting us into a box, go with RETS.
To read more on the differences between IDX and RETS feel free to view it here
Now on to the code!!
Assuming you have laravel installed already, we need one other dependancy added.
https://github.com/troydavisson/PHRETS
Simple php page where after submitting an rss feed from news.google.com it will grab the contents of the RSS and gernerate a PDF output with one article from the XML per page.
Functionality is specifically made to parse news.google.com rss, but other rss feeds may be input as well. Other inputs will only display the description and no other data without further edits.
Input rss/xml feed you would like to have parsed submit it. You will see a notice to view your pdf submission. Click to view. An example url that you can use is http://news.google.com/news?pz=1&cf=all&ned=us&hl=en&output=rss
.
Run a live demo: http://sapioweb.com/rss2pdf
I have finally found a reason to use my geocode software in a real world project. It's working as expected, but I think it could be even more usefule and powerful. Looking for any advice, tips, or features to add on.