This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php namespace Acme; | |
| /** | |
| * Class FooBar | |
| * | |
| * @link http://anomaly.is/foo-bar | |
| * @author AnomalyLabs, Inc. <hello@anomaly.is> | |
| * @author Ryan Thompson <ryan@anomaly.is> | |
| * @package Acme | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| src/ | |
| Foo/FooModel | |
| Foo/FooCollection // Transformed collection for FooModel | |
| Foo/FooPresenter // Transformed presenter for FooModel | |
| Foo/FooObserver // Observers can not be transformed | |
| Foo/Table/FooTableBuilder // Assumes Foo/FooModel for $model property | |
| Foo/Table/FooTableColumns // Handler for FooTableBuilder->columns | |
| Foo/Form/FooFormBuilder // Assumes Foo/FooModel for $model property | |
| Foo/Form/FooFormSections // Handler for FooFormBuilder->sections |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php namespace Acme; | |
| use Anomaly\Streams\Platform\Entry\EntryModel; | |
| class FooModel extends EntryModel | |
| { | |
| /** | |
| * Return a new model collection. | |
| * |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php namespace Acme\Foo\Form; | |
| use Anomaly\Streams\Platform\Ui\Form\FormBuilder; | |
| class FooFormBuilder extends FormBuilder | |
| { | |
| /** | |
| * Define your property normally. | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php namespace Acme\Foo\Form; | |
| class FooFormFields | |
| { | |
| /** | |
| * Handle the form fields. | |
| */ | |
| public function handle(FooFormBuilder $builder) | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php namespace Acme\Foo\Table; | |
| use Anomaly\Streams\PlatTable\Ui\Table\TableBuilder; | |
| class FooTableBuilder extends TableBuilder | |
| { | |
| /** | |
| * The table buttons. | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| composer create-project pyrocms/pyrocms {directory} 3.0 --prefer-dist |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Options +FollowSymLinks | |
| RewriteEngine On | |
| RewriteCond %{REQUEST_FILENAME} !-d | |
| RewriteCond %{REQUEST_FILENAME} !-f | |
| RewriteRule ^ index.php [L] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| location / { | |
| try_files $uri $uri/ /index.php?$query_string; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Getting Started: | |
| - Installation | |
| - Configuration | |
| - Artisan Commands | |
OlderNewer