2017 © Pedro Peláez
 

package seed-php

The stupidly easy to learn and use PHP microframework. ;)

image

abtzco/seed-php

The stupidly easy to learn and use PHP microframework. ;)

  • Thursday, July 19, 2018
  • by rogeriotaques
  • Repository
  • 2 Watchers
  • 3 Stars
  • 68 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 35 Versions
  • 26 % Grown

The README.md

Seed-PHP Microframework

GitHub tag (latest by date), (*1)

The stupidly easy to learn and use PHP microframework!, (*2)

A microframework is a term used to refer to minimalistic web application frameworks. It lacks most of the functionality which is common to expect in a full-fledged web application framework., (*3)

Seed-PHP is a microframework that offers you a really simple way to implement powerfull RESTfull APIs or even simple websites that could support pretty much all needed methods and responses in JSON or XML formats., (*4)

Check the complete documentation., (*5)

NOTE OF BREAKING CHANGES: The namespace was modified, so if you're updating from previous versions (prior to 1.0.0), you'll be required to update your code, replacing namespace from Seed\ to SeedPHP\. E.g:, (*6)

# Deprecated
use Seed\App;
use Seed\Helper\Http;

# Correct
use SeedPHP\App;
use SeedPHP\Helper\Http;

$app = new App( ... );

Get started

Using composer it's really simple get started!, (*7)

If you have a project on going with composer, use:, (*8)

$ php composer require rogeriotaques/seed-php

or, to start a project from scratch, use:, (*9)

$ php composer create-project rogeriotaques/seed-php

Your application should have a index.php which may looks like the following example. Or simply create a new index.php file as follows:, (*10)

Example: (index.php), (*11)

<?php

// include composer autoloader
include __DIR__ . '/vendor/autoload.php';

// initilise the Seed-PHP App class
$app = \SeedPHP\App::getInstance();

// Define a initial route
$app->route('GET /', function () {
  echo 'Hello Word!';
});

// Let's rock ...
$app->run();

If you have forked or cloned the repository from Github, then instead of include the 'autoload.php' from composer, include the package loader:, (*12)

// include composer autoloader
// include __DIR__ . '/vendor/autoload.php';

// include package loader
include __DIR__ . '/seed-php/loader.php';

Now, as a final step, we must create the .htaccess file (in the same folder of the index.php) which will contain the necessary settings for Apache properly use the mod_rewrite and route all the traffic thru our index.php., (*13)

Example:, (*14)


# SeedPHP # © 2018, Abtz Labs. By Rogerio Taques. # @see http://github.com/rogeriotaques/seed-php <FilesMatch "^(\.|\_)"> # Deny access to filenames starting # with dot(.) or underline(_) Order allow,deny Deny from all </FilesMatch> <FilesMatch ".(yml|yaml|log|sh)$"> # Deny access to filenames with # especific extensions Order allow,deny Deny from all </FilesMatch> <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php [QSA,L] </IfModule>

Done! Now, do access your project on any browser. ;), (*15)

Get involved

This is an open-source project, which means you can also freely contribute to improve it and make it better. To do your contributions, fork this repository, do your changes or improvements and create a pull request., (*16)

Get support

Found an issue or would like to suggest something? Just go to this page and open a ticket. Learn more about us., (*17)

Be a sponsor

Sponsoring this project will help and motivate me to keep improving it and making it even better for you (and the whole open-source community) who is using this package., (*18)

The Versions

19/07 2018

dev-master

9999999-dev https://github.com/AbtzCo/seed-php

The stupidly easy to learn and use PHP microframework. ;)

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

api framework php microframework

19/07 2018

0.7.8

0.7.8.0 https://github.com/AbtzCo/seed-php

The stupidly easy to learn and use PHP microframework. ;)

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

api framework php microframework

19/07 2018

0.7.7

0.7.7.0 https://github.com/AbtzCo/seed-php

The stupidly easy to learn and use PHP microframework. ;)

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

api framework php microframework

11/06 2018

0.7.6

0.7.6.0 https://github.com/AbtzCo/seed-php

The stupidly easy to learn and use PHP microframework. ;)

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

api framework php microframework

31/05 2018

0.7.5

0.7.5.0 https://github.com/AbtzCo/seed-php

The stupidly easy to learn and use PHP microframework. ;)

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

api framework php microframework

31/05 2018

0.7.4

0.7.4.0 https://github.com/AbtzCo/seed-php

The stupidly easy to learn and use PHP microframework. ;)

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

api framework php microframework

05/04 2018

0.7.3

0.7.3.0 https://github.com/AbtzCo/seed-php

The stupidly easy to learn and use PHP microframework. ;)

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

api framework php microframework

07/03 2018

0.7.1

0.7.1.0 https://github.com/AbtzCo/seed-php

The stupidly easy to learn and use PHP microframework. ;)

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

api framework php microframework

19/02 2018

0.6.0

0.6.0.0 https://github.com/AbtzCo/seed-php

The stupidly easy to learn and use PHP microframework. ;)

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

api framework php microframework

19/02 2018

0.5.3

0.5.3.0 https://github.com/AbtzCo/seed-php

The stupidly easy to learn and use PHP microframework. ;)

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

api framework php microframework

28/12 2017

0.5.2

0.5.2.0 https://github.com/AbtzCo/seed-php

The stupidly easy to learn and use PHP microframework. ;)

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

api framework php microframework

24/03 2017

0.5.1

0.5.1.0 https://github.com/AbtzCo/seed-php

The stupidly easy to learn and use PHP microframework. ;)

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

api framework php microframework

22/03 2017

0.5.0

0.5.0.0 https://github.com/AbtzCo/seed-php

The stupidly easy to learn and use PHP microframework. ;)

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

api framework php microframework

10/03 2017

0.4.0

0.4.0.0 https://github.com/AbtzCo/seed-php

The stupidly easy to learn and use PHP microframework. ;)

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

api framework php microframework

20/02 2017

0.3.8

0.3.8.0 https://github.com/AbtzCo/seed-php

The stupidly easy to learn and use PHP microframework. ;)

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

api framework php microframework

15/02 2017

0.3.7

0.3.7.0 https://github.com/AbtzCo/seed-php

The stupidly easy to learn and use PHP microframework. ;)

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

api framework php microframework

15/02 2017

0.3.6

0.3.6.0 https://github.com/AbtzCo/seed-php

The stupidly easy to learn and use PHP microframework. ;)

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

api framework php microframework

15/02 2017

0.3.5

0.3.5.0 https://github.com/AbtzCo/seed-php

The stupidly easy to learn and use PHP microframework. ;)

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

api framework php microframework

07/02 2017

0.3.4

0.3.4.0 https://github.com/AbtzCo/seed-php

The stupidly easy to learn and use PHP microframework. ;)

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

api framework php microframework

02/02 2017

0.3.3

0.3.3.0 https://github.com/AbtzCo/seed-php

The stupidly easy to learn and use PHP microframework. ;)

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

api framework php microframework

25/01 2017

0.3.2

0.3.2.0 https://github.com/AbtzCo/seed-php

The stupidly easy to learn and use PHP microframework. ;)

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

api framework php microframework

24/01 2017

0.3.1

0.3.1.0 https://github.com/AbtzCo/seed-php

The stupidly easy to learn and use PHP microframework. ;)

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

api framework php microframework

24/01 2017

0.3.0

0.3.0.0 https://github.com/AbtzCo/seed-php

The stupidly easy to learn and use PHP microframework. ;)

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

api framework php microframework

21/12 2016

0.2.4

0.2.4.0 https://github.com/AbtzCo/seed-php

The stupidly easy to learn and use PHP microframework. ;)

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

api framework php microframework

12/12 2016

0.2.3

0.2.3.0 https://github.com/AbtzCo/seed-php

The stupidly easy to learn and use PHP microframework. ;)

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

api framework php microframework

12/12 2016

0.2.2

0.2.2.0 https://github.com/AbtzCo/seed-php

The stupidly easy to learn and use PHP microframework. ;)

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

api framework php microframework

09/12 2016

0.2.1

0.2.1.0 https://github.com/AbtzCo/seed-php

The stupidly easy to learn and use PHP microframework. ;)

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

api framework php microframework

09/12 2016

0.2.0

0.2.0.0 https://github.com/AbtzCo/seed-php

The stupidly easy to learn and use PHP microframework. ;)

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

api framework php microframework

09/12 2016

0.1.6

0.1.6.0 https://github.com/AbtzCo/seed-php

The stupidly easy to learn and use PHP microframework. ;)

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

api framework php microframework

08/12 2016

0.1.5

0.1.5.0 https://github.com/AbtzCo/seed-php

The stupidly easy to learn and use PHP microframework. ;)

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

api framework php microframework

08/12 2016

0.1.4

0.1.4.0 https://github.com/AbtzCo/seed-php

The stupidly easy to learn and use PHP microframework. ;)

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

api framework php microframework

07/12 2016

0.1.3

0.1.3.0 https://github.com/AbtzCo/seed-php

The stupidly easy to learn and use PHP microframework. ;)

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

api framework php microframework

07/12 2016

0.1.2

0.1.2.0 https://github.com/AbtzCo/seed-php

The stupidly easy to learn and use PHP microframework. ;)

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

api framework php microframework

07/12 2016

0.1.1

0.1.1.0 https://github.com/AbtzCo/seed-php

The stupidly easy to learn and use PHP microframework. ;)

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

api framework php microframework

07/12 2016

0.1.0

0.1.0.0 https://github.com/AbtzCo/seed-php

The stupidly easy to learn and use PHP microframework. ;)

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

api framework php microframework