Keine Beschreibung

herton 51e04f2879 Update 'readme.md' vor 4 Jahren
Controllers 2243235223 Fixing minor issues vor 4 Jahren
tests 4fed480dc2 Basic structure, missing final steps to handle request vor 4 Jahren
.gitignore d749025e73 Basic setup of the example of usage for the new package vor 4 Jahren
Application.php 32cffea3aa Fixed methods and got to a basic working version vor 4 Jahren
Helpers.php 4fed480dc2 Basic structure, missing final steps to handle request vor 4 Jahren
Resource.php 9acb58ba16 Adding methods to the other controllers to test and some clean up vor 4 Jahren
Route.php 2243235223 Fixing minor issues vor 4 Jahren
composer.json 2166c22e49 Cleaning up unused files and comments vor 4 Jahren
handle.php 32cffea3aa Fixed methods and got to a basic working version vor 4 Jahren
index.php 4fed480dc2 Basic structure, missing final steps to handle request vor 4 Jahren
readme.md 51e04f2879 Update 'readme.md' vor 4 Jahren
routes.php 32cffea3aa Fixed methods and got to a basic working version vor 4 Jahren
serve.sh d749025e73 Basic setup of the example of usage for the new package vor 4 Jahren

readme.md

Exmple Routes

Route::resource('posts');
Route::resource('users.posts');
Route::resource('categories.posts');

Exmple Controllers available

PostsController.php
UsersPostsController.php
CategoriesPostsController.php

To run the example:

  1. Pull the repository locally https://git.hersidea.com/herton/php-resource
  2. Run composer install
  3. Run the server script ./serve.sh