Skip to content
This repository has been archived by the owner on Aug 1, 2021. It is now read-only.

Commit

Permalink
Updated instructions and updated copyright year
Browse files Browse the repository at this point in the history
  • Loading branch information
o-alquimista committed Mar 17, 2020
1 parent 015d904 commit 142019e
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 19 deletions.
14 changes: 4 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,12 @@ Fragments aims to be a small framework for web applications. Keep in mind that t
- PHP XML extension. This package is called `php-xml` on Ubuntu.

## Getting started
Create a blank project:
1. Create a blank project:
`composer create-project crimsonking/fragments-skeleton <your-project-name>`

Configure your web server so that its root directory is `<your-project-name>/public`. As for the directory settings, here's how you should configure it on Apache:
```
AllowOverride None
Require all granted
Allow from All
FallbackResource /index.php
```
2. Configure your web server so that its root directory is `<your-project-name>/public`.

Create `/config/database.ini` with the following lines to configure database connection details:
3. Create `/config/database.ini` with the following lines to configure database connection details:
```
pdo_driver = mysql
database_name = fragments
Expand All @@ -28,7 +22,7 @@ username = root
password = root
```

Add routes in the file `/config/routes.xml` and start building your first controller at `/src/Controller/`. You can also try our [Fragments Demo](https://github.com/o-alquimista/fragments-demo) application to get an idea of how things work.
4. Add routes in the file `/config/routes.xml` and start building your first controller at `/src/Controller/`. You can also try our [Fragments Demo](https://github.com/o-alquimista/fragments-demo) application to get an idea of how things work.

## License
Copyright 2019-2020 Douglas Silva (0x9fd287d56ec107ac)
Expand Down
2 changes: 1 addition & 1 deletion src/Fragments/Component/Routing/RequestContext.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/**
* Copyright 2019 Douglas Silva (0x9fd287d56ec107ac)
* Copyright 2019-2020 Douglas Silva (0x9fd287d56ec107ac)
*
* This file is part of Fragments.
*
Expand Down
2 changes: 1 addition & 1 deletion src/Fragments/Component/Routing/RequestMatcher.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/**
* Copyright 2019 Douglas Silva (0x9fd287d56ec107ac)
* Copyright 2019-2020 Douglas Silva (0x9fd287d56ec107ac)
*
* This file is part of Fragments.
*
Expand Down
2 changes: 1 addition & 1 deletion src/Fragments/Component/Routing/Route.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/**
* Copyright 2019 Douglas Silva (0x9fd287d56ec107ac)
* Copyright 2019-2020 Douglas Silva (0x9fd287d56ec107ac)
*
* This file is part of Fragments.
*
Expand Down
2 changes: 1 addition & 1 deletion src/Fragments/Component/Routing/Router.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/**
* Copyright 2019 Douglas Silva (0x9fd287d56ec107ac)
* Copyright 2019-2020 Douglas Silva (0x9fd287d56ec107ac)
*
* This file is part of Fragments.
*
Expand Down
2 changes: 1 addition & 1 deletion src/Fragments/Component/Routing/XMLParser.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/**
* Copyright 2019 Douglas Silva (0x9fd287d56ec107ac)
* Copyright 2019-2020 Douglas Silva (0x9fd287d56ec107ac)
*
* This file is part of Fragments.
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/**
* Copyright 2019 Douglas Silva (0x9fd287d56ec107ac)
* Copyright 2019-2020 Douglas Silva (0x9fd287d56ec107ac)
*
* This file is part of Fragments.
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/**
* Copyright 2019 Douglas Silva (0x9fd287d56ec107ac)
* Copyright 2019-2020 Douglas Silva (0x9fd287d56ec107ac)
*
* This file is part of Fragments.
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/**
* Copyright 2019 Douglas Silva (0x9fd287d56ec107ac)
* Copyright 2019-2020 Douglas Silva (0x9fd287d56ec107ac)
*
* This file is part of Fragments.
*
Expand Down
2 changes: 1 addition & 1 deletion src/Fragments/Component/SessionManagement/Session.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/**
* Copyright 2019 Douglas Silva (0x9fd287d56ec107ac)
* Copyright 2019-2020 Douglas Silva (0x9fd287d56ec107ac)
*
* This file is part of Fragments.
*
Expand Down

0 comments on commit 142019e

Please sign in to comment.