Laravel applications to learn from
Couple days ago I posted about Laravel – a PHP framework that allows developers to quickly build applications.
Today I will post links to a few source code repositories that you could learn from if you are developing in Laravel.
Here are a few applications made in Laravel :
Bootsnipp.com – A user driven HTML snippet repository for Bootstrap.
http://bootsnipp.com
Simple Blog in Laravel
https://github.com/msurguy/blog
Tiny Issue
HelpDesk sort of thing :
https://github.com/mikelbring/tinyissue
PongoCMS
A new CMS based on Laravel :
http://www.pongocms.com
Larevel Bootstrap – CMS with image uploads, article management and user roles
https://github.com/davzie/Laravel-Bootstrap
Layla – CMS
http://getlayla.com/
Kudos
Markdown based blogging
https://github.com/ianlandsman/Kudos
Rebel CMS
Simple CMS built on Laravel 2.0, uses Twitter Bootstrap and allows users to upload media.
https://github.com/rebelnz/rebelcms
ShopHub
ShopHub aims to become the one stop shop for creating a webshop. Uses Twitter Bootstrap, Authority user access control, lots of bundles and custom code
https://github.com/Vespakoen/ShopHub
Laravel Bundles
https://github.com/UserScape/Laravel-Bundles
Helpful bits of code:
Paypal integration in Laravel
http://forums.laravel.com/viewtopic.php?id=788
Idea of how to organize your files:
http://forums.laravel.com/viewtopic.php?id=728
CMS – PongoCMS http://www.pongocms.com
Thanks Marcif! Added!
Where is the “posts” table name defined for usage?
in routes, the default route has:
$posts = Post::with(‘user’)->order_by(‘updated_at’, ‘desc’)->paginate(5);
in the model for Post we see:
class Post extends Eloquent {
public function user()
{
return $this->belongs_to(‘User’,’post_author’);
}
}
in the model for User we see:
class User extends Eloquent {
public function posts()
{
return $this->has_many(‘Post’);
}
}
where is the tables name for the tables defined?
I am so confused.
your tables are named “posts” and “users” but the models and code reference “post” and “user”.
If you had to change the name of the table from “posts” to “inc_data”, using your example code, how would we do this?
If your read the documentation you will see that defining table names is optional. Laravel makes a smart assumption that your table name is plural of the model name , refer to http://laravel.com/docs/database/eloquent#conventions :
Eloquent makes a few basic assumptions about your database structure:
Does this make it somewhat clearer? =)
perfect thank you
it was confusing
=)
Hi guys, I recently discovered Next Generation, Responsive, Free & Opensource, Laravel based Doptor CMS. Amazing Features are included, MVC Structure, Form builder, Module builder and many more. It’s called Doptor CMS.
Faveo HELPDESK build using Laravel framework http://www.faveohelpdesk.com or https://github.com/ladybirdweb/faveo-helpdesk